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

    Methods in javax.time.calendar that return ZoneResolver
    Modifier and Type
    Method
    Description
    ZoneResolvers.combination(ZoneResolver gapResolver, ZoneResolver overlapResolver)
    Creates a combined resolver, using two different strategies for gap and overlap.
    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.
    ZoneResolvers.postTransition()
    Returns the post-transition zone resolver, which returns the instant after the transition for gaps, and the later offset for overlaps.
    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.
    ZoneResolvers.pushForward()
    Returns the push forward resolver, which changes the time of the result in a gap by adding the lenth of the gap.
    ZoneResolvers.retainOffset()
    Returns the retain offset resolver, which returns the instant after the transition for gaps, and the same offset for overlaps.
    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
    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.
    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.
    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 this ZonedDateTime with the specified period subtracted.
    ZonedDateTime.of(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int nanoOfSecond, TimeZone zone, ZoneResolver resolver)
    Obtains an instance of ZonedDateTime from year, month, day, hour, minute, second, nanosecond and time-zone providing a resolver to handle an invalid date-time.
    ZonedDateTime.of(int year, MonthOfYear monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int nanoOfSecond, TimeZone zone, ZoneResolver resolver)
    Obtains an instance of ZonedDateTime from year, month, day, hour, minute, second, nanosecond and time-zone providing a resolver to handle an invalid date-time.
    ZonedDateTime.of(DateProvider dateProvider, TimeProvider timeProvider, TimeZone zone, ZoneResolver resolver)
    Obtains an instance of ZonedDateTime from a local date and time providing a resolver to handle an invalid date-time.
    ZonedDateTime.of(DateTimeProvider dateTimeProvider, TimeZone zone, ZoneResolver resolver)
    Obtains an instance of ZonedDateTime from a local date-time providing a resolver to handle an invalid date-time.
    ZonedDateTime.plus(PeriodProvider periodProvider, ZoneResolver resolver)
    Returns a copy of this ZonedDateTime with the specified period added.
    ZonedDateTime.with(DateAdjuster adjuster, ZoneResolver resolver)
    Returns a copy of this ZonedDateTime 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 this ZonedDateTime 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.