public class JodaTimeConverterFactory extends Object implements ConverterFactory
ConverterFactory for holding the Converter classes for Joda-Time support.
Supported Converter types are:
DateTimeFormatter through DateTimeFormatterConverterDateTimeZone through DateTimeZoneConverterDuration through DurationConverterInterval through IntervalConverterPeriod through PeriodConverterSeconds through SecondsConverterMinutes through MinutesConverterHours through HoursConverterDays through DaysConverterWeeks through WeeksConverterMonths through MonthsConverterYears through YearsConverter| Constructor and Description |
|---|
JodaTimeConverterFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> Class<? extends Converter<T>> |
getConverter(Class<T> classType)
Finds and returns a
Converter for the provided classType. |
public <T> Class<? extends Converter<T>> getConverter(Class<T> classType)
Converter for the provided classType.getConverter in interface ConverterFactoryT - Type of the Converter to getclassType - The class type for which to find and return a ConverterConverter for the requested class typeCopyright © 2022. All rights reserved.