| 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 |
|---|---|
ZoneRules |
ZoneOffset.getRules()
Gets the associated time-zone rules.
|
abstract ZoneRules |
ZoneId.getRules()
Gets the time-zone rules for this ID allowing calculations to be performed.
|
| Modifier and Type | Method and Description |
|---|---|
static ZoneRules |
ZoneRulesProvider.getRules(java.lang.String zoneId,
boolean forCaching)
Gets the rules for the zone ID.
|
static ZoneRules |
ZoneRules.of(ZoneOffset offset)
Obtains an instance of
ZoneRules that always uses the same offset. |
static ZoneRules |
ZoneRules.of(ZoneOffset baseStandardOffset,
ZoneOffset baseWallOffset,
java.util.List<ZoneOffsetTransition> standardOffsetTransitionList,
java.util.List<ZoneOffsetTransition> transitionList,
java.util.List<ZoneOffsetTransitionRule> lastRules)
Obtains an instance of
ZoneRules with full transition rules. |
protected abstract ZoneRules |
ZoneRulesProvider.provideRules(java.lang.String regionId,
boolean forCaching)
SPI method to get the rules for the zone ID.
|
protected ZoneRules |
TzdbZoneRulesProvider.provideRules(java.lang.String zoneId,
boolean forCaching) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.NavigableMap<java.lang.String,ZoneRules> |
ZoneRulesProvider.getVersions(java.lang.String zoneId)
Gets the history of rules for the zone ID.
|
protected abstract java.util.NavigableMap<java.lang.String,ZoneRules> |
ZoneRulesProvider.provideVersions(java.lang.String zoneId)
SPI method to get the history of rules for the zone ID.
|
protected java.util.NavigableMap<java.lang.String,ZoneRules> |
TzdbZoneRulesProvider.provideVersions(java.lang.String zoneId) |
Copyright © 2014. All Rights Reserved.