Package org.joda.time.convert
Implementation package providing conversion between date and time objects.
Provides support for converting objects into instants and durations. Converters are used internally by many of the standard classes, like DateTime. Most applications have no need to use these classes directly.
-
Interface Summary Interface Description Converter Basic converter interface for specifying what object type can be converted.DurationConverter DurationConverter defines how an object is converted to a millisecond duration.InstantConverter InstantConverter defines how an object is converted to milliseconds/chronology.IntervalConverter IntervalConverter defines how an object is converted to an interval.PartialConverter PartialConverter defines how an object is converted to a ReadablePartial.PeriodConverter PeriodConverter defines how an object is converted to a time period. -
Class Summary Class Description AbstractConverter AbstractConverter simplifies the process of implementing a converter.CalendarConverter CalendarConverter converts a java util Calendar to an instant or partial.ConverterManager ConverterManager controls the date and time converters.ConverterSet A set of converters, which allows exact converters to be quickly selected.ConverterSet.Entry DateConverter DateConverter converts a java util Date to an instant or partial.LongConverter LongConverter converts a Long to an instant, partial or duration.NullConverter NullConverter converts null to an instant, partial, duration, period or interval.ReadableDurationConverter ReadableDurationConverter extracts milliseconds and chronology from a ReadableDuration.ReadableInstantConverter ReadableInstantConverter extracts milliseconds and chronology from a ReadableInstant.ReadableIntervalConverter Converts intervals into durations of any requested period type.ReadablePartialConverter ReadablePartialConverter extracts partial fields and chronology from a ReadablePartial.ReadablePeriodConverter ReadablePeriodConverter extracts milliseconds and chronology from a ReadablePeriod.StringConverter StringConverter converts from a String to an instant, partial, duration, period or interval..