| Package | Description | 
|---|---|
| java.time | 
 The main API for dates, times, instants, and durations. | 
| java.time.zone | 
 Support for time-zones and their rules. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ZoneRules | ZoneId. getRules()Gets the time-zone rules for this ID allowing calculations to be performed. | 
| ZoneRules | ZoneOffset. getRules()Gets the associated time-zone rules. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ZoneRules | ZoneRulesProvider. getRules(String zoneId,
        boolean forCaching)Gets the rules for the zone ID. | 
| static ZoneRules | ZoneRules. of(ZoneOffset offset)Obtains an instance of ZoneRules that has fixed zone rules. | 
| static ZoneRules | ZoneRules. of(ZoneOffset baseStandardOffset,
  ZoneOffset baseWallOffset,
  List<ZoneOffsetTransition> standardOffsetTransitionList,
  List<ZoneOffsetTransition> transitionList,
  List<ZoneOffsetTransitionRule> lastRules)Obtains an instance of a ZoneRules. | 
| protected abstract ZoneRules | ZoneRulesProvider. provideRules(String zoneId,
            boolean forCaching)SPI method to get the rules for the zone ID. | 
| Modifier and Type | Method and Description | 
|---|---|
| static NavigableMap<String,ZoneRules> | ZoneRulesProvider. getVersions(String zoneId)Gets the history of rules for the zone ID. | 
| protected abstract NavigableMap<String,ZoneRules> | ZoneRulesProvider. provideVersions(String zoneId)SPI method to get the history of rules for the zone ID. | 
 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, 2016, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.