| Package | Description |
|---|---|
| org.threeten.bp |
The main API for dates, times, instants, and durations.
|
| org.threeten.bp.zone |
Support for time-zones and their rules.
|
| Modifier and Type | Method | 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 | 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 ZoneRules |
TzdbZoneRulesProvider.provideRules(java.lang.String zoneId,
boolean forCaching) |
|
protected abstract ZoneRules |
ZoneRulesProvider.provideRules(java.lang.String regionId,
boolean forCaching) |
SPI method to get the rules for the zone ID.
|
| Modifier and Type | Method | 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 java.util.NavigableMap<java.lang.String,ZoneRules> |
TzdbZoneRulesProvider.provideVersions(java.lang.String zoneId) |
|
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.
|
Copyright © 2007–2018 ThreeTen.org. All rights reserved.