Uses of Class
javax.time.calendar.DateTimeFieldRule
-
Packages that use DateTimeFieldRule 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 DateTimeFieldRule in javax.time.calendar
Methods in javax.time.calendar that return DateTimeFieldRule Modifier and Type Method Description static 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 DateTimeFieldRule Modifier and Type Method Description Iterator<DateTimeFieldRule<?>>DateTimeFields. iterator()Iterates through all the field rules.SortedMap<DateTimeFieldRule<?>,Integer>DateTimeFields. toFieldValueMap()Converts this object to a map of fields to values.Methods in javax.time.calendar with parameters of type DateTimeFieldRule Modifier and Type Method Description booleanDateTimeFields. 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.IntegerDateTimeFields. 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.DateTimeFieldsDateTimeFields. with(DateTimeFieldRule<?> fieldRule, int value)Returns a copy of this DateTimeFields with the specified field value.DateTimeFieldsDateTimeFields. 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 DateTimeFieldRule Modifier and Type Method Description static 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 DateTimeFieldRule Constructor Description IllegalCalendarFieldValueException(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 DateTimeFieldRule Modifier and Type Method Description DateTimeFormatterBuilderDateTimeFormatterBuilder. appendFraction(DateTimeFieldRule<?> rule, int minWidth, int maxWidth)Appends the fractional value of a date-time field to the formatter.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendText(DateTimeFieldRule<?> rule)Appends the text of a date-time field to the formatter using the full text style.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendText(DateTimeFieldRule<?> rule, DateTimeFormatterBuilder.TextStyle textStyle)Appends the text of a date-time field to the formatter.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendValue(DateTimeFieldRule<?> rule)Appends the value of a date-time field to the formatter using a normal output style.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendValue(DateTimeFieldRule<?> rule, int width)Appends the value of a date-time field to the formatter using a fixed width, zero-padded approach.DateTimeFormatterBuilderDateTimeFormatterBuilder. 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.DateTimeFormatterBuilderDateTimeFormatterBuilder. 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 DateTimeFieldRule Constructor Description CalendricalPrintFieldException(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 DateTimeFieldRule Modifier and Type Method Description static DateTimeFieldRule<Integer>CopticChronology. dayOfMonthRule()Gets the rule for the day-of-month field in the Coptic chronology.DateTimeFieldRule<Integer>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.DateTimeFieldRule<DayOfWeek>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.DateTimeFieldRule<Integer>HistoricChronology. dayOfYearRule()Gets the rule for the day-of-year field in the Historic chronology.DateTimeFieldRule<HistoricEra>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.DateTimeFieldRule<MonthOfYear>HistoricChronology. monthOfYearRule()Gets the rule for the month-of-year field in the Historic chronology.DateTimeFieldRule<Integer>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.DateTimeFieldRule<Integer>HistoricChronology. yearRule()Gets the rule for the year field in the Historic chronology.
-