| org.joda.time.field.PreciseDurationDateTimeField org.joda.time.chrono.GJDayOfWeekDateTimeField
GJDayOfWeekDateTimeField | final class GJDayOfWeekDateTimeField extends PreciseDurationDateTimeField (Code) | | GJDayOfWeekDateTimeField provides time calculations for the
day of the week component of time.
since: 1.0 author: Guy Allard author: Stephen Colebourne author: Brian S O'Neill |
convertText | protected int convertText(String text, Locale locale)(Code) | | Convert the specified text and locale into a value.
Parameters: text - the text to convert Parameters: locale - the locale to convert using the value extracted from the text throws: IllegalArgumentException - if the text is invalid |
get | public int get(long instant)(Code) | | Get the value of the specified time instant.
Parameters: instant - the time instant in millis to query the day of the week extracted from the input |
getAsShortText | public String getAsShortText(int fieldValue, Locale locale)(Code) | | Get the abbreviated textual value of the specified time instant.
Parameters: fieldValue - the field value to query Parameters: locale - the locale to use the day of the week, such as 'Mon' |
getAsText | public String getAsText(int fieldValue, Locale locale)(Code) | | Get the textual value of the specified time instant.
Parameters: fieldValue - the field value to query Parameters: locale - the locale to use the day of the week, such as 'Monday' |
getMaximumShortTextLength | public int getMaximumShortTextLength(Locale locale)(Code) | | Get the maximum length of the abbreviated text returned by this field.
Parameters: locale - the locale to use the maximum abbreviated textual length |
getMaximumTextLength | public int getMaximumTextLength(Locale locale)(Code) | | Get the maximum length of the text returned by this field.
Parameters: locale - the locale to use the maximum textual length |
getMaximumValue | public int getMaximumValue()(Code) | | Get the maximum value that this field can have.
the field's maximum value |
getMinimumValue | public int getMinimumValue()(Code) | | Get the minimum value that this field can have.
the field's minimum value |
|
|