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 classZoneResolvers.CombinationClass implementing combination resolver.private static classZoneResolvers.PostGapPreOverlapClass implementing postGapPreOverlap resolver.private static classZoneResolvers.PostTransitionClass implementing postTransition resolver.private static classZoneResolvers.PreTransitionClass implementing preTransition resolver.private static classZoneResolvers.PushForwardClass implementing push forward resolver.private static classZoneResolvers.RetainOffsetClass implementing retain offset resolver.private static classZoneResolvers.StrictClass implementing strict resolver.Fields in javax.time.calendar declared as ZoneResolver Modifier and Type Field Description private ZoneResolverZoneResolvers.Combination. gapResolverThe gap resolver.private static ZoneResolverZoneResolvers.PostGapPreOverlap. INSTANCEThe singleton instance.private static ZoneResolverZoneResolvers.PostTransition. INSTANCEThe singleton instance.private static ZoneResolverZoneResolvers.PreTransition. INSTANCEThe singleton instance.private static ZoneResolverZoneResolvers.PushForward. INSTANCEThe singleton instance.private static ZoneResolverZoneResolvers.RetainOffset. INSTANCEThe singleton instance.private ZoneResolverZoneResolvers.Combination. overlapResolverThe overlap resolver.Methods in javax.time.calendar that return ZoneResolver Modifier and Type Method Description static ZoneResolverZoneResolvers. combination(ZoneResolver gapResolver, ZoneResolver overlapResolver)Creates a combined resolver, using two different strategies for gap and overlap.static ZoneResolverZoneResolvers. 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 ZoneResolverZoneResolvers. postTransition()Returns the post-transition zone resolver, which returns the instant after the transition for gaps, and the later offset for overlaps.static ZoneResolverZoneResolvers. 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 ZoneResolverZoneResolvers. pushForward()Returns the push forward resolver, which changes the time of the result in a gap by adding the lenth of the gap.static ZoneResolverZoneResolvers. retainOffset()Returns the retain offset resolver, which returns the instant after the transition for gaps, and the same offset for overlaps.static ZoneResolverZoneResolvers. 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 ZonedDateTimeLocalDateTime. 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.ZonedDateTimeOffsetDateTime. 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 ZoneResolverZoneResolvers. combination(ZoneResolver gapResolver, ZoneResolver overlapResolver)Creates a combined resolver, using two different strategies for gap and overlap.ZonedDateTimeZonedDateTime. minus(PeriodProvider periodProvider, ZoneResolver resolver)Returns a copy of thisZonedDateTimewith the specified period subtracted.static ZonedDateTimeZonedDateTime. of(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int nanoOfSecond, TimeZone zone, ZoneResolver resolver)Obtains an instance ofZonedDateTimefrom year, month, day, hour, minute, second, nanosecond and time-zone providing a resolver to handle an invalid date-time.static ZonedDateTimeZonedDateTime. of(int year, MonthOfYear monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int nanoOfSecond, TimeZone zone, ZoneResolver resolver)Obtains an instance ofZonedDateTimefrom year, month, day, hour, minute, second, nanosecond and time-zone providing a resolver to handle an invalid date-time.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.static ZonedDateTimeZonedDateTime. of(DateTimeProvider dateTimeProvider, TimeZone zone, ZoneResolver resolver)Obtains an instance ofZonedDateTimefrom a local date-time providing a resolver to handle an invalid date-time.ZonedDateTimeZonedDateTime. plus(PeriodProvider periodProvider, ZoneResolver resolver)Returns a copy of thisZonedDateTimewith the specified period added.private static ZonedDateTimeZonedDateTime. resolve(LocalDateTime dateTime, ZonedDateTime oldDateTime, TimeZone zone, ZoneResolver resolver)Obtains an instance ofZonedDateTime.ZonedDateTimeZonedDateTime. with(DateAdjuster adjuster, ZoneResolver resolver)Returns a copy of thisZonedDateTimewith the date altered using the adjuster, providing a resolver to handle an invalid date-time.ZonedDateTimeZonedDateTime. with(TimeAdjuster adjuster, ZoneResolver resolver)Returns a copy of thisZonedDateTimewith the time altered using the adjuster, providing a resolver to handle an invalid date-time.ZonedDateTimeZonedDateTime. 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.
-