new DateValidator()
The DateValidator class provides for validation of date values.
Extends
Members
-
AllowFormatting :boolean
-
Determines whether or not the formatting of the source should be utilized.
Type:
- boolean
- Overrides:
- Default Value:
-
- {false}
- Source:
-
Multiline :boolean
-
Determines whether or not the validator works on multiple lines.
Type:
- boolean
- Overrides:
- Default Value:
-
- {false}
- Source:
Methods
-
Force(value)
-
Forces validation of value and returns valid value.
Parameters:
Name Type Description value
string The value to force validation from.
- Overrides:
- Source:
Returns:
- Type
- string
-
Validate(value)
-
Determines whether or not a value is valid.
Parameters:
Name Type Description value
string The value to determine the validation state of.
- Overrides:
- Source:
Returns:
- Type
- boolean