org.joda.time.field
Class SkipUndoDateTimeField
- Serializable
public final class SkipUndoDateTimeField
Wraps another field such that a certain value is added back into
the sequence of numbers.
This reverses the effect of SkipDateTimeField. This isn't very
elegant.
SkipUndoDateTimeField is thread-safe and immutable.
- Brian S O'Neill
- Stephen Colebourne
add, add, add, addWrapField, addWrapField, addWrapPartial, get, getAsShortText, getAsShortText, getAsShortText, getAsShortText, getAsShortText, getAsText, getAsText, getAsText, getAsText, getAsText, getDifference, getDifferenceAsLong, getDurationField, getLeapAmount, getLeapDurationField, getMaximumShortTextLength, getMaximumTextLength, getMaximumValue, getMaximumValue, getMaximumValue, getMaximumValue, getMinimumValue, getMinimumValue, getMinimumValue, getMinimumValue, getName, getRangeDurationField, getType, getWrappedField, isLeap, isLenient, isSupported, remainder, roundCeiling, roundFloor, roundHalfCeiling, roundHalfEven, roundHalfFloor, set, set, set, set, set, toString |
add, add, add, addWrapField, addWrapField, addWrapPartial, get, getAsShortText, getAsShortText, getAsShortText, getAsShortText, getAsShortText, getAsText, getAsText, getAsText, getAsText, getAsText, getDifference, getDifferenceAsLong, getDurationField, getLeapAmount, getLeapDurationField, getMaximumShortTextLength, getMaximumTextLength, getMaximumValue, getMaximumValue, getMaximumValue, getMaximumValue, getMinimumValue, getMinimumValue, getMinimumValue, getMinimumValue, getName, getRangeDurationField, getType, isLeap, isLenient, isSupported, remainder, roundCeiling, roundFloor, roundHalfCeiling, roundHalfEven, roundHalfFloor, set, set, set, set, set, toString |
SkipUndoDateTimeField
public SkipUndoDateTimeField(Chronology chronology,
DateTimeField field) Constructor that reinserts zero.
chronology - the chronoogy to usefield - the field to skip zero on
SkipUndoDateTimeField
public SkipUndoDateTimeField(Chronology chronology,
DateTimeField field,
int skip) Constructor.
chronology - the chronoogy to usefield - the field to skip zero onskip - the value to skip
Copyright (c) 2001-2006 - Joda.org