public class CalendarConverter extends Object implements org.apache.wicket.util.convert.IConverter
Constructor and Description |
---|
CalendarConverter(boolean applyTimeZoneDifference,
String pattern) |
Modifier and Type | Method and Description |
---|---|
Calendar |
convertToObject(String value,
Locale locale) |
String |
convertToString(Object value,
Locale locale) |
boolean |
getApplyTimeZoneDifference() |
protected TimeZone |
getClientTimeZone() |
org.apache.wicket.Component |
getComponent() |
String |
getDatePattern() |
protected org.joda.time.format.DateTimeFormatter |
getFormat() |
protected Locale |
getLocale() |
protected org.joda.time.DateTimeZone |
getTimeZone() |
void |
setComponent(org.apache.wicket.Component component) |
public CalendarConverter(boolean applyTimeZoneDifference, String pattern)
public Calendar convertToObject(String value, Locale locale)
convertToObject
in interface org.apache.wicket.util.convert.IConverter
public String convertToString(Object value, Locale locale)
convertToString
in interface org.apache.wicket.util.convert.IConverter
public final boolean getApplyTimeZoneDifference()
public final org.apache.wicket.Component getComponent()
public final String getDatePattern()
public final void setComponent(org.apache.wicket.Component component)
protected TimeZone getClientTimeZone()
protected org.joda.time.format.DateTimeFormatter getFormat()
protected Locale getLocale()
protected org.joda.time.DateTimeZone getTimeZone()