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 givenString
valueconvertToString
(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:IConverter
Converts the givenString
value- Specified by:
convertToObject
in 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:IConverter
Converts the given value to a string.- Specified by:
convertToString
in interfaceIConverter<Calendar>
- Parameters:
value
- The value to convertlocale
- The locale used to convert the value- Returns:
- The converted string value
-