Uses of Class
javax.time.calendar.CalendricalRule
Packages that use CalendricalRule
Package
Description
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
Provides classes to format dates and times as strings.
Provides classes representing dates and times in alternate calendar systems.
-
Uses of CalendricalRule in javax.time.calendar
Subclasses of CalendricalRule in javax.time.calendarModifier and TypeClassDescription(package private) static final class
Rule implementation.class
The rule defining how a measurable field of time operates.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Single rule subclass, which means fewer classes to load at startup.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.(package private) static final class
Rule implementation.Fields in javax.time.calendar declared as CalendricalRuleModifier and TypeFieldDescriptionprivate static final CalendricalRule
<Chronology> Chronology.Rule.INSTANCE
(package private) static final CalendricalRule
<Long> ISOChronology.EpochDaysRule.INSTANCE
Singleton instance.(package private) static final CalendricalRule
<Long> ISOChronology.NanoOfDayRule.INSTANCE
Singleton instance.private static final CalendricalRule
<LocalDate> LocalDate.Rule.INSTANCE
private static final CalendricalRule
<LocalDateTime> LocalDateTime.Rule.INSTANCE
private static final CalendricalRule
<LocalTime> LocalTime.Rule.INSTANCE
private static final CalendricalRule
<MonthDay> MonthDay.Rule.INSTANCE
private static final CalendricalRule
<OffsetDate> OffsetDate.Rule.INSTANCE
private static final CalendricalRule
<OffsetDateTime> OffsetDateTime.Rule.INSTANCE
private static final CalendricalRule
<OffsetTime> OffsetTime.Rule.INSTANCE
private static final CalendricalRule
<TimeZone> TimeZone.Rule.INSTANCE
private static final CalendricalRule
<YearMonth> YearMonth.Rule.INSTANCE
private static final CalendricalRule
<ZonedDateTime> ZonedDateTime.Rule.INSTANCE
private static final CalendricalRule
<ZoneOffset> ZoneOffset.Rule.INSTANCE
private final CalendricalRule
<?> CalendricalRuleException.rule
The rule that caused the exception.Fields in javax.time.calendar with type parameters of type CalendricalRuleModifier and TypeFieldDescriptionprivate final Map
<CalendricalRule<?>, Object> CalendricalMerger.inputMap
The map of potentially invalid data to being merged, never null.private Iterator
<CalendricalRule<?>> CalendricalMerger.iterator
Current iterator, updated when the state of the map is changed.private final Map
<CalendricalRule<?>, Object> CalendricalMerger.processingMap
The map of in range data to be merged, never null.Methods in javax.time.calendar that return CalendricalRuleModifier and TypeMethodDescriptionstatic CalendricalRule
<Long> ISOChronology.epochDays()
Gets the rule for the epoch-days field.CalendricalRuleException.getRule()
Gets the rule that is connected to the exception.static CalendricalRule
<Long> ISOChronology.nanoOfDayRule()
Gets the rule for the nano-of-day field.static CalendricalRule
<Chronology> Chronology.rule()
Gets the rule forChronology
.static CalendricalRule
<LocalDate> LocalDate.rule()
Gets the rule forLocalDate
.static CalendricalRule
<LocalDateTime> LocalDateTime.rule()
Gets the rule forLocalDateTime
.static CalendricalRule
<LocalTime> LocalTime.rule()
Gets the rule forLocalTime
.static CalendricalRule
<MonthDay> MonthDay.rule()
Gets the rule for the month-day.static CalendricalRule
<OffsetDate> OffsetDate.rule()
Gets the rule forOffsetDate
.static CalendricalRule
<OffsetDateTime> OffsetDateTime.rule()
Gets the rule forOffsetDateTime
.static CalendricalRule
<OffsetTime> OffsetTime.rule()
Gets the rule forOffsetTime
.static CalendricalRule
<TimeZone> TimeZone.rule()
Gets the rule forTimeZone
.static CalendricalRule
<YearMonth> YearMonth.rule()
Gets the rule for the year-month.static CalendricalRule
<ZonedDateTime> ZonedDateTime.rule()
Gets the rule forZonedDateTime
.static CalendricalRule
<ZoneOffset> ZoneOffset.rule()
Gets the rule for the zone-offset.Methods in javax.time.calendar that return types with arguments of type CalendricalRuleModifier and TypeMethodDescriptionMap
<CalendricalRule<?>, Object> CalendricalMerger.getInputMap()
Gets the underlying rule-value map that is being merged.Methods in javax.time.calendar with parameters of type CalendricalRuleModifier and TypeMethodDescriptionint
CalendricalRule.compareTo
(CalendricalRule<?> other) Compares thisCalendricalRule
to another.int
ISOChronology.Rule.compareTo
(CalendricalRule<?> other) final <R> R
CalendricalRule.deriveValueFor
(CalendricalRule<R> rule, T value, Calendrical calendrical, Chronology chronology) Derives the value of the specified rule from a calendrical.<T> T
AmPmOfDay.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
Calendrical.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
CalendricalMerger.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule from the merged result.<T> T
Chronology.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
DateTimeFields.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
DayOfWeek.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
LocalDate.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
LocalDateTime.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
LocalTime.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
MonthDay.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
MonthOfYear.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
OffsetDate.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
OffsetDateTime.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
OffsetTime.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
QuarterOfYear.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
TimeZone.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
Year.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
YearMonth.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
ZonedDateTime.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
ZoneOffset.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
CalendricalMerger.getValue
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule from the merged result.void
CalendricalMerger.removeProcessed
(CalendricalRule<?> rule) Removes a rule and its value from the map being processed.<T> void
CalendricalMerger.storeMerged
(CalendricalRule<T> rule, T value) Stores a rule-value pair into this map ensuring that it does not clash with any previous value defined for that rule.Constructors in javax.time.calendar with parameters of type CalendricalRuleModifierConstructorDescriptionCalendricalRuleException
(String message, CalendricalRule<?> fieldRule) Constructs a new exception with a message and optional rule.InvalidCalendarFieldException
(String message, CalendricalRule<?> rule) Constructs a new invalid field exception.UnsupportedRuleException
(String message, CalendricalRule<?> rule) Constructs a new unsupported field exception using the specified error message.UnsupportedRuleException
(CalendricalRule<?> rule) Constructs a new unsupported field exception creating a standard error message.Constructor parameters in javax.time.calendar with type arguments of type CalendricalRuleModifierConstructorDescriptionCalendricalMerger
(CalendricalContext context, Map<CalendricalRule<?>, Object> inputMap) Constructor. -
Uses of CalendricalRule in javax.time.calendar.format
Fields in javax.time.calendar.format declared as CalendricalRuleModifier and TypeFieldDescriptionprivate final CalendricalRule
<?> CalendricalPrintFieldException.rule
The rule that caused the exception.Fields in javax.time.calendar.format with type parameters of type CalendricalRuleModifier and TypeFieldDescription(package private) final Map
<CalendricalRule<?>, Object> DateTimeParseContext.Parsed.values
Methods in javax.time.calendar.format that return CalendricalRuleModifier and TypeMethodDescriptionCalendricalPrintFieldException.getRule()
Gets the rule that caused the exception.Methods in javax.time.calendar.format that return types with arguments of type CalendricalRuleModifier and TypeMethodDescriptionSet
<CalendricalRule<?>> DateTimeParseContext.getParsedRules()
Gets the set of parsed rules.Methods in javax.time.calendar.format with parameters of type CalendricalRuleModifier and TypeMethodDescriptionDateTimeParseContext.getParsed
(CalendricalRule<?> rule) Gets the parsed value for the specified rule.<T> T
DateTimeFormatter.parse
(String text, CalendricalRule<T> rule) Fully parses the text producing an object of the type defined by the rule.void
DateTimeParseContext.setParsed
(CalendricalRule<?> rule, Object value) Sets the parsed value associated with the specified rule. -
Uses of CalendricalRule in javax.time.i18n
Subclasses of CalendricalRule in javax.time.i18nModifier and TypeClassDescriptionprivate static final class
Rule implementation.private static final class
Rule implementation.private static final class
Rule implementation.private static final class
Rule implementation.private static final class
Rule implementation.(package private) static final class
Rule implementation.private static final class
Rule implementation.private static final class
Rule implementation.private static final class
Rule implementation.private static final class
Rule implementation.private static final class
Rule implementation.private static final class
Rule implementation.(package private) static final class
Rule implementation.Fields in javax.time.i18n declared as CalendricalRuleModifier and TypeFieldDescriptionprivate static final CalendricalRule
<CopticDate> CopticDate.Rule.INSTANCE
private static final CalendricalRule
<HistoricDate> HistoricDate.Rule.INSTANCE
Methods in javax.time.i18n that return CalendricalRuleModifier and TypeMethodDescriptionstatic CalendricalRule
<CopticDate> CopticDate.rule()
Gets the rule forCopticDate
.static CalendricalRule
<HistoricDate> HistoricDate.rule()
Gets the field rule forHistoricDate
.Methods in javax.time.i18n with parameters of type CalendricalRuleModifier and TypeMethodDescription<T> T
CopticDate.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.<T> T
HistoricDate.get
(CalendricalRule<T> rule) Gets the value of the specified calendar field.<T> T
HistoricEra.get
(CalendricalRule<T> rule) Gets the value of the specified calendrical rule.