br.com.caelum.iogi.conversion
Class LocaleBasedCalendarConverter
java.lang.Object
br.com.caelum.iogi.conversion.TypeConverter<Calendar>
br.com.caelum.iogi.conversion.LocaleBasedCalendarConverter
- All Implemented Interfaces:
- Instantiator<Calendar>
public class LocaleBasedCalendarConverter
- extends TypeConverter<Calendar>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocaleBasedCalendarConverter
public LocaleBasedCalendarConverter(LocaleProvider localeProvider)
isAbleToInstantiate
public boolean isAbleToInstantiate(Target<?> target)
convert
protected Calendar convert(String stringValue,
Target<?> to)
throws ParseException
- Specified by:
convert in class TypeConverter<Calendar>
- Throws:
ParseException
Copyright © 2014. All Rights Reserved.