Uses of Interface
javax.time.InstantProvider
Packages that use InstantProvider
Package
Description
Provides classes to manage the continuous time scale including a wrapper
for the system clock.
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
Provides classes to implement time-zones and their rules.
-
Uses of InstantProvider in javax.time
Classes in javax.time that implement InstantProviderMethods in javax.time with parameters of type InstantProviderModifier and TypeMethodDescriptionstatic DurationDuration.between(InstantProvider startInclusive, InstantProvider endExclusive) Obtains an instance ofDurationrepresenting the duration between two instants.static TimeSourceTimeSource.fixed(InstantProvider fixedInstantProvider) Gets a time-source that always returns the sameInstant.static InstantInstant.of(InstantProvider instantProvider) Obtains an instance ofInstantfrom a provider of instants. -
Uses of InstantProvider in javax.time.calendar
Classes in javax.time.calendar that implement InstantProviderModifier and TypeClassDescriptionfinal 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 InstantProviderModifier and TypeMethodDescriptionstatic OffsetDateOffsetDate.ofInstant(InstantProvider instantProvider, ZoneOffset offset) Obtains an instance ofOffsetDatefrom anInstantProvider.static OffsetDateTimeOffsetDateTime.ofInstant(InstantProvider instantProvider, ZoneOffset offset) Obtains an instance ofOffsetDateTimefrom anInstantProvider.static OffsetTimeOffsetTime.ofInstant(InstantProvider instantProvider, ZoneOffset offset) Obtains an instance ofOffsetTimefrom anInstantProvider.static ZonedDateTimeZonedDateTime.ofInstant(InstantProvider instantProvider, TimeZone zone) Obtains an instance ofZonedDateTimefrom anInstant. -
Uses of InstantProvider in javax.time.calendar.zone
Methods in javax.time.calendar.zone with parameters of type InstantProviderModifier and TypeMethodDescriptionZoneRules.getDaylightSavings(InstantProvider instantProvider) Gets the amount of daylight savings in use for the specified instant in this zone.FixedZoneRules.getOffset(InstantProvider instant) Gets the offset applicable at the specified instant in this zone.StandardZoneRules.getOffset(InstantProvider instantProvider) Gets the offset applicable at the specified instant in this zone.abstract ZoneOffsetZoneRules.getOffset(InstantProvider instant) Gets the offset applicable at the specified instant in this zone.FixedZoneRules.getStandardOffset(InstantProvider instant) Gets the standard offset for the specified instant in this zone.StandardZoneRules.getStandardOffset(InstantProvider instantProvider) Gets the standard offset for the specified instant in this zone.abstract ZoneOffsetZoneRules.getStandardOffset(InstantProvider instantProvider) Gets the standard offset for the specified instant in this zone.booleanZoneRules.isDaylightSavings(InstantProvider instant) Gets the standard offset for the specified instant in this zone.FixedZoneRules.nextTransition(InstantProvider instantProvider) Gets the next transition after the specified transition.StandardZoneRules.nextTransition(InstantProvider instantProvider) Gets the next transition after the specified transition.abstract ZoneOffsetTransitionZoneRules.nextTransition(InstantProvider instantProvider) Gets the next transition after the specified transition.FixedZoneRules.previousTransition(InstantProvider instantProvider) Gets the previous transition after the specified transition.StandardZoneRules.previousTransition(InstantProvider instantProvider) Gets the previous transition after the specified transition.abstract ZoneOffsetTransitionZoneRules.previousTransition(InstantProvider instantProvider) Gets the previous transition after the specified transition.