Uses of Interface
javax.time.calendar.DateTimeProvider
-
Packages that use DateTimeProvider Package Description javax.time.calendar Provides classes to manage the human time scale including date, time, date-time and time-zone representations. -
-
Uses of DateTimeProvider in javax.time.calendar
Classes in javax.time.calendar that implement DateTimeProvider Modifier and Type Class Description classLocalDateTimeA date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30.classOffsetDateTimeA date-time with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00.classZonedDateTimeA date-time with a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00 Europe/Paris.Methods in javax.time.calendar with parameters of type DateTimeProvider Modifier and Type Method Description static LocalDateTimeLocalDateTime. of(DateTimeProvider dateTimeProvider)Obtains an instance ofLocalTimefrom a date-time provider.static OffsetDateTimeOffsetDateTime. of(DateTimeProvider dateTimeProvider, ZoneOffset offset)Obtains an instance ofOffsetDateTimefrom a date-time provider.static ZonedDateTimeZonedDateTime. of(DateTimeProvider dateTimeProvider, TimeZone zone)Obtains an instance ofZonedDateTimefrom a local date-time where the date-time must be valid for the time-zone.static ZonedDateTimeZonedDateTime. of(DateTimeProvider dateTimeProvider, TimeZone zone, ZoneResolver resolver)Obtains an instance ofZonedDateTimefrom a local date-time providing a resolver to handle an invalid date-time.OffsetDateTimeOffsetDateTime. withDateTime(DateTimeProvider dateTimeProvider)Returns a copy of thisOffsetDateTimewith the time altered and the offset retained.ZonedDateTimeZonedDateTime. withDateTime(DateTimeProvider dateTimeProvider)Returns a copy of this ZonedDateTime with a different local date-time.
-