| Package | Description | 
|---|---|
| java.time.zone | 
 Support for time-zones and their rules. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ZoneOffsetTransitionRule | ZoneOffsetTransitionRule. of(Month month,
  int dayOfMonthIndicator,
  DayOfWeek dayOfWeek,
  LocalTime time,
  boolean timeEndOfDay,
  ZoneOffsetTransitionRule.TimeDefinition timeDefnition,
  ZoneOffset standardOffset,
  ZoneOffset offsetBefore,
  ZoneOffset offsetAfter)Obtains an instance defining the yearly rule to create transitions between two offsets. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<ZoneOffsetTransitionRule> | ZoneRules. getTransitionRules()Gets the list of transition rules for years beyond those defined in the transition list. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ZoneRules | ZoneRules. of(ZoneOffset baseStandardOffset,
  ZoneOffset baseWallOffset,
  List<ZoneOffsetTransition> standardOffsetTransitionList,
  List<ZoneOffsetTransition> transitionList,
  List<ZoneOffsetTransitionRule> lastRules)Obtains an instance of a ZoneRules. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.