Uses of Interface
javax.time.calendar.DateTimeProvider
Packages that use DateTimeProvider
Package
Description
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 DateTimeProviderModifier and TypeClassDescriptionfinal classA date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30.final classA date-time with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00.final classA 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 DateTimeProviderModifier and TypeMethodDescriptionstatic 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.OffsetDateTime.withDateTime(DateTimeProvider dateTimeProvider) Returns a copy of thisOffsetDateTimewith the time altered and the offset retained.ZonedDateTime.withDateTime(DateTimeProvider dateTimeProvider) Returns a copy of this ZonedDateTime with a different local date-time.