Uses of Class
java.time.zone.ZoneRules
Package
Description
The main API for dates, times, instants, and durations.
Support for time-zones and their rules.
-
Uses of ZoneRules in java.time
-
Uses of ZoneRules in java.time.zone
Modifier and TypeMethodDescriptionstatic ZoneRules
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 TypeMethodDescriptionstatic 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.