Uses of Class
javax.time.calendar.ZoneResolver
Packages that use ZoneResolver
Package
Description
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
-
Uses of ZoneResolver in javax.time.calendar
Subclasses of ZoneResolver in javax.time.calendarModifier and TypeClassDescriptionprivate static class
Class implementing combination resolver.private static class
Class implementing postGapPreOverlap resolver.private static class
Class implementing postTransition resolver.private static class
Class implementing preTransition resolver.private static class
Class implementing push forward resolver.private static class
Class implementing retain offset resolver.private static class
Class implementing strict resolver.Fields in javax.time.calendar declared as ZoneResolverModifier and TypeFieldDescriptionprivate final ZoneResolver
ZoneResolvers.Combination.gapResolver
The gap resolver.private static final ZoneResolver
ZoneResolvers.PostGapPreOverlap.INSTANCE
The singleton instance.private static final ZoneResolver
ZoneResolvers.PostTransition.INSTANCE
The singleton instance.private static final ZoneResolver
ZoneResolvers.PreTransition.INSTANCE
The singleton instance.private static final ZoneResolver
ZoneResolvers.PushForward.INSTANCE
The singleton instance.private static final ZoneResolver
ZoneResolvers.RetainOffset.INSTANCE
The singleton instance.private final ZoneResolver
ZoneResolvers.Combination.overlapResolver
The overlap resolver.Methods in javax.time.calendar that return ZoneResolverModifier and TypeMethodDescriptionstatic ZoneResolver
ZoneResolvers.combination
(ZoneResolver gapResolver, ZoneResolver overlapResolver) Creates a combined resolver, using two different strategies for gap and overlap.static ZoneResolver
ZoneResolvers.postGapPreOverlap()
Returns the post-gap-pre-overlap zone resolver, which returns the instant after the transition for gaps, and the earlier offset for overlaps.static ZoneResolver
ZoneResolvers.postTransition()
Returns the post-transition zone resolver, which returns the instant after the transition for gaps, and the later offset for overlaps.static ZoneResolver
ZoneResolvers.preTransition()
Returns the pre-transition zone resolver, which returns the instant one nanosecond before the transition for gaps, and the earlier offset for overlaps.static ZoneResolver
ZoneResolvers.pushForward()
Returns the push forward resolver, which changes the time of the result in a gap by adding the lenth of the gap.static ZoneResolver
ZoneResolvers.retainOffset()
Returns the retain offset resolver, which returns the instant after the transition for gaps, and the same offset for overlaps.static ZoneResolver
ZoneResolvers.strict()
Returns the strict zone resolver which rejects all gaps and overlaps as invalid, resulting in an exception.Methods in javax.time.calendar with parameters of type ZoneResolverModifier and TypeMethodDescriptionLocalDateTime.atZone
(TimeZone zone, ZoneResolver resolver) Returns a zoned date-time formed from this date-time and the specified time-zone taking control of what occurs in time-line gaps and overlaps.OffsetDateTime.atZoneSimilarLocal
(TimeZone zone, ZoneResolver resolver) Returns a zoned date-time formed from this date-time and the specified time-zone taking control of what occurs in time-line gaps and overlaps.static ZoneResolver
ZoneResolvers.combination
(ZoneResolver gapResolver, ZoneResolver overlapResolver) Creates a combined resolver, using two different strategies for gap and overlap.ZonedDateTime.minus
(PeriodProvider periodProvider, ZoneResolver resolver) Returns a copy of thisZonedDateTime
with the specified period subtracted.static ZonedDateTime
ZonedDateTime.of
(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int nanoOfSecond, TimeZone zone, ZoneResolver resolver) Obtains an instance ofZonedDateTime
from year, month, day, hour, minute, second, nanosecond and time-zone providing a resolver to handle an invalid date-time.static ZonedDateTime
ZonedDateTime.of
(int year, MonthOfYear monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int nanoOfSecond, TimeZone zone, ZoneResolver resolver) Obtains an instance ofZonedDateTime
from year, month, day, hour, minute, second, nanosecond and time-zone providing a resolver to handle an invalid date-time.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.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.ZonedDateTime.plus
(PeriodProvider periodProvider, ZoneResolver resolver) Returns a copy of thisZonedDateTime
with the specified period added.private static ZonedDateTime
ZonedDateTime.resolve
(LocalDateTime dateTime, ZonedDateTime oldDateTime, TimeZone zone, ZoneResolver resolver) Obtains an instance ofZonedDateTime
.ZonedDateTime.with
(DateAdjuster adjuster, ZoneResolver resolver) Returns a copy of thisZonedDateTime
with the date altered using the adjuster, providing a resolver to handle an invalid date-time.ZonedDateTime.with
(TimeAdjuster adjuster, ZoneResolver resolver) Returns a copy of thisZonedDateTime
with the time altered using the adjuster, providing a resolver to handle an invalid date-time.ZonedDateTime.withZoneSameLocal
(TimeZone zone, ZoneResolver resolver) Returns a copy of this ZonedDateTime with a different time-zone, retaining the local date-time if possible.Constructors in javax.time.calendar with parameters of type ZoneResolverModifierConstructorDescriptionCombination
(ZoneResolver gapResolver, ZoneResolver overlapResolver) Constructor.