Method Summary |
|
public int | compareTo(ReadableInstant instant) Compare this field to the same field on another instant.
The comparison is based on the value of the same field type, irrespective
of any difference in chronology. |
public int | compareTo(ReadablePartial partial) Compare this field to the same field on another partial instant.
The comparison is based on the value of the same field type, irrespective
of any difference in chronology. |
public boolean | equals(Object object) Compares this property to another. |
abstract public int | get() Gets the value of this property from the instant. |
public String | getAsShortText() Gets the short textual value of this property from the instant as a
string in the default locale. |
public String | getAsShortText(Locale locale) Gets the short textual value of this property from the instant as a
string in the specified locale. |
public String | getAsString() Gets the value of this property from the instant as a string.
This method returns the value converted to a String
using Integer.toString . |
public String | getAsText() Gets the textual value of this property from the instant as a
string in the default locale. |
public String | getAsText(Locale locale) Gets the textual value of this property from the instant as a
string in the specified locale. |
public DurationField | getDurationField() Returns the duration per unit value of this field. |
abstract public DateTimeField | getField() Gets the field being used. |
public DateTimeFieldType | getFieldType() Gets the field type being used. |
public int | getMaximumShortTextLength(Locale locale) Gets the maximum short text length for the field. |
public int | getMaximumTextLength(Locale locale) Gets the maximum text length for the field. |
public int | getMaximumValue() Gets the maximum value for this field given the current field values. |
public int | getMaximumValueOverall() Gets the maximum value for the field ignoring the current time. |
public int | getMinimumValue() Gets the minimum value for this field given the current field values. |
public int | getMinimumValueOverall() Gets the minimum value for the field ignoring the current time. |
public String | getName() Gets the name of the field. |
public DurationField | getRangeDurationField() Returns the range duration of this field. |
abstract protected ReadablePartial | getReadablePartial() Gets the partial instant being used. |
public int | hashCode() Gets a suitable hashcode for the object. |
public String | toString() Output a debugging string. |