org.wicketopia.joda.converter
Class DateTimeFormatSupportConverter<T>

java.lang.Object
  extended by org.wicketopia.joda.converter.DateTimeFormatSupportConverter<T>
All Implemented Interfaces:
Serializable, org.apache.wicket.util.convert.IConverter<T>, org.apache.wicket.util.io.IClusterable

public class DateTimeFormatSupportConverter<T>
extends Object
implements org.apache.wicket.util.convert.IConverter<T>

Since:
1.0
See Also:
Serialized Form

Constructor Summary
DateTimeFormatSupportConverter(JodaFormatSupport<T> formatSupport)
           
 
Method Summary
 T convertToObject(String value, Locale locale)
           
 String convertToString(T value, Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeFormatSupportConverter

public DateTimeFormatSupportConverter(JodaFormatSupport<T> formatSupport)
Method Detail

convertToObject

public T convertToObject(String value,
                         Locale locale)
Specified by:
convertToObject in interface org.apache.wicket.util.convert.IConverter<T>

convertToString

public String convertToString(T value,
                              Locale locale)
Specified by:
convertToString in interface org.apache.wicket.util.convert.IConverter<T>


Copyright © 2010-2013. All Rights Reserved.