com.google.gwt.user.datepicker.client.DateBox.Format |
Known Indirect Subclasses |
Implemented by a delegate to handle the parsing and formating of date
values. The default DateBox.DefaultFormat
uses a new DateBox.DefaultFormat
instance.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Formats the provided date.
| |||||||||||
Parses the provided string as a date.
| |||||||||||
If the format did any modifications to the date box's styling, reset them
now.
|
Formats the provided date. Note, a null date is a possible input.
dateBox | the date box you are formatting |
---|---|
date | the date to format |
Parses the provided string as a date.
dateBox | the date box |
---|---|
text | the string representing a date |
reportError | should the formatter indicate a parse error to the user? |
If the format did any modifications to the date box's styling, reset them now.
dateBox | the date box |
---|---|
abandon | true when the current format is being replaced by another |