Package | Description |
---|---|
javax.time.calendar |
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
|
Modifier and Type | Field and Description |
---|---|
static DateTimeFields |
DateTimeFields.EMPTY
A singleton empty
DateTimeFields , placing no restrictions on the date-time. |
Modifier and Type | Method and Description |
---|---|
static DateTimeFields |
DateTimeFields.of(DateTimeFieldRule<?> fieldRule,
int value)
Obtains an instance of
DateTimeFields from a field-value pair. |
static DateTimeFields |
DateTimeFields.of(DateTimeFieldRule<?> fieldRule1,
int value1,
DateTimeFieldRule<?> fieldRule2,
int value2)
Obtains an instance of
DateTimeFields from two field-value pairs. |
static DateTimeFields |
DateTimeFields.of(Map<DateTimeFieldRule<?>,Integer> fieldValueMap)
Obtains an instance of
DateTimeFields from a map of field-value pairs. |
DateTimeFields |
DateTimeFields.with(DateTimeFieldRule<?> fieldRule,
int value)
Returns a copy of this DateTimeFields with the specified field value.
|
DateTimeFields |
DateTimeFields.with(DateTimeFields fields)
Returns a copy of this DateTimeFields with the specified fields added.
|
DateTimeFields |
DateTimeFields.withFieldRemoved(DateTimeFieldRule<?> fieldRule)
Returns a copy of this object with the specified field removed.
|
Modifier and Type | Method and Description |
---|---|
DateTimeFields |
DateTimeFields.with(DateTimeFields fields)
Returns a copy of this DateTimeFields with the specified fields added.
|
Copyright © 2014. All rights reserved.