Example usage for Java org.joda.time DateTimeField fields, constructors, methods, implement or subclass
The text is from its open source code.
long | add(long instant, int value) Adds a value (which may be negative) to the millis value, overflowing into larger fields if necessary. |
long | add(long instant, long value) Adds a value (which may be negative) to the millis value, overflowing into larger fields if necessary. |
int | get(long instant) Get the value of this field from the milliseconds. |
int | getMaximumValue() Get the maximum allowable value for this field. |
int | getMaximumValue(long instant) Get the maximum value for this field evaluated at the specified time. |
int | getMaximumValue(ReadablePartial instant) Get the maximum value for this field evaluated at the specified time. |
int | getMinimumValue(long instant) Get the minimum value for this field evaluated at the specified time. |
int | getMinimumValue(ReadablePartial instant) Get the minimum value for this field evaluated at the specified time. |
int | getMinimumValue() Get the minimum allowable value for this field. |
DateTimeFieldType | getType() Get the type of the field. |
long | roundCeiling(long instant) Round to the highest whole unit of this field. |
long | roundFloor(long instant) Round to the lowest whole unit of this field. |
long | set(long instant, String text, Locale locale) Sets a value in the milliseconds supplied from a human-readable, text value. |