Uses of Class
javax.time.calendar.zone.ZoneRules
Packages that use ZoneRules
Package
Description
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
Provides classes to implement time-zones and their rules.
-
Uses of ZoneRules in javax.time.calendar
Fields in javax.time.calendar declared as ZoneRulesMethods in javax.time.calendar that return ZoneRulesModifier and TypeMethodDescriptionZonedDateTime.getApplicableRules()Calculates the zone rules applicable for this date-time.TimeZone.Fixed.getRules()abstract ZoneRulesTimeZone.getRules()Gets the time-zone rules allowing calculations to be performed.TimeZone.ID.getRules()TimeZone.Fixed.getRulesValidFor(OffsetDateTime dateTime) 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.TimeZone.ID.getRulesValidFor(OffsetDateTime dateTime) Methods in javax.time.calendar with parameters of type ZoneRulesModifier and TypeMethodDescriptionprotected 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 OffsetDateTimeZoneResolvers.Combination.handleGap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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 OffsetDateTimeZoneResolvers.PostGapPreOverlap.handleGap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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 OffsetDateTimeZoneResolvers.PostTransition.handleGap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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 OffsetDateTimeZoneResolvers.PreTransition.handleGap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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 OffsetDateTimeZoneResolvers.PushForward.handleGap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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 OffsetDateTimeZoneResolvers.RetainOffset.handleGap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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 OffsetDateTimeZoneResolvers.Strict.handleGap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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.protected OffsetDateTimeZoneResolvers.Combination.handleOverlap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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.protected OffsetDateTimeZoneResolvers.PostGapPreOverlap.handleOverlap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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.protected OffsetDateTimeZoneResolvers.PostTransition.handleOverlap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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.protected OffsetDateTimeZoneResolvers.PreTransition.handleOverlap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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.protected OffsetDateTimeZoneResolvers.PushForward.handleOverlap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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.protected OffsetDateTimeZoneResolvers.RetainOffset.handleOverlap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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.protected OffsetDateTimeZoneResolvers.Strict.handleOverlap(TimeZone zone, ZoneRules rules, ZoneOffsetTransition discontinuity, 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
Subclasses of ZoneRules in javax.time.calendar.zoneModifier and TypeClassDescription(package private) final classImplementation of zone rules for fixed offsets.(package private) final classThe rules describing how the zone offset varies through the year and historically.Fields in javax.time.calendar.zone with type parameters of type ZoneRulesMethods in javax.time.calendar.zone that return ZoneRulesModifier and TypeMethodDescriptionGets the rules for the specified region#version ID combination.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.ResourceZoneRulesDataProvider.ResourceZoneRulesVersion.getZoneRules(String regionID) ZoneRulesVersion.getZoneRules(String regionID) Gets the zone rules for the specified region ID.(package private) ZoneRulesResourceZoneRulesDataProvider.loadRule(short index) Loads the rule.static ZoneRulesZoneRules.ofFixed(ZoneOffset offset) Obtains a rules instance for a specific offset.Completes the build converting the builder to a set of time-zone rules.(package private) ZoneRulesCompletes 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 ZoneRulesMethod parameters in javax.time.calendar.zone with type arguments of type ZoneRulesModifier and TypeMethodDescriptionprivate static voidTZDBZoneRulesCompiler.outputFile(File dstFile, String version, SortedMap<String, ZoneRules> builtZones) Outputs the file.private static voidTZDBZoneRulesCompiler.outputFile(File dstFile, Map<String, SortedMap<String, ZoneRules>> allBuiltZones, Set<String> allRegionIds, Set<ZoneRules> allRules) Outputs the file.