DateTimeConverter
Converts a DateTime from its calendar and time system into another, preserving the instant and the resolution. A validity model gates the conversion: sunset calendars and conversions across incommensurate time scales are rejected above the day level. Call canConvert to test, convert to perform.
canConvert(source, calendarType, timeType) · convert(source, calendarType, timeType)
Javadoc →