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 class
A date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30
.final class
A date-time with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00
.final class
A 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 LocalDateTime
LocalDateTime.of
(DateTimeProvider dateTimeProvider) Obtains an instance ofLocalTime
from a date-time provider.static OffsetDateTime
OffsetDateTime.of
(DateTimeProvider dateTimeProvider, ZoneOffset offset) Obtains an instance ofOffsetDateTime
from a date-time provider.static ZonedDateTime
ZonedDateTime.of
(DateTimeProvider dateTimeProvider, TimeZone zone) Obtains an instance ofZonedDateTime
from a local date-time where the date-time must be valid for the time-zone.static ZonedDateTime
ZonedDateTime.of
(DateTimeProvider dateTimeProvider, TimeZone zone, ZoneResolver resolver) Obtains an instance ofZonedDateTime
from a local date-time providing a resolver to handle an invalid date-time.OffsetDateTime.withDateTime
(DateTimeProvider dateTimeProvider) Returns a copy of thisOffsetDateTime
with the time altered and the offset retained.ZonedDateTime.withDateTime
(DateTimeProvider dateTimeProvider) Returns a copy of this ZonedDateTime with a different local date-time.