Module java.base

Class ZoneOffsetTransitionRule

java.lang.Object
java.time.zone.ZoneOffsetTransitionRule
All Implemented Interfaces:
Serializable

public final class ZoneOffsetTransitionRule extends Object implements 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:

  • the 16th March
  • the Sunday on or after the 16th March
  • the Sunday on or before the 16th March
  • the last Sunday in February
These different rule types can be expressed and queried.
Implementation Requirements:
This class is immutable and thread-safe.
Since:
1.8
See Also: