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 class
DateTimeFieldRule<T>
The rule defining how a measurable field of time operates.Methods in javax.time.calendar that return CalendricalRule Modifier and Type Method Description static CalendricalRule<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<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 Map<CalendricalRule<?>,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.<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(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 CalendricalRule Constructor Description CalendricalMerger(CalendricalContext context, Map<CalendricalRule<?>,Object> inputMap)
Constructor. -
Uses of CalendricalRule in javax.time.calendar.format
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 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 Object
DateTimeParseContext. 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
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.
-