org.wicketopia.joda.util.format
Class JodaFormatSupport<T>
java.lang.Object
org.wicketopia.joda.util.format.JodaFormatSupport<T>
- All Implemented Interfaces:
- Serializable, org.apache.wicket.util.io.IClusterable
public class JodaFormatSupport<T>
- extends Object
- implements org.apache.wicket.util.io.IClusterable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PIVOT_YEAR
public static final int DEFAULT_PIVOT_YEAR
- See Also:
- Constant Field Values
JodaFormatSupport
public JodaFormatSupport(DateTimeTranslator<T> translator,
String defaultStyle)
JodaFormatSupport
public JodaFormatSupport(DateTimeTranslator<T> translator,
FormatProvider formatProvider)
JodaFormatSupport
public JodaFormatSupport(DateTimeTranslator<T> translator,
FormatProvider formatProvider,
boolean applyTimeZoneDifference,
int pivotYear)
getPivotYear
public int getPivotYear()
setPivotYear
public void setPivotYear(int pivotYear)
isApplyTimeZoneDifference
public boolean isApplyTimeZoneDifference()
setApplyTimeZoneDifference
public void setApplyTimeZoneDifference(boolean applyTimeZoneDifference)
convertToObject
public T convertToObject(String value,
Locale locale)
convertToString
public String convertToString(T object,
Locale locale)
withProvider
public JodaFormatSupport<T> withProvider(FormatProvider formatProvider)
Copyright © 2010-2013. All Rights Reserved.