abstract
int[]
|
add(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant,
throwing an exception if the maximum size of the instant is reached.
|
abstract
long
|
add(long instant, long value)
Adds a value (which may be negative) to the millis value,
overflowing into larger fields if necessary.
|
abstract
long
|
add(long instant, int value)
Adds a value (which may be negative) to the millis value,
overflowing into larger fields if necessary.
|
abstract
long
|
addWrapField(long instant, int value)
Adds a value (which may be negative) to the millis value,
wrapping within this field.
|
abstract
int[]
|
addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant,
wrapping within this field.
|
abstract
int[]
|
addWrapPartial(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant,
wrapping the whole partial if the maximum size of the partial is reached.
|
abstract
int
|
get(long instant)
Get the value of this field from the milliseconds.
|
abstract
String
|
getAsShortText(ReadablePartial partial, int fieldValue, Locale locale)
Get the human-readable, short text value of this field from a partial instant.
|
abstract
String
|
getAsShortText(int fieldValue, Locale locale)
Get the human-readable, short text value of this field from the field value.
|
abstract
String
|
getAsShortText(ReadablePartial partial, Locale locale)
Get the human-readable, short text value of this field from a partial instant.
|
abstract
String
|
getAsShortText(long instant)
Get the human-readable, short text value of this field from the
milliseconds.
|
abstract
String
|
getAsShortText(long instant, Locale locale)
Get the human-readable, short text value of this field from the
milliseconds.
|
abstract
String
|
getAsText(ReadablePartial partial, Locale locale)
Get the human-readable, text value of this field from a partial instant.
|
abstract
String
|
getAsText(int fieldValue, Locale locale)
Get the human-readable, text value of this field from the field value.
|
abstract
String
|
getAsText(long instant, Locale locale)
Get the human-readable, text value of this field from the milliseconds.
|
abstract
String
|
getAsText(long instant)
Get the human-readable, text value of this field from the milliseconds.
|
abstract
String
|
getAsText(ReadablePartial partial, int fieldValue, Locale locale)
Get the human-readable, text value of this field from a partial instant.
|
abstract
int
|
getDifference(long minuendInstant, long subtrahendInstant)
Computes the difference between two instants, as measured in the units
of this field.
|
abstract
long
|
getDifferenceAsLong(long minuendInstant, long subtrahendInstant)
Computes the difference between two instants, as measured in the units
of this field.
|
abstract
DurationField
|
getDurationField()
Returns the duration per unit value of this field.
|
abstract
int
|
getLeapAmount(long instant)
Gets the amount by which this field is 'leap' for the specified instant.
|
abstract
DurationField
|
getLeapDurationField()
If this field were to leap, then it would be in units described by the
returned duration.
|
abstract
int
|
getMaximumShortTextLength(Locale locale)
Get the maximum short text value for this field.
|
abstract
int
|
getMaximumTextLength(Locale locale)
Get the maximum text value for this field.
|
abstract
int
|
getMaximumValue(long instant)
Get the maximum value for this field evaluated at the specified time.
|
abstract
int
|
getMaximumValue(ReadablePartial instant)
Get the maximum value for this field evaluated at the specified time.
|
abstract
int
|
getMaximumValue()
Get the maximum allowable value for this field.
|
abstract
int
|
getMaximumValue(ReadablePartial instant, int[] values)
Get the maximum value for this field using the partial instant and
the specified values.
|
abstract
int
|
getMinimumValue(ReadablePartial instant)
Get the minimum value for this field evaluated at the specified time.
|
abstract
int
|
getMinimumValue(ReadablePartial instant, int[] values)
Get the minimum value for this field using the partial instant and
the specified values.
|
abstract
int
|
getMinimumValue(long instant)
Get the minimum value for this field evaluated at the specified time.
|
abstract
int
|
getMinimumValue()
Get the minimum allowable value for this field.
|
abstract
String
|
getName()
Get the name of the field.
|
abstract
DurationField
|
getRangeDurationField()
Returns the range duration of this field.
|
abstract
DateTimeFieldType
|
getType()
Get the type of the field.
|
abstract
boolean
|
isLeap(long instant)
Returns whether this field is 'leap' for the specified instant.
|
abstract
boolean
|
isLenient()
Returns true if the set method is lenient.
|
abstract
boolean
|
isSupported()
Returns true if this field is supported.
|
abstract
long
|
remainder(long instant)
Returns the fractional duration milliseconds of this field.
|
abstract
long
|
roundCeiling(long instant)
Round to the highest whole unit of this field.
|
abstract
long
|
roundFloor(long instant)
Round to the lowest whole unit of this field.
|
abstract
long
|
roundHalfCeiling(long instant)
Round to the nearest whole unit of this field.
|
abstract
long
|
roundHalfEven(long instant)
Round to the nearest whole unit of this field.
|
abstract
long
|
roundHalfFloor(long instant)
Round to the nearest whole unit of this field.
|
abstract
long
|
set(long instant, String text, Locale locale)
Sets a value in the milliseconds supplied from a human-readable, text value.
|
abstract
int[]
|
set(ReadablePartial instant, int fieldIndex, int[] values, int newValue)
Sets a value using the specified partial instant.
|
abstract
int[]
|
set(ReadablePartial instant, int fieldIndex, int[] values, String text, Locale locale)
Sets a value in the milliseconds supplied from a human-readable, text value.
|
abstract
long
|
set(long instant, int value)
Sets a value in the milliseconds supplied.
|
abstract
long
|
set(long instant, String text)
Sets a value in the milliseconds supplied from a human-readable, text value.
|
abstract
String
|
toString()
Get a suitable debug string.
|