Uses of Class
javax.time.calendar.CalendricalRule
-
Packages that use CalendricalRule 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.format Provides classes to format dates and times as strings.javax.time.i18n Provides classes representing dates and times in alternate calendar systems. -
-
Uses of CalendricalRule in javax.time.calendar
Subclasses of CalendricalRule in javax.time.calendar Modifier and Type Class Description (package private) static class
Chronology.Rule
Rule implementation.class
DateTimeFieldRule<T>
The rule defining how a measurable field of time operates.(package private) static class
ISOChronology.AmPmOfDayRule
Rule implementation.(package private) static class
ISOChronology.DayOfWeekRule
Rule implementation.(package private) static class
ISOChronology.EpochDaysRule
Rule implementation.(package private) static class
ISOChronology.MonthOfYearRule
Rule implementation.(package private) static class
ISOChronology.NanoOfDayRule
Rule implementation.(package private) static class
ISOChronology.QuarterOfYearRule
Rule implementation.(package private) static class
ISOChronology.Rule
Single rule subclass, which means fewer classes to load at startup.(package private) static class
LocalDate.Rule
Rule implementation.(package private) static class
LocalDateTime.Rule
Rule implementation.(package private) static class
LocalTime.Rule
Rule implementation.(package private) static class
MonthDay.Rule
Rule implementation.(package private) static class
OffsetDate.Rule
Rule implementation.(package private) static class
OffsetDateTime.Rule
Rule implementation.(package private) static class
OffsetTime.Rule
Rule implementation.(package private) static class
TimeZone.Rule
Rule implementation.(package private) static class
YearMonth.Rule
Rule implementation.(package private) static class
ZonedDateTime.Rule
Rule implementation.(package private) static class
ZoneOffset.Rule
Rule implementation.Fields in javax.time.calendar declared as CalendricalRule Modifier and Type Field Description private static CalendricalRule<Chronology>
Chronology.Rule. INSTANCE
(package private) static CalendricalRule<java.lang.Long>
ISOChronology.EpochDaysRule. INSTANCE
Singleton instance.(package private) static CalendricalRule<java.lang.Long>
ISOChronology.NanoOfDayRule. INSTANCE
Singleton instance.private static CalendricalRule<LocalDate>
LocalDate.Rule. INSTANCE
private static CalendricalRule<LocalDateTime>
LocalDateTime.Rule. INSTANCE
private static CalendricalRule<LocalTime>
LocalTime.Rule. INSTANCE
private static CalendricalRule<MonthDay>
MonthDay.Rule. INSTANCE
private static CalendricalRule<OffsetDate>
OffsetDate.Rule. INSTANCE
private static CalendricalRule<OffsetDateTime>
OffsetDateTime.Rule. INSTANCE
private static CalendricalRule<OffsetTime>
OffsetTime.Rule. INSTANCE
private static CalendricalRule<TimeZone>
TimeZone.Rule. INSTANCE
private static CalendricalRule<YearMonth>
YearMonth.Rule. INSTANCE
private static CalendricalRule<ZonedDateTime>
ZonedDateTime.Rule. INSTANCE
private static CalendricalRule<ZoneOffset>
ZoneOffset.Rule. INSTANCE
private CalendricalRule<?>
CalendricalRuleException. rule
The rule that caused the exception.Fields in javax.time.calendar with type parameters of type CalendricalRule Modifier and Type Field Description private java.util.Map<CalendricalRule<?>,java.lang.Object>
CalendricalMerger. inputMap
The map of potentially invalid data to being merged, never null.private java.util.Iterator<CalendricalRule<?>>
CalendricalMerger. iterator
Current iterator, updated when the state of the map is changed.private java.util.Map<CalendricalRule<?>,java.lang.Object>
CalendricalMerger. processingMap
The map of in range data to be merged, never null.Methods in javax.time.calendar that return CalendricalRule Modifier and Type Method Description static CalendricalRule<java.lang.Long>
ISOChronology. epochDays()
Gets the rule for the epoch-days field.CalendricalRule<?>
CalendricalRuleException. getRule()
Gets the rule that is connected to the exception.static CalendricalRule<java.lang.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 CalendricalRule Modifier and Type Method Description java.util.Map<CalendricalRule<?>,java.lang.Object>
CalendricalMerger. getInputMap()
Gets the underlying rule-value map that is being merged.Methods in javax.time.calendar with parameters of type CalendricalRule Modifier and Type Method Description int
CalendricalRule. compareTo(CalendricalRule<?> other)
Compares thisCalendricalRule
to another.int
ISOChronology.Rule. compareTo(CalendricalRule<?> other)
<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 CalendricalRule Constructor Description CalendricalRuleException(java.lang.String message, CalendricalRule<?> fieldRule)
Constructs a new exception with a message and optional rule.InvalidCalendarFieldException(java.lang.String message, CalendricalRule<?> rule)
Constructs a new invalid field exception.UnsupportedRuleException(java.lang.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 CalendricalRule Constructor Description CalendricalMerger(CalendricalContext context, java.util.Map<CalendricalRule<?>,java.lang.Object> inputMap)
Constructor. -
Uses of CalendricalRule in javax.time.calendar.format
Fields in javax.time.calendar.format declared as CalendricalRule Modifier and Type Field Description private CalendricalRule<?>
CalendricalPrintFieldException. rule
The rule that caused the exception.Fields in javax.time.calendar.format with type parameters of type CalendricalRule Modifier and Type Field Description (package private) java.util.Map<CalendricalRule<?>,java.lang.Object>
DateTimeParseContext.Parsed. values
Methods in javax.time.calendar.format that return CalendricalRule Modifier and Type Method Description CalendricalRule<?>
CalendricalPrintFieldException. getRule()
Gets the rule that caused the exception.Methods in javax.time.calendar.format that return types with arguments of type CalendricalRule Modifier and Type Method Description java.util.Set<CalendricalRule<?>>
DateTimeParseContext. getParsedRules()
Gets the set of parsed rules.Methods in javax.time.calendar.format with parameters of type CalendricalRule Modifier and Type Method Description java.lang.Object
DateTimeParseContext. getParsed(CalendricalRule<?> rule)
Gets the parsed value for the specified rule.<T> T
DateTimeFormatter. parse(java.lang.String text, CalendricalRule<T> rule)
Fully parses the text producing an object of the type defined by the rule.void
DateTimeParseContext. setParsed(CalendricalRule<?> rule, java.lang.Object value)
Sets the parsed value associated with the specified rule. -
Uses of CalendricalRule in javax.time.i18n
Subclasses of CalendricalRule in javax.time.i18n Modifier and Type Class Description private static class
CopticChronology.DayOfMonthRule
Rule implementation.private static class
CopticChronology.DayOfWeekRule
Rule implementation.private static class
CopticChronology.DayOfYearRule
Rule implementation.private static class
CopticChronology.MonthOfYearRule
Rule implementation.private static class
CopticChronology.YearRule
Rule implementation.(package private) static class
CopticDate.Rule
Rule implementation.private static class
HistoricChronology.DayOfMonthRule
Rule implementation.private static class
HistoricChronology.DayOfWeekRule
Rule implementation.private static class
HistoricChronology.DayOfYearRule
Rule implementation.private static class
HistoricChronology.EraRule
Rule implementation.private static class
HistoricChronology.MonthOfYearRule
Rule implementation.private static class
HistoricChronology.YearRule
Rule implementation.(package private) static class
HistoricDate.Rule
Rule implementation.Fields in javax.time.i18n declared as CalendricalRule Modifier and Type Field Description private static CalendricalRule<CopticDate>
CopticDate.Rule. INSTANCE
private static CalendricalRule<HistoricDate>
HistoricDate.Rule. INSTANCE
Methods in javax.time.i18n that return CalendricalRule Modifier and Type Method Description static 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 CalendricalRule Modifier and Type Method Description <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.
-