Uses of Class
javax.time.calendar.zone.ZoneOffsetTransition
Packages that use ZoneOffsetTransition
Package
Description
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 ZoneOffsetTransition in javax.time.calendar
Methods in javax.time.calendar with parameters of type ZoneOffsetTransitionModifier and TypeMethodDescriptionprotected abstract OffsetDateTime
ZoneResolver.handleGap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition gapInfo, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line gap.protected OffsetDateTime
ZoneResolvers.Combination.handleGap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line gap.protected OffsetDateTime
ZoneResolvers.PostGapPreOverlap.handleGap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line gap.protected OffsetDateTime
ZoneResolvers.PostTransition.handleGap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line gap.protected OffsetDateTime
ZoneResolvers.PreTransition.handleGap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line gap.protected OffsetDateTime
ZoneResolvers.PushForward.handleGap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line gap.protected OffsetDateTime
ZoneResolvers.RetainOffset.handleGap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line gap.protected OffsetDateTime
ZoneResolvers.Strict.handleGap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line gap.protected abstract OffsetDateTime
ZoneResolver.handleOverlap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition overlapInfo, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line overlap.protected OffsetDateTime
ZoneResolvers.Combination.handleOverlap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line overlap.protected OffsetDateTime
ZoneResolvers.PostGapPreOverlap.handleOverlap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line overlap.protected OffsetDateTime
ZoneResolvers.PostTransition.handleOverlap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line overlap.protected OffsetDateTime
ZoneResolvers.PreTransition.handleOverlap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line overlap.protected OffsetDateTime
ZoneResolvers.PushForward.handleOverlap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line overlap.protected OffsetDateTime
ZoneResolvers.RetainOffset.handleOverlap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line overlap.protected OffsetDateTime
ZoneResolvers.Strict.handleOverlap
(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, LocalDateTime newDateTime, OffsetDateTime oldDateTime) Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line overlap. -
Uses of ZoneOffsetTransition in javax.time.calendar.zone
Fields in javax.time.calendar.zone declared as ZoneOffsetTransitionModifier and TypeFieldDescriptionprivate final ZoneOffsetTransition
ZoneOffsetInfo.transition
The transition between two offsets on the local time-line.Methods in javax.time.calendar.zone that return ZoneOffsetTransitionModifier and TypeMethodDescriptionZoneOffsetTransitionRule.createTransition
(int year) Creates a transition instance for the specified year.private ZoneOffsetTransition[]
StandardZoneRules.findTransitionArray
(int year) Finds the appropriate transition array for the given year.ZoneOffsetInfo.getTransition()
Gets information about the transition occurring on the local time-line.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 ZoneOffsetTransition
ZoneRules.nextTransition
(InstantProvider instantProvider) Gets the next transition after the specified transition.static ZoneOffsetTransition
ZoneOffsetTransition.of
(OffsetDateTime transition, ZoneOffset offsetAfter) Obtains an instance defining a transition between two offsets.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 ZoneOffsetTransition
ZoneRules.previousTransition
(InstantProvider instantProvider) Gets the previous transition after the specified transition.(package private) static ZoneOffsetTransition
ZoneOffsetTransition.readExternal
(DataInput in) Reads the state from the stream.(package private) ZoneOffsetTransition
ZoneRulesBuilder.TZRule.toTransition
(ZoneOffset standardOffset, Period savingsBefore) Converts this to a transition.Methods in javax.time.calendar.zone that return types with arguments of type ZoneOffsetTransitionModifier and TypeMethodDescriptionFixedZoneRules.getTransitions()
Gets the complete list of fully defined transitions.StandardZoneRules.getTransitions()
Gets the complete list of transitions.abstract List
<ZoneOffsetTransition> ZoneRules.getTransitions()
Gets the complete list of fully defined transitions.Methods in javax.time.calendar.zone with parameters of type ZoneOffsetTransitionModifier and TypeMethodDescriptionint
ZoneOffsetTransition.compareTo
(ZoneOffsetTransition transition) Compares this transition to another based on the transition instant.private ZoneOffsetInfo
StandardZoneRules.findOffsetInfo
(LocalDateTime dt, ZoneOffsetTransition trans) Finds the offset info for a local date-time and transition.static ZoneOffsetInfo
ZoneOffsetInfo.of
(LocalDateTime dateTime, ZoneOffset offset, ZoneOffsetTransition transition) Creates an instance representing a simple single offset or a transition.Constructors in javax.time.calendar.zone with parameters of type ZoneOffsetTransitionModifierConstructorDescription(package private)
ZoneOffsetInfo
(LocalDateTime dateTime, ZoneOffset offset, ZoneOffsetTransition transition) Creates an instance handling a simple single offset.