Uses of Class
javax.time.calendar.DateTimeFields
Packages that use DateTimeFields
Package
Description
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
-
Uses of DateTimeFields in javax.time.calendar
Fields in javax.time.calendar declared as DateTimeFieldsModifier and TypeFieldDescriptionstatic final DateTimeFieldsDateTimeFields.EMPTYA singleton emptyDateTimeFields, placing no restrictions on the date-time.Methods in javax.time.calendar that return DateTimeFieldsModifier and TypeMethodDescriptionstatic DateTimeFieldsDateTimeFields.of(Map<DateTimeFieldRule<?>, Integer> fieldValueMap) Obtains an instance ofDateTimeFieldsfrom a map of field-value pairs.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.with(DateTimeFields fields) Returns a copy of this DateTimeFields with the specified fields added.DateTimeFields.withFieldRemoved(DateTimeFieldRule<?> fieldRule) Returns a copy of this object with the specified field removed.Methods in javax.time.calendar with parameters of type DateTimeFieldsModifier and TypeMethodDescriptionDateTimeFields.with(DateTimeFields fields) Returns a copy of this DateTimeFields with the specified fields added.