Uses of Class
javax.time.calendar.ZoneResolver
-
Packages that use ZoneResolver Package Description javax.time.calendar 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.calendar Modifier and Type Class Description private static class
ZoneResolvers.Combination
Class implementing combination resolver.private static class
ZoneResolvers.PostGapPreOverlap
Class implementing postGapPreOverlap resolver.private static class
ZoneResolvers.PostTransition
Class implementing postTransition resolver.private static class
ZoneResolvers.PreTransition
Class implementing preTransition resolver.private static class
ZoneResolvers.PushForward
Class implementing push forward resolver.private static class
ZoneResolvers.RetainOffset
Class implementing retain offset resolver.private static class
ZoneResolvers.Strict
Class implementing strict resolver.Fields in javax.time.calendar declared as ZoneResolver Modifier and Type Field Description private ZoneResolver
ZoneResolvers.Combination. gapResolver
The gap resolver.private static ZoneResolver
ZoneResolvers.PostGapPreOverlap. INSTANCE
The singleton instance.private static ZoneResolver
ZoneResolvers.PostTransition. INSTANCE
The singleton instance.private static ZoneResolver
ZoneResolvers.PreTransition. INSTANCE
The singleton instance.private static ZoneResolver
ZoneResolvers.PushForward. INSTANCE
The singleton instance.private static ZoneResolver
ZoneResolvers.RetainOffset. INSTANCE
The singleton instance.private ZoneResolver
ZoneResolvers.Combination. overlapResolver
The overlap resolver.Methods in javax.time.calendar that return ZoneResolver Modifier and Type Method Description static 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 ZoneResolver Modifier and Type Method Description ZonedDateTime
LocalDateTime. 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.ZonedDateTime
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
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
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
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
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
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 ZoneResolver Constructor Description Combination(ZoneResolver gapResolver, ZoneResolver overlapResolver)
Constructor.
-