Uses of Class
javax.time.calendar.zone.ZoneRules
-
Packages that use ZoneRules Package Description javax.time.calendar Provides classes to manage the human time scale including date, time, date-time and time-zone representations.javax.time.calendar.zone Provides classes to implement time-zones and their rules. -
-
Uses of ZoneRules in javax.time.calendar
Methods in javax.time.calendar that return ZoneRules Modifier and Type Method Description ZoneRules
ZonedDateTime. getApplicableRules()
Calculates the zone rules applicable for this date-time.abstract ZoneRules
TimeZone. getRules()
Gets the time-zone rules allowing calculations to be performed.abstract ZoneRules
TimeZone. getRulesValidFor(OffsetDateTime dateTime)
Gets the time-zone rules allowing calculations to be performed, ensuring that the date-time and offset specified is valid for the returned rules.Methods in javax.time.calendar with parameters of type ZoneRules Modifier and Type Method Description protected abstract OffsetDateTime
ZoneResolver. handleGap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition gapInfo, LocalDateTime newDateTime, OffsetDateTime oldDateTime)
Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line gap.protected abstract OffsetDateTime
ZoneResolver. handleOverlap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition overlapInfo, LocalDateTime newDateTime, OffsetDateTime oldDateTime)
Defines the strategy for selecting an offset to use for a local date-time when the local date-time is in a local time-line overlap. -
Uses of ZoneRules in javax.time.calendar.zone
Methods in javax.time.calendar.zone that return ZoneRules Modifier and Type Method Description ZoneRules
ZoneRulesGroup. getRules(String regionID, String versionID)
Gets the rules for the specified region#version ID combination.ZoneRules
ZoneRulesGroup. getRulesValidFor(String regionID, String versionID, OffsetDateTime dateTime)
Gets the rules for the specified region and version ensuring that the rules are valid for the date-time.ZoneRules
ZoneRulesVersion. getZoneRules(String regionID)
Gets the zone rules for the specified region ID.static ZoneRules
ZoneRules. ofFixed(ZoneOffset offset)
Obtains a rules instance for a specific offset.ZoneRules
ZoneRulesBuilder. toRules(String id)
Completes the build converting the builder to a set of time-zone rules.Methods in javax.time.calendar.zone that return types with arguments of type ZoneRules Modifier and Type Method Description SortedMap<String,ZoneRules>
TZDBZoneRulesCompiler. compile()
Compile the rules file.
-