final class JodaTimeConverters
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
JodaTimeConverters.CalendarToReadableInstantConverter
Used when printing a java.util.Calendar field with a ReadableInstantPrinter.
|
private static class |
JodaTimeConverters.DateTimeToCalendarConverter
Used when binding a parsed DateTime to a java.util.Calendar field.
|
private static class |
JodaTimeConverters.DateTimeToDateConverter
Used when binding a parsed DateTime to a java.util.Date field.
|
private static class |
JodaTimeConverters.DateTimeToDateMidnightConverter
Used when binding a parsed DateTime to a DateMidnight field.
|
private static class |
JodaTimeConverters.DateTimeToInstantConverter
Used when binding a parsed DateTime to an Instant field.
|
private static class |
JodaTimeConverters.DateTimeToLocalDateConverter
Used when binding a parsed DateTime to a LocalDate field.
|
private static class |
JodaTimeConverters.DateTimeToLocalDateTimeConverter
Used when binding a parsed DateTime to a LocalDateTime field.
|
private static class |
JodaTimeConverters.DateTimeToLocalTimeConverter
Used when binding a parsed DateTime to a LocalTime field.
|
private static class |
JodaTimeConverters.DateTimeToLongConverter
Used when binding a parsed DateTime to a java.lang.Long field.
|
private static class |
JodaTimeConverters.DateTimeToMutableDateTimeConverter
Used when binding a parsed DateTime to a MutableDateTime field.
|
private static class |
JodaTimeConverters.DateToReadableInstantConverter
Used when printing a java.util.Date field with a ReadableInstantPrinter.
|
Constructor and Description |
---|
JodaTimeConverters() |
Modifier and Type | Method and Description |
---|---|
static void |
registerConverters(ConverterRegistry registry)
Install the converters into the converter registry.
|
public static void registerConverters(ConverterRegistry registry)
registry
- the converter registry