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 TypeInterfaceDescriptioninterfaceProvides access to a date-time in the ISO-8601 calendar system.Classes in javax.time.calendar that implement TimeProviderModifier and TypeClassDescriptionfinal classA date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30.final classA time without time-zone in the ISO-8601 calendar system, such as10: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 time with a zone offset from UTC in the ISO-8601 calendar system, such as10: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 TimeProviderModifier and TypeMethodDescriptionstatic LocalDateTimeLocalDateTime.of(DateProvider dateProvider, TimeProvider timeProvider) Obtains an instance ofLocalDateTimefrom a date and time.static LocalTimeLocalTime.of(TimeProvider timeProvider) Obtains an instance ofLocalTimefrom a time provider.static OffsetDateTimeOffsetDateTime.of(DateProvider dateProvider, TimeProvider timeProvider, ZoneOffset offset) Obtains an instance ofOffsetDateTimefrom a date, time and zone offset.static OffsetTimeOffsetTime.of(TimeProvider timeProvider, ZoneOffset offset) Obtains an instance ofOffsetTimefrom a time provider.static ZonedDateTimeZonedDateTime.of(DateProvider dateProvider, TimeProvider timeProvider, TimeZone zone) Obtains an instance ofZonedDateTimefrom a local date and time where the date-time must be valid for the time-zone.static ZonedDateTimeZonedDateTime.of(DateProvider dateProvider, TimeProvider timeProvider, TimeZone zone, ZoneResolver resolver) Obtains an instance ofZonedDateTimefrom a local date and time providing a resolver to handle an invalid date-time.OffsetTime.withTime(TimeProvider timeProvider) Returns a copy of thisOffsetTimewith the time altered and the offset retained.