| java.lang.Object org.joda.time.DateTimeField org.joda.time.field.DelegatedDateTimeField
All known Subclasses: org.joda.time.field.SkipDateTimeField, org.joda.time.field.SkipUndoDateTimeField, org.joda.time.field.LenientDateTimeField, org.joda.time.field.StrictDateTimeField,
DelegatedDateTimeField | public class DelegatedDateTimeField extends DateTimeField implements Serializable(Code) | | DelegatedDateTimeField delegates each method call to the
date time field it wraps.
DelegatedDateTimeField is thread-safe and immutable, and its subclasses must
be as well.
author: Brian S O'Neill since: 1.0 See Also: DecoratedDateTimeField |
Method Summary | |
public long | add(long instant, int value) | public long | add(long instant, long value) | public int[] | add(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd) | public long | addWrapField(long instant, int value) | public int[] | addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd) | public int[] | addWrapPartial(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd) | public int | get(long instant) | public String | getAsShortText(long instant, Locale locale) | public String | getAsShortText(long instant) | public String | getAsShortText(ReadablePartial partial, int fieldValue, Locale locale) | public String | getAsShortText(ReadablePartial partial, Locale locale) | public String | getAsShortText(int fieldValue, Locale locale) | public String | getAsText(long instant, Locale locale) | public String | getAsText(long instant) | public String | getAsText(ReadablePartial partial, int fieldValue, Locale locale) | public String | getAsText(ReadablePartial partial, Locale locale) | public String | getAsText(int fieldValue, Locale locale) | public int | getDifference(long minuendInstant, long subtrahendInstant) | public long | getDifferenceAsLong(long minuendInstant, long subtrahendInstant) | public DurationField | getDurationField() | public int | getLeapAmount(long instant) | public DurationField | getLeapDurationField() | public int | getMaximumShortTextLength(Locale locale) | public int | getMaximumTextLength(Locale locale) | public int | getMaximumValue() | public int | getMaximumValue(long instant) | public int | getMaximumValue(ReadablePartial instant) | public int | getMaximumValue(ReadablePartial instant, int[] values) | public int | getMinimumValue() | public int | getMinimumValue(long instant) | public int | getMinimumValue(ReadablePartial instant) | public int | getMinimumValue(ReadablePartial instant, int[] values) | public String | getName() | public DurationField | getRangeDurationField() | public DateTimeFieldType | getType() | final public DateTimeField | getWrappedField() Gets the wrapped date time field. | public boolean | isLeap(long instant) | public boolean | isLenient() | public boolean | isSupported() | public long | remainder(long instant) | public long | roundCeiling(long instant) | public long | roundFloor(long instant) | public long | roundHalfCeiling(long instant) | public long | roundHalfEven(long instant) | public long | roundHalfFloor(long instant) | public long | set(long instant, int value) | public long | set(long instant, String text, Locale locale) | public long | set(long instant, String text) | public int[] | set(ReadablePartial instant, int fieldIndex, int[] values, int newValue) | public int[] | set(ReadablePartial instant, int fieldIndex, int[] values, String text, Locale locale) | public String | toString() |
DelegatedDateTimeField | public DelegatedDateTimeField(DateTimeField field)(Code) | | Constructor.
Parameters: field - the field being decorated |
DelegatedDateTimeField | public DelegatedDateTimeField(DateTimeField field, DateTimeFieldType type)(Code) | | Constructor.
Parameters: field - the field being decorated Parameters: type - the field type override |
add | public long add(long instant, int value)(Code) | | |
add | public long add(long instant, long value)(Code) | | |
addWrapField | public long addWrapField(long instant, int value)(Code) | | |
addWrapField | public int[] addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)(Code) | | |
addWrapPartial | public int[] addWrapPartial(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)(Code) | | |
get | public int get(long instant)(Code) | | |
getAsShortText | public String getAsShortText(long instant)(Code) | | |
getDifference | public int getDifference(long minuendInstant, long subtrahendInstant)(Code) | | |
getDifferenceAsLong | public long getDifferenceAsLong(long minuendInstant, long subtrahendInstant)(Code) | | |
getLeapAmount | public int getLeapAmount(long instant)(Code) | | |
getMaximumShortTextLength | public int getMaximumShortTextLength(Locale locale)(Code) | | |
getMaximumTextLength | public int getMaximumTextLength(Locale locale)(Code) | | |
getMaximumValue | public int getMaximumValue()(Code) | | |
getMaximumValue | public int getMaximumValue(long instant)(Code) | | |
getMinimumValue | public int getMinimumValue()(Code) | | |
getMinimumValue | public int getMinimumValue(long instant)(Code) | | |
getWrappedField | final public DateTimeField getWrappedField()(Code) | | Gets the wrapped date time field.
the wrapped DateTimeField |
isLeap | public boolean isLeap(long instant)(Code) | | |
isLenient | public boolean isLenient()(Code) | | |
isSupported | public boolean isSupported()(Code) | | |
remainder | public long remainder(long instant)(Code) | | |
roundCeiling | public long roundCeiling(long instant)(Code) | | |
roundFloor | public long roundFloor(long instant)(Code) | | |
roundHalfCeiling | public long roundHalfCeiling(long instant)(Code) | | |
roundHalfEven | public long roundHalfEven(long instant)(Code) | | |
roundHalfFloor | public long roundHalfFloor(long instant)(Code) | | |
set | public long set(long instant, int value)(Code) | | |
Methods inherited from org.joda.time.DateTimeField | abstract public long add(long instant, int value)(Code)(Java Doc) abstract public long add(long instant, long value)(Code)(Java Doc) abstract public int[] add(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)(Code)(Java Doc) abstract public long addWrapField(long instant, int value)(Code)(Java Doc) abstract public int[] addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)(Code)(Java Doc) abstract public int[] addWrapPartial(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)(Code)(Java Doc) abstract public int get(long instant)(Code)(Java Doc) abstract public String getAsShortText(long instant, Locale locale)(Code)(Java Doc) abstract public String getAsShortText(long instant)(Code)(Java Doc) abstract public String getAsShortText(ReadablePartial partial, int fieldValue, Locale locale)(Code)(Java Doc) abstract public String getAsShortText(ReadablePartial partial, Locale locale)(Code)(Java Doc) abstract public String getAsShortText(int fieldValue, Locale locale)(Code)(Java Doc) abstract public String getAsText(long instant, Locale locale)(Code)(Java Doc) abstract public String getAsText(long instant)(Code)(Java Doc) abstract public String getAsText(ReadablePartial partial, int fieldValue, Locale locale)(Code)(Java Doc) abstract public String getAsText(ReadablePartial partial, Locale locale)(Code)(Java Doc) abstract public String getAsText(int fieldValue, Locale locale)(Code)(Java Doc) abstract public int getDifference(long minuendInstant, long subtrahendInstant)(Code)(Java Doc) abstract public long getDifferenceAsLong(long minuendInstant, long subtrahendInstant)(Code)(Java Doc) abstract public DurationField getDurationField()(Code)(Java Doc) abstract public int getLeapAmount(long instant)(Code)(Java Doc) abstract public DurationField getLeapDurationField()(Code)(Java Doc) abstract public int getMaximumShortTextLength(Locale locale)(Code)(Java Doc) abstract public int getMaximumTextLength(Locale locale)(Code)(Java Doc) abstract public int getMaximumValue()(Code)(Java Doc) abstract public int getMaximumValue(long instant)(Code)(Java Doc) abstract public int getMaximumValue(ReadablePartial instant)(Code)(Java Doc) abstract public int getMaximumValue(ReadablePartial instant, int[] values)(Code)(Java Doc) abstract public int getMinimumValue()(Code)(Java Doc) abstract public int getMinimumValue(long instant)(Code)(Java Doc) abstract public int getMinimumValue(ReadablePartial instant)(Code)(Java Doc) abstract public int getMinimumValue(ReadablePartial instant, int[] values)(Code)(Java Doc) abstract public String getName()(Code)(Java Doc) abstract public DurationField getRangeDurationField()(Code)(Java Doc) abstract public DateTimeFieldType getType()(Code)(Java Doc) abstract public boolean isLeap(long instant)(Code)(Java Doc) abstract public boolean isLenient()(Code)(Java Doc) abstract public boolean isSupported()(Code)(Java Doc) abstract public long remainder(long instant)(Code)(Java Doc) abstract public long roundCeiling(long instant)(Code)(Java Doc) abstract public long roundFloor(long instant)(Code)(Java Doc) abstract public long roundHalfCeiling(long instant)(Code)(Java Doc) abstract public long roundHalfEven(long instant)(Code)(Java Doc) abstract public long roundHalfFloor(long instant)(Code)(Java Doc) abstract public long set(long instant, int value)(Code)(Java Doc) abstract public int[] set(ReadablePartial instant, int fieldIndex, int[] values, int newValue)(Code)(Java Doc) abstract public long set(long instant, String text, Locale locale)(Code)(Java Doc) abstract public long set(long instant, String text)(Code)(Java Doc) abstract public int[] set(ReadablePartial instant, int fieldIndex, int[] values, String text, Locale locale)(Code)(Java Doc) abstract public String toString()(Code)(Java Doc)
|
|
|