Uses of Interface
javax.time.calendar.TimeProvider
Packages that use TimeProvider
Package
Description
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
-
Uses of TimeProvider in javax.time.calendar
Subinterfaces of TimeProvider in javax.time.calendarModifier and TypeInterfaceDescriptioninterface
Provides access to a date-time in the ISO-8601 calendar system.Classes in javax.time.calendar that implement TimeProviderModifier 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 time without time-zone in the ISO-8601 calendar system, such as10: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 time with a zone offset from UTC in the ISO-8601 calendar system, such as10: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 TimeProviderModifier and TypeMethodDescriptionstatic LocalDateTime
LocalDateTime.of
(DateProvider dateProvider, TimeProvider timeProvider) Obtains an instance ofLocalDateTime
from a date and time.static LocalTime
LocalTime.of
(TimeProvider timeProvider) Obtains an instance ofLocalTime
from a time provider.static OffsetDateTime
OffsetDateTime.of
(DateProvider dateProvider, TimeProvider timeProvider, ZoneOffset offset) Obtains an instance ofOffsetDateTime
from a date, time and zone offset.static OffsetTime
OffsetTime.of
(TimeProvider timeProvider, ZoneOffset offset) Obtains an instance ofOffsetTime
from a time provider.static ZonedDateTime
ZonedDateTime.of
(DateProvider dateProvider, TimeProvider timeProvider, TimeZone zone) Obtains an instance ofZonedDateTime
from a local date and time where the date-time must be valid for the time-zone.static ZonedDateTime
ZonedDateTime.of
(DateProvider dateProvider, TimeProvider timeProvider, TimeZone zone, ZoneResolver resolver) Obtains an instance ofZonedDateTime
from a local date and time providing a resolver to handle an invalid date-time.OffsetTime.withTime
(TimeProvider timeProvider) Returns a copy of thisOffsetTime
with the time altered and the offset retained.