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 classChronology.RuleRule implementation.classDateTimeFieldRule<T>The rule defining how a measurable field of time operates.(package private) static classISOChronology.AmPmOfDayRuleRule implementation.(package private) static classISOChronology.DayOfWeekRuleRule implementation.(package private) static classISOChronology.EpochDaysRuleRule implementation.(package private) static classISOChronology.MonthOfYearRuleRule implementation.(package private) static classISOChronology.NanoOfDayRuleRule implementation.(package private) static classISOChronology.QuarterOfYearRuleRule implementation.(package private) static classISOChronology.RuleSingle rule subclass, which means fewer classes to load at startup.(package private) static classLocalDate.RuleRule implementation.(package private) static classLocalDateTime.RuleRule implementation.(package private) static classLocalTime.RuleRule implementation.(package private) static classMonthDay.RuleRule implementation.(package private) static classOffsetDate.RuleRule implementation.(package private) static classOffsetDateTime.RuleRule implementation.(package private) static classOffsetTime.RuleRule implementation.(package private) static classTimeZone.RuleRule implementation.(package private) static classYearMonth.RuleRule implementation.(package private) static classZonedDateTime.RuleRule implementation.(package private) static classZoneOffset.RuleRule 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. INSTANCESingleton instance.(package private) static CalendricalRule<java.lang.Long>ISOChronology.NanoOfDayRule. INSTANCESingleton instance.private static CalendricalRule<LocalDate>LocalDate.Rule. INSTANCEprivate static CalendricalRule<LocalDateTime>LocalDateTime.Rule. INSTANCEprivate static CalendricalRule<LocalTime>LocalTime.Rule. INSTANCEprivate static CalendricalRule<MonthDay>MonthDay.Rule. INSTANCEprivate static CalendricalRule<OffsetDate>OffsetDate.Rule. INSTANCEprivate static CalendricalRule<OffsetDateTime>OffsetDateTime.Rule. INSTANCEprivate static CalendricalRule<OffsetTime>OffsetTime.Rule. INSTANCEprivate static CalendricalRule<TimeZone>TimeZone.Rule. INSTANCEprivate static CalendricalRule<YearMonth>YearMonth.Rule. INSTANCEprivate static CalendricalRule<ZonedDateTime>ZonedDateTime.Rule. INSTANCEprivate static CalendricalRule<ZoneOffset>ZoneOffset.Rule. INSTANCEprivate CalendricalRule<?>CalendricalRuleException. ruleThe 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. inputMapThe map of potentially invalid data to being merged, never null.private java.util.Iterator<CalendricalRule<?>>CalendricalMerger. iteratorCurrent iterator, updated when the state of the map is changed.private java.util.Map<CalendricalRule<?>,java.lang.Object>CalendricalMerger. processingMapThe 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 intCalendricalRule. compareTo(CalendricalRule<?> other)Compares thisCalendricalRuleto another.intISOChronology.Rule. compareTo(CalendricalRule<?> other)<R> RCalendricalRule. deriveValueFor(CalendricalRule<R> rule, T value, Calendrical calendrical, Chronology chronology)Derives the value of the specified rule from a calendrical.<T> TAmPmOfDay. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TCalendrical. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TCalendricalMerger. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule from the merged result.<T> TChronology. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TDateTimeFields. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TDayOfWeek. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TLocalDate. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TLocalDateTime. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TLocalTime. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TMonthDay. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TMonthOfYear. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TOffsetDate. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TOffsetDateTime. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TOffsetTime. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TQuarterOfYear. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TTimeZone. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TYear. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TYearMonth. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TZonedDateTime. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TZoneOffset. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> TCalendricalMerger. getValue(CalendricalRule<T> rule)Gets the value of the specified calendrical rule from the merged result.voidCalendricalMerger. removeProcessed(CalendricalRule<?> rule)Removes a rule and its value from the map being processed.<T> voidCalendricalMerger. 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. ruleThe 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. valuesMethods 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.ObjectDateTimeParseContext. getParsed(CalendricalRule<?> rule)Gets the parsed value for the specified rule.<T> TDateTimeFormatter. parse(java.lang.String text, CalendricalRule<T> rule)Fully parses the text producing an object of the type defined by the rule.voidDateTimeParseContext. 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 classCopticChronology.DayOfMonthRuleRule implementation.private static classCopticChronology.DayOfWeekRuleRule implementation.private static classCopticChronology.DayOfYearRuleRule implementation.private static classCopticChronology.MonthOfYearRuleRule implementation.private static classCopticChronology.YearRuleRule implementation.(package private) static classCopticDate.RuleRule implementation.private static classHistoricChronology.DayOfMonthRuleRule implementation.private static classHistoricChronology.DayOfWeekRuleRule implementation.private static classHistoricChronology.DayOfYearRuleRule implementation.private static classHistoricChronology.EraRuleRule implementation.private static classHistoricChronology.MonthOfYearRuleRule implementation.private static classHistoricChronology.YearRuleRule implementation.(package private) static classHistoricDate.RuleRule implementation.Fields in javax.time.i18n declared as CalendricalRule Modifier and Type Field Description private static CalendricalRule<CopticDate>CopticDate.Rule. INSTANCEprivate static CalendricalRule<HistoricDate>HistoricDate.Rule. INSTANCEMethods 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> TCopticDate. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.<T> THistoricDate. get(CalendricalRule<T> rule)Gets the value of the specified calendar field.<T> THistoricEra. get(CalendricalRule<T> rule)Gets the value of the specified calendrical rule.
-