final class GJDayOfWeekDateTimeField extends PreciseDurationDateTimeField
| Modifier and Type | Field and Description |
|---|---|
private BasicChronology |
iChronology |
private static long |
serialVersionUID
Serialization version
|
| Constructor and Description |
|---|
GJDayOfWeekDateTimeField(BasicChronology chronology,
DurationField days)
Restricted constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
convertText(java.lang.String text,
java.util.Locale locale)
Convert the specified text and locale into a value.
|
int |
get(long instant)
Get the value of the specified time instant.
|
java.lang.String |
getAsShortText(int fieldValue,
java.util.Locale locale)
Get the abbreviated textual value of the specified time instant.
|
java.lang.String |
getAsText(int fieldValue,
java.util.Locale locale)
Get the textual value of the specified time instant.
|
int |
getMaximumShortTextLength(java.util.Locale locale)
Get the maximum length of the abbreviated text returned by this field.
|
int |
getMaximumTextLength(java.util.Locale locale)
Get the maximum length of the text returned by this field.
|
int |
getMaximumValue()
Get the maximum value that this field can have.
|
int |
getMinimumValue()
Get the minimum value that this field can have.
|
DurationField |
getRangeDurationField()
Returns the range duration of this field.
|
private java.lang.Object |
readResolve()
Serialization singleton
|
getDurationField, getMaximumValueForSet, getUnitMillis, isLenient, remainder, roundCeiling, roundFloor, setadd, add, add, addWrapField, addWrapField, addWrapPartial, getAsShortText, getAsShortText, getAsShortText, getAsShortText, getAsText, getAsText, getAsText, getAsText, getDifference, getDifferenceAsLong, getLeapAmount, getLeapDurationField, getMaximumValue, getMaximumValue, getMaximumValue, getMinimumValue, getMinimumValue, getMinimumValue, getName, getType, isLeap, isSupported, roundHalfCeiling, roundHalfEven, roundHalfFloor, set, set, set, set, toStringsetExtendedprivate static final long serialVersionUID
private final BasicChronology iChronology
GJDayOfWeekDateTimeField(BasicChronology chronology, DurationField days)
public int get(long instant)
get in class BaseDateTimeFieldinstant - the time instant in millis to querypublic java.lang.String getAsText(int fieldValue,
java.util.Locale locale)
getAsText in class BaseDateTimeFieldfieldValue - the field value to querylocale - the locale to usepublic java.lang.String getAsShortText(int fieldValue,
java.util.Locale locale)
getAsShortText in class BaseDateTimeFieldfieldValue - the field value to querylocale - the locale to useprotected int convertText(java.lang.String text,
java.util.Locale locale)
convertText in class BaseDateTimeFieldtext - the text to convertlocale - the locale to convert usingjava.lang.IllegalArgumentException - if the text is invalidpublic DurationField getRangeDurationField()
BaseDateTimeFieldgetRangeDurationField in class BaseDateTimeFieldpublic int getMinimumValue()
getMinimumValue in class PreciseDurationDateTimeFieldpublic int getMaximumValue()
getMaximumValue in class BaseDateTimeFieldpublic int getMaximumTextLength(java.util.Locale locale)
getMaximumTextLength in class BaseDateTimeFieldlocale - the locale to usepublic int getMaximumShortTextLength(java.util.Locale locale)
getMaximumShortTextLength in class BaseDateTimeFieldlocale - the locale to useprivate java.lang.Object readResolve()