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, set
add, 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, toString
setExtended
private static final long serialVersionUID
private final BasicChronology iChronology
GJDayOfWeekDateTimeField(BasicChronology chronology, DurationField days)
public int get(long instant)
get
in class BaseDateTimeField
instant
- the time instant in millis to querypublic java.lang.String getAsText(int fieldValue, java.util.Locale locale)
getAsText
in class BaseDateTimeField
fieldValue
- the field value to querylocale
- the locale to usepublic java.lang.String getAsShortText(int fieldValue, java.util.Locale locale)
getAsShortText
in class BaseDateTimeField
fieldValue
- the field value to querylocale
- the locale to useprotected int convertText(java.lang.String text, java.util.Locale locale)
convertText
in class BaseDateTimeField
text
- the text to convertlocale
- the locale to convert usingjava.lang.IllegalArgumentException
- if the text is invalidpublic DurationField getRangeDurationField()
BaseDateTimeField
getRangeDurationField
in class BaseDateTimeField
public int getMinimumValue()
getMinimumValue
in class PreciseDurationDateTimeField
public int getMaximumValue()
getMaximumValue
in class BaseDateTimeField
public int getMaximumTextLength(java.util.Locale locale)
getMaximumTextLength
in class BaseDateTimeField
locale
- the locale to usepublic int getMaximumShortTextLength(java.util.Locale locale)
getMaximumShortTextLength
in class BaseDateTimeField
locale
- the locale to useprivate java.lang.Object readResolve()