final class BasicDayOfMonthDateTimeField extends PreciseDurationDateTimeField
| Modifier and Type | Field and Description |
|---|---|
private BasicChronology |
iChronology |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
BasicDayOfMonthDateTimeField(BasicChronology chronology,
DurationField days)
Restricted constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
get(long instant)
Get the value of this field from the milliseconds.
|
int |
getMaximumValue()
Get the maximum allowable value for this field.
|
int |
getMaximumValue(long instant)
Get the maximum value for this field evaluated at the specified time.
|
int |
getMaximumValue(ReadablePartial partial)
Get the maximum value for this field evaluated at the specified instant.
|
int |
getMaximumValue(ReadablePartial partial,
int[] values)
Get the maximum value for this field using the partial instant and
the specified values.
|
protected int |
getMaximumValueForSet(long instant,
int value)
Called by the set method to get the maximum allowed value.
|
int |
getMinimumValue()
Get the minimum value for the field.
|
DurationField |
getRangeDurationField()
Returns the range duration of this field.
|
boolean |
isLeap(long instant)
Returns whether this field is 'leap' for the specified instant.
|
private java.lang.Object |
readResolve()
Serialization singleton
|
getDurationField, getUnitMillis, isLenient, remainder, roundCeiling, roundFloor, setadd, add, add, addWrapField, addWrapField, addWrapPartial, convertText, getAsShortText, getAsShortText, getAsShortText, getAsShortText, getAsShortText, getAsText, getAsText, getAsText, getAsText, getAsText, getDifference, getDifferenceAsLong, getLeapAmount, getLeapDurationField, getMaximumShortTextLength, getMaximumTextLength, getMinimumValue, getMinimumValue, getMinimumValue, getName, getType, isSupported, roundHalfCeiling, roundHalfEven, roundHalfFloor, set, set, set, set, toStringsetExtendedprivate static final long serialVersionUID
private final BasicChronology iChronology
BasicDayOfMonthDateTimeField(BasicChronology chronology, DurationField days)
public int get(long instant)
BaseDateTimeFieldget in class BaseDateTimeFieldinstant - the milliseconds from 1970-01-01T00:00:00Z to querypublic DurationField getRangeDurationField()
BaseDateTimeFieldgetRangeDurationField in class BaseDateTimeFieldpublic int getMinimumValue()
PreciseDurationDateTimeFieldgetMinimumValue in class PreciseDurationDateTimeFieldpublic int getMaximumValue()
BaseDateTimeFieldgetMaximumValue in class BaseDateTimeFieldpublic int getMaximumValue(long instant)
BaseDateTimeField
This implementation returns the same as BaseDateTimeField.getMaximumValue().
getMaximumValue in class BaseDateTimeFieldinstant - the milliseconds from 1970-01-01T00:00:00Z to querypublic int getMaximumValue(ReadablePartial partial)
BaseDateTimeField
This implementation returns the same as BaseDateTimeField.getMaximumValue().
getMaximumValue in class BaseDateTimeFieldpartial - the partial instant to querypublic int getMaximumValue(ReadablePartial partial, int[] values)
BaseDateTimeField
This implementation returns the same as BaseDateTimeField.getMaximumValue(ReadablePartial).
getMaximumValue in class BaseDateTimeFieldpartial - the partial instant to queryvalues - the values to useprotected int getMaximumValueForSet(long instant,
int value)
PreciseDurationDateTimeFieldgetMaximumValueForSet in class PreciseDurationDateTimeFieldpublic boolean isLeap(long instant)
BaseDateTimeFieldFor example, a leap year would return true, a non leap year would return false.
This implementation returns false.
isLeap in class BaseDateTimeFieldinstant - the instant to check for leap statusprivate java.lang.Object readResolve()