ZoneOffsetTransitionRule.TimeDefinition

  • ZoneOffsetTransitionRule.TimeDefinition is an enum defining how local time is converted to the transition date-time for time zone rules.

  • Time zone rules can be expressed relative to UTC, the standard offset, or the wall offset (observed time).

  • Three enum values, STANDARD, UTC, and WALL, represent these different ways of expressing local time.

  • It inherits methods from java.lang.Enum, java.lang.Object, and java.lang.Comparable for object manipulation and comparison.

public static final enum ZoneOffsetTransitionRule.TimeDefinition extends Enum<ZoneOffsetTransitionRule.TimeDefinition>

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)

Inherited Method Summary

Enum Values

public static final ZoneOffsetTransitionRule.TimeDefinition STANDARD

The local date-time is expressed in terms of the standard offset.

public static final ZoneOffsetTransitionRule.TimeDefinition UTC

The local date-time is expressed in terms of the UTC offset.

public static final ZoneOffsetTransitionRule.TimeDefinition WALL

The local date-time is expressed in terms of the wall offset.