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 DateTimeFields
DateTimeFields.EMPTY
A singleton emptyDateTimeFields
, placing no restrictions on the date-time.Methods in javax.time.calendar that return DateTimeFieldsModifier and TypeMethodDescriptionstatic DateTimeFields
DateTimeFields.of
(Map<DateTimeFieldRule<?>, Integer> fieldValueMap) Obtains an instance ofDateTimeFields
from a map of field-value pairs.static DateTimeFields
DateTimeFields.of
(DateTimeFieldRule<?> fieldRule, int value) Obtains an instance ofDateTimeFields
from a field-value pair.static DateTimeFields
DateTimeFields.of
(DateTimeFieldRule<?> fieldRule1, int value1, DateTimeFieldRule<?> fieldRule2, int value2) Obtains an instance ofDateTimeFields
from 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.