Uses of Class
javax.time.calendar.DateTimeFieldRule
Packages that use DateTimeFieldRule
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 DateTimeFieldRule in javax.time.calendar
Classes in javax.time.calendar that implement interfaces with type arguments of type DateTimeFieldRuleMethods in javax.time.calendar that return DateTimeFieldRuleModifier and TypeMethodDescriptionstatic DateTimeFieldRule<AmPmOfDay> ISOChronology.amPmOfDayRule()Gets the rule for the AM/PM of day field.static DateTimeFieldRule<Integer> ISOChronology.clockHourOfAmPmRule()Gets the rule for the clock hour of AM/PM field from 1 to 12.static DateTimeFieldRule<Integer> ISOChronology.clockHourOfDayRule()Gets the rule for the clock hour of AM/PM field from 1 to 24.static DateTimeFieldRule<Integer> ISOChronology.dayOfMonthRule()Gets the rule for the day-of-month field in the ISO chronology.static DateTimeFieldRule<DayOfWeek> ISOChronology.dayOfWeekRule()Gets the rule for the day-of-week field.static DateTimeFieldRule<Integer> ISOChronology.dayOfYearRule()Gets the rule for the day-of-year field in the ISO chronology.static DateTimeFieldRule<Integer> ISOChronology.hourOfAmPmRule()Gets the rule for the hour of AM/PM field from 0 to 11.static DateTimeFieldRule<Integer> ISOChronology.hourOfDayRule()Gets the rule for the hour-of-day field.static DateTimeFieldRule<Integer> ISOChronology.milliOfDayRule()Gets the rule for the milli-of-day field.static DateTimeFieldRule<Integer> ISOChronology.milliOfSecondRule()Gets the rule for the milli-of-second field.static DateTimeFieldRule<Integer> ISOChronology.minuteOfHourRule()Gets the rule for the minute-of-hour field.static DateTimeFieldRule<Integer> ISOChronology.monthOfQuarterRule()Gets the rule for the month-of-quarter field in the ISO chronology.static DateTimeFieldRule<MonthOfYear> ISOChronology.monthOfYearRule()Gets the rule for the month-of-year field in the ISO chronology.static DateTimeFieldRule<Integer> ISOChronology.nanoOfSecondRule()Gets the rule for the nano-of-second field.static DateTimeFieldRule<QuarterOfYear> ISOChronology.quarterOfYearRule()Gets the rule for the quarter-of-year field in the ISO chronology.static DateTimeFieldRule<Integer> Year.rule()Gets the rule that defines how the year field operates.static DateTimeFieldRule<Integer> ISOChronology.secondOfDayRule()Gets the rule for the second-of-day field.static DateTimeFieldRule<Integer> ISOChronology.secondOfMinuteRule()Gets the rule for the second-of-minute field.static DateTimeFieldRule<Integer> ISOChronology.weekBasedYearRule()Gets the rule for the week-based-year field in the ISO chronology.static DateTimeFieldRule<Integer> ISOChronology.weekOfMonthRule()Gets the rule for the week-of-month field in the ISO chronology.static DateTimeFieldRule<Integer> ISOChronology.weekOfWeekBasedYearRule()Gets the rule for the week-of-week-based-year field in the ISO chronology.static DateTimeFieldRule<Integer> ISOChronology.weekOfYearRule()Gets the rule for the week-of-year field in the ISO chronology.static DateTimeFieldRule<Integer> ISOChronology.yearRule()Gets the rule for the year field in the ISO chronology.Methods in javax.time.calendar that return types with arguments of type DateTimeFieldRuleModifier and TypeMethodDescriptionDateTimeFields.iterator()Iterates through all the field rules.DateTimeFields.toFieldValueMap()Converts this object to a map of fields to values.Methods in javax.time.calendar with parameters of type DateTimeFieldRuleModifier and TypeMethodDescriptionbooleanDateTimeFields.contains(DateTimeFieldRule<?> fieldRule) Checks if this object contains a mapping for the specified field.intDateTimeFields.getInt(DateTimeFieldRule<?> rule) Gets the value for the specified field throwing an exception if the field is not in the field-value map.DateTimeFields.getQuiet(DateTimeFieldRule<?> fieldRule) Gets the value for the specified field quietly returning null if the field is not in the field-value map.static DateTimeFieldsDateTimeFields.of(DateTimeFieldRule<?> fieldRule, int value) Obtains an instance ofDateTimeFieldsfrom a field-value pair.static DateTimeFieldsDateTimeFields.of(DateTimeFieldRule<?> fieldRule1, int value1, DateTimeFieldRule<?> fieldRule2, int value2) Obtains an instance ofDateTimeFieldsfrom two field-value pairs.DateTimeFields.with(DateTimeFieldRule<?> fieldRule, int value) Returns a copy of this DateTimeFields with the specified field value.DateTimeFields.withFieldRemoved(DateTimeFieldRule<?> fieldRule) Returns a copy of this object with the specified field removed.Method parameters in javax.time.calendar with type arguments of type DateTimeFieldRuleModifier and TypeMethodDescriptionstatic DateTimeFieldsDateTimeFields.of(Map<DateTimeFieldRule<?>, Integer> fieldValueMap) Obtains an instance ofDateTimeFieldsfrom a map of field-value pairs.Constructors in javax.time.calendar with parameters of type DateTimeFieldRuleModifierConstructorDescriptionIllegalCalendarFieldValueException(String message, DateTimeFieldRule<?> fieldRule) Constructs a new illegal field value exception with the specified message.IllegalCalendarFieldValueException(DateTimeFieldRule<?> fieldRule, long actual, int minValue, int maxValue) Constructs a new illegal field value exception with a standard message. -
Uses of DateTimeFieldRule in javax.time.calendar.format
Methods in javax.time.calendar.format with parameters of type DateTimeFieldRuleModifier and TypeMethodDescriptionDateTimeFormatterBuilder.appendFraction(DateTimeFieldRule<?> rule, int minWidth, int maxWidth) Appends the fractional value of a date-time field to the formatter.DateTimeFormatterBuilder.appendText(DateTimeFieldRule<?> rule) Appends the text of a date-time field to the formatter using the full text style.DateTimeFormatterBuilder.appendText(DateTimeFieldRule<?> rule, DateTimeFormatterBuilder.TextStyle textStyle) Appends the text of a date-time field to the formatter.DateTimeFormatterBuilder.appendValue(DateTimeFieldRule<?> rule) Appends the value of a date-time field to the formatter using a normal output style.DateTimeFormatterBuilder.appendValue(DateTimeFieldRule<?> rule, int width) Appends the value of a date-time field to the formatter using a fixed width, zero-padded approach.DateTimeFormatterBuilder.appendValue(DateTimeFieldRule<?> rule, int minWidth, int maxWidth, DateTimeFormatterBuilder.SignStyle signStyle) Appends the value of a date-time field to the formatter providing full control over printing.DateTimeFormatterBuilder.appendValueReduced(DateTimeFieldRule<?> rule, int width, int baseValue) Appends the reduced value of a date-time field to the formatter.voidDateTimeParseContext.setParsed(DateTimeFieldRule<?> rule, int value) Sets the parsed value associated with the specified rule.Constructors in javax.time.calendar.format with parameters of type DateTimeFieldRuleModifierConstructorDescriptionCalendricalPrintFieldException(String msg, DateTimeFieldRule<?> fieldRule, int value) Constructs a new exception using the specified message.CalendricalPrintFieldException(DateTimeFieldRule<?> fieldRule, int value) Constructs a new exception creating a standard error message for unable to print a negative value.CalendricalPrintFieldException(DateTimeFieldRule<?> fieldRule, int value, int maxWidth) Constructs a new exception creating a standard error message for exceeding padding width. -
Uses of DateTimeFieldRule in javax.time.i18n
Methods in javax.time.i18n that return DateTimeFieldRuleModifier and TypeMethodDescriptionstatic DateTimeFieldRule<Integer> CopticChronology.dayOfMonthRule()Gets the rule for the day-of-month field in the Coptic chronology.HistoricChronology.dayOfMonthRule()Gets the rule for the day-of-month field in the Historic chronology.static DateTimeFieldRule<DayOfWeek> CopticChronology.dayOfWeekRule()Gets the rule for the day-of-week field in the Coptic chronology.HistoricChronology.dayOfWeekRule()Gets the rule for the day-of-week field in the Historic chronology.static DateTimeFieldRule<Integer> CopticChronology.dayOfYearRule()Gets the rule for the day-of-year field in the Coptic chronology.HistoricChronology.dayOfYearRule()Gets the rule for the day-of-year field in the Historic chronology.HistoricChronology.eraRule()Gets the rule for the year field in the Historic chronology.static DateTimeFieldRule<Integer> CopticChronology.monthOfYearRule()Gets the rule for the month-of-year field in the Coptic chronology.HistoricChronology.monthOfYearRule()Gets the rule for the month-of-year field in the Historic chronology.HistoricChronology.yearOfEraRule()Gets the rule for the year field in the Historic chronology.static DateTimeFieldRule<Integer> CopticChronology.yearRule()Gets the rule for the year field in the Coptic chronology.HistoricChronology.yearRule()Gets the rule for the year field in the Historic chronology.