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. |
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. |
protected Chronology | getChronology() Gets the chronology of the datetime that this property is linked to. |
public int | getDifference(ReadableInstant instant) Returns the difference between this field property instant and the one
passed in, in the units of this field. |
public long | getDifferenceAsLong(ReadableInstant instant) Returns the difference between this field property instant and the one
passed in, in the units of this field. |
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 | getLeapAmount() Gets the amount by which this field is leap. |
public DurationField | getLeapDurationField() If this field were to leap, then it would be in units described by the
returned duration. |
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 the field. |
public int | getMaximumValueOverall() Gets the maximum value for the field ignoring the current time. |
abstract protected long | getMillis() Gets the milliseconds of the datetime that this property is linked to. |
public int | getMinimumValue() Gets the minimum value for the field. |
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. |
public int | hashCode() Returns a hashcode compatible with the equals method. |
public boolean | isLeap() Gets whether this field is leap. |
public long | remainder() Returns the fractional duration milliseconds of this field. |
public Interval | toInterval() Returns the interval that represents the range of the minimum
and maximum values of this field. |
public String | toString() Output a debugging string. |