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 classClass implementing combination resolver.private static classClass implementing postGapPreOverlap resolver.private static classClass implementing postTransition resolver.private static classClass implementing preTransition resolver.private static classClass implementing push forward resolver.private static classClass implementing retain offset resolver.private static classClass implementing strict resolver.Fields in javax.time.calendar declared as ZoneResolverModifier and TypeFieldDescriptionprivate final ZoneResolverZoneResolvers.Combination.gapResolverThe gap resolver.private static final ZoneResolverZoneResolvers.PostGapPreOverlap.INSTANCEThe singleton instance.private static final ZoneResolverZoneResolvers.PostTransition.INSTANCEThe singleton instance.private static final ZoneResolverZoneResolvers.PreTransition.INSTANCEThe singleton instance.private static final ZoneResolverZoneResolvers.PushForward.INSTANCEThe singleton instance.private static final ZoneResolverZoneResolvers.RetainOffset.INSTANCEThe singleton instance.private final ZoneResolverZoneResolvers.Combination.overlapResolverThe overlap resolver.Methods in javax.time.calendar that return ZoneResolverModifier and TypeMethodDescriptionstatic 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 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 ZoneResolverZoneResolvers.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 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.ZonedDateTime.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.ZonedDateTime.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.ZonedDateTime.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.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.