Module org.apache.wicket.util
Class CalendarConverter
java.lang.Object
org.apache.wicket.util.convert.converter.CalendarConverter
- All Implemented Interfaces:
Serializable,IConverter<Calendar>,IClusterable
Converts to
Calendar.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToObject(String value, Locale locale) Converts the givenStringvalueconvertToString(Calendar value, Locale locale) Converts the given value to a string.
-
Constructor Details
-
CalendarConverter
public CalendarConverter()Construct. -
CalendarConverter
Construct.- Parameters:
dateConverter- delegated converter, not null
-
-
Method Details
-
convertToObject
Description copied from interface:IConverterConverts the givenStringvalue- Specified by:
convertToObjectin interfaceIConverter<Calendar>- Parameters:
value- The string value to convertlocale- The locale used to convert the value- Returns:
- The converted value
-
convertToString
Description copied from interface:IConverterConverts the given value to a string.- Specified by:
convertToStringin interfaceIConverter<Calendar>- Parameters:
value- The value to convertlocale- The locale used to convert the value- Returns:
- The converted string value
-