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 ZoneRulesZonedDateTime. getApplicableRules()Calculates the zone rules applicable for this date-time.abstract ZoneRulesTimeZone. getRules()Gets the time-zone rules allowing calculations to be performed.abstract ZoneRulesTimeZone. 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 OffsetDateTimeZoneResolver. 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 OffsetDateTimeZoneResolver. 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 ZoneRulesZoneRulesGroup. getRules(String regionID, String versionID)Gets the rules for the specified region#version ID combination.ZoneRulesZoneRulesGroup. 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.ZoneRulesZoneRulesVersion. getZoneRules(String regionID)Gets the zone rules for the specified region ID.static ZoneRulesZoneRules. ofFixed(ZoneOffset offset)Obtains a rules instance for a specific offset.ZoneRulesZoneRulesBuilder. 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.
-