com.bea.web.validation
Class DateWord
java.lang.Object
|
+--com.bea.web.validation.Word
|
+--com.bea.web.validation.DateWord
- public class DateWord
- extends Word
- implements java.io.Serializable
Determines if a value is a valid date and is in the proper format. By default
(i.e. format is not directly specified), this class parses the value for
date using MM/dd/yyyy.
- Author:
- Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.
- See Also:
- Serialized Form
Methods inherited from class com.bea.web.validation.Word |
formatMessage,
formatMessage,
getKey,
getPattern,
getResource,
isRequired,
matchesPattern,
setKey,
setPattern,
setRequired,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
DEFAULT_LENIENT
public static final boolean DEFAULT_LENIENT
DEFAULT_FORMAT
public static final java.lang.String DEFAULT_FORMAT
DateWord
public DateWord()
validate
public IValidationResult validate(java.lang.String strValue,
java.util.ResourceBundle bundle)
- Overrides:
- validate in class Word
setFormat
public final void setFormat(java.lang.String strFormat)
getFormat
public final java.lang.String getFormat()
setLenient
public final void setLenient(boolean bIsLenient)
isLenient
public final boolean isLenient()
WebLogic Integration (WLI)