Object/Class

java.time.zone

ZoneOffsetTransitionRule

Related Docs: class ZoneOffsetTransitionRule | package zone

Permalink

object ZoneOffsetTransitionRule extends Serializable

A rule expressing how to create a transition.

This class allows rules for identifying future transitions to be expressed. A rule might be written in many forms:

These different rule types can be expressed and queried.

Specification for implementors

This class is immutable and thread-safe.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZoneOffsetTransitionRule
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object TimeDefinition extends Serializable

    Permalink

    A definition of the way a local time can be converted to the actual transition date-time.

    A definition of the way a local time can be converted to the actual transition date-time.

    Time zone rules are expressed in one of three ways:

    • Relative to UTC
    • Relative to the standard offset in force
    • Relative to the wall offset (what you would see on a clock on the wall)
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def of(month: Month, dayOfMonthIndicator: Int, dayOfWeek: DayOfWeek, time: LocalTime, timeEndOfDay: Boolean, timeDefnition: TimeDefinition, standardOffset: ZoneOffset, offsetBefore: ZoneOffset, offsetAfter: ZoneOffset): ZoneOffsetTransitionRule

    Permalink

    Obtains an instance defining the yearly rule to create transitions between two offsets.

    Obtains an instance defining the yearly rule to create transitions between two offsets.

    Applications should normally obtain an instance from ZoneRules. This factory is only intended for use when creating ZoneRules.

    month

    the month of the month-day of the first day of the cutover week, not null

    dayOfMonthIndicator

    the day of the month-day of the cutover week, positive if the week is that day or later, negative if the week is that day or earlier, counting from the last day of the month, from -28 to 31 excluding 0

    dayOfWeek

    the required day-of-week, null if the month-day should not be changed

    time

    the cutover time in the 'before' offset, not null

    timeEndOfDay

    whether the time is midnight at the end of day

    timeDefnition

    how to interpret the cutover

    standardOffset

    the standard offset in force at the cutover, not null

    offsetBefore

    the offset before the cutover, not null

    offsetAfter

    the offset after the cutover, not null

    returns

    the rule, not null

    Exceptions thrown

    IllegalArgumentException if the end of day flag is true when the time is not midnight

  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped