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
Subclasses of DateTimeFieldRule in javax.time.calendar Modifier and Type Class Description (package private) static classISOChronology.AmPmOfDayRuleRule implementation.(package private) static classISOChronology.DayOfWeekRuleRule implementation.(package private) static classISOChronology.MonthOfYearRuleRule implementation.(package private) static classISOChronology.QuarterOfYearRuleRule implementation.(package private) static classISOChronology.RuleSingle rule subclass, which means fewer classes to load at startup.Fields in javax.time.calendar declared as DateTimeFieldRule Modifier and Type Field Description (package private) static DateTimeFieldRule<AmPmOfDay>ISOChronology.AmPmOfDayRule. INSTANCESingleton instance.(package private) static DateTimeFieldRule<DayOfWeek>ISOChronology.DayOfWeekRule. INSTANCESingleton instance.(package private) static DateTimeFieldRule<MonthOfYear>ISOChronology.MonthOfYearRule. INSTANCESingleton instance.(package private) static DateTimeFieldRule<QuarterOfYear>ISOChronology.QuarterOfYearRule. INSTANCESingleton instance.Fields in javax.time.calendar with type parameters of type DateTimeFieldRule Modifier and Type Field Description private java.util.TreeMap<DateTimeFieldRule<?>,java.lang.Integer>DateTimeFields. fieldValueMapThe date time map, never null, may be empty.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<java.lang.Integer>ISOChronology. clockHourOfAmPmRule()Gets the rule for the clock hour of AM/PM field from 1 to 12.static DateTimeFieldRule<java.lang.Integer>ISOChronology. clockHourOfDayRule()Gets the rule for the clock hour of AM/PM field from 1 to 24.static DateTimeFieldRule<java.lang.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<java.lang.Integer>ISOChronology. dayOfYearRule()Gets the rule for the day-of-year field in the ISO chronology.static DateTimeFieldRule<java.lang.Integer>ISOChronology. hourOfAmPmRule()Gets the rule for the hour of AM/PM field from 0 to 11.static DateTimeFieldRule<java.lang.Integer>ISOChronology. hourOfDayRule()Gets the rule for the hour-of-day field.static DateTimeFieldRule<java.lang.Integer>ISOChronology. milliOfDayRule()Gets the rule for the milli-of-day field.static DateTimeFieldRule<java.lang.Integer>ISOChronology. milliOfSecondRule()Gets the rule for the milli-of-second field.static DateTimeFieldRule<java.lang.Integer>ISOChronology. minuteOfHourRule()Gets the rule for the minute-of-hour field.static DateTimeFieldRule<java.lang.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<java.lang.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<java.lang.Integer>Year. rule()Gets the rule that defines how the year field operates.static DateTimeFieldRule<java.lang.Integer>ISOChronology. secondOfDayRule()Gets the rule for the second-of-day field.static DateTimeFieldRule<java.lang.Integer>ISOChronology. secondOfMinuteRule()Gets the rule for the second-of-minute field.static DateTimeFieldRule<java.lang.Integer>ISOChronology. weekBasedYearRule()Gets the rule for the week-based-year field in the ISO chronology.static DateTimeFieldRule<java.lang.Integer>ISOChronology. weekOfMonthRule()Gets the rule for the week-of-month field in the ISO chronology.static DateTimeFieldRule<java.lang.Integer>ISOChronology. weekOfWeekBasedYearRule()Gets the rule for the week-of-week-based-year field in the ISO chronology.static DateTimeFieldRule<java.lang.Integer>ISOChronology. weekOfYearRule()Gets the rule for the week-of-year field in the ISO chronology.static DateTimeFieldRule<java.lang.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 private java.util.TreeMap<DateTimeFieldRule<?>,java.lang.Integer>DateTimeFields. clonedMap()Clones the field-value map.private static java.util.TreeMap<DateTimeFieldRule<?>,java.lang.Integer>DateTimeFields. createMap()Creates a new empty map.java.util.Iterator<DateTimeFieldRule<?>>DateTimeFields. iterator()Iterates through all the field rules.java.util.SortedMap<DateTimeFieldRule<?>,java.lang.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.java.lang.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(java.util.Map<DateTimeFieldRule<?>,java.lang.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(java.lang.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.Constructor parameters in javax.time.calendar with type arguments of type DateTimeFieldRule Constructor Description DateTimeFields(java.util.TreeMap<DateTimeFieldRule<?>,java.lang.Integer> assignedMap)Constructor. -
Uses of DateTimeFieldRule in javax.time.calendar.format
Fields in javax.time.calendar.format declared as DateTimeFieldRule Modifier and Type Field Description private DateTimeFieldRule<?>FractionPrinterParser. ruleThe rule to output, not null.(package private) DateTimeFieldRule<?>NumberPrinterParser. ruleThe rule to output, not null.private DateTimeFieldRule<?>TextPrinterParser. ruleThe rule to output, not null.Fields in javax.time.calendar.format with type parameters of type DateTimeFieldRule Modifier and Type Field Description private static java.util.Map<java.lang.Character,DateTimeFieldRule<?>>DateTimeFormatterBuilder. RULE_MAPMap of letters to rules.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.private voidDateTimeFormatterBuilder. parseRule(char cur, int count, DateTimeFieldRule<?> rule, int fraction)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(java.lang.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.FractionPrinterParser(DateTimeFieldRule<?> rule, int minWidth, int maxWidth)Constructor.NumberPrinterParser(DateTimeFieldRule<?> rule, int minWidth, int maxWidth, DateTimeFormatterBuilder.SignStyle signStyle)Constructor.NumberPrinterParser(DateTimeFieldRule<?> rule, int minWidth, int maxWidth, DateTimeFormatterBuilder.SignStyle signStyle, int subsequentWidth)Constructor.ReducedPrinterParser(DateTimeFieldRule<?> rule, int width, int baseValue)Constructor.TextPrinterParser(DateTimeFieldRule<?> rule, DateTimeFormatterBuilder.TextStyle textStyle)Constructor. -
Uses of DateTimeFieldRule in javax.time.i18n
Subclasses of DateTimeFieldRule 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.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.Fields in javax.time.i18n declared as DateTimeFieldRule Modifier and Type Field Description private static DateTimeFieldRule<java.lang.Integer>CopticChronology.DayOfMonthRule. INSTANCESingleton instance.private static DateTimeFieldRule<DayOfWeek>CopticChronology.DayOfWeekRule. INSTANCESingleton instance.private static DateTimeFieldRule<java.lang.Integer>CopticChronology.DayOfYearRule. INSTANCESingleton instance.private static DateTimeFieldRule<java.lang.Integer>CopticChronology.MonthOfYearRule. INSTANCESingleton instance.private static DateTimeFieldRule<java.lang.Integer>CopticChronology.YearRule. INSTANCESingleton instance.Methods in javax.time.i18n that return DateTimeFieldRule Modifier and Type Method Description static DateTimeFieldRule<java.lang.Integer>CopticChronology. dayOfMonthRule()Gets the rule for the day-of-month field in the Coptic chronology.DateTimeFieldRule<java.lang.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<java.lang.Integer>CopticChronology. dayOfYearRule()Gets the rule for the day-of-year field in the Coptic chronology.DateTimeFieldRule<java.lang.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<java.lang.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<java.lang.Integer>HistoricChronology. yearOfEraRule()Gets the rule for the year field in the Historic chronology.static DateTimeFieldRule<java.lang.Integer>CopticChronology. yearRule()Gets the rule for the year field in the Coptic chronology.DateTimeFieldRule<java.lang.Integer>HistoricChronology. yearRule()Gets the rule for the year field in the Historic chronology.
-