| java.lang.Object org.joda.time.DurationField org.joda.time.field.DelegatedDurationField
DelegatedDurationField | public class DelegatedDurationField extends DurationField implements Serializable(Code) | | DelegatedDurationField delegates each method call to the
duration field it wraps.
DelegatedDurationField is thread-safe and immutable, and its subclasses must
be as well.
author: Brian S O'Neill See Also: DecoratedDurationField since: 1.0 |
DelegatedDurationField | protected DelegatedDurationField(DurationField field)(Code) | | Constructor.
Parameters: field - the base field |
DelegatedDurationField | protected DelegatedDurationField(DurationField field, DurationFieldType type)(Code) | | Constructor.
Parameters: field - the base field Parameters: type - the field type to use |
add | public long add(long instant, int value)(Code) | | |
add | public long add(long instant, long value)(Code) | | |
getDifference | public int getDifference(long minuendInstant, long subtrahendInstant)(Code) | | |
getDifferenceAsLong | public long getDifferenceAsLong(long minuendInstant, long subtrahendInstant)(Code) | | |
getMillis | public long getMillis(int value)(Code) | | |
getMillis | public long getMillis(long value)(Code) | | |
getMillis | public long getMillis(int value, long instant)(Code) | | |
getMillis | public long getMillis(long value, long instant)(Code) | | |
getUnitMillis | public long getUnitMillis()(Code) | | |
getValue | public int getValue(long duration)(Code) | | |
getValue | public int getValue(long duration, long instant)(Code) | | |
getValueAsLong | public long getValueAsLong(long duration)(Code) | | |
getValueAsLong | public long getValueAsLong(long duration, long instant)(Code) | | |
getWrappedField | final public DurationField getWrappedField()(Code) | | Gets the wrapped duration field.
the wrapped DurationField |
isPrecise | public boolean isPrecise()(Code) | | |
isSupported | public boolean isSupported()(Code) | | Returns true if this field is supported.
|
Methods inherited from org.joda.time.DurationField | 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 compareTo(Object durationField)(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 long getMillis(int value)(Code)(Java Doc) abstract public long getMillis(long value)(Code)(Java Doc) abstract public long getMillis(int value, long instant)(Code)(Java Doc) abstract public long getMillis(long value, long instant)(Code)(Java Doc) abstract public String getName()(Code)(Java Doc) abstract public DurationFieldType getType()(Code)(Java Doc) abstract public long getUnitMillis()(Code)(Java Doc) abstract public int getValue(long duration)(Code)(Java Doc) abstract public int getValue(long duration, long instant)(Code)(Java Doc) abstract public long getValueAsLong(long duration)(Code)(Java Doc) abstract public long getValueAsLong(long duration, long instant)(Code)(Java Doc) abstract public boolean isPrecise()(Code)(Java Doc) abstract public boolean isSupported()(Code)(Java Doc) public long subtract(long instant, int value)(Code)(Java Doc) public long subtract(long instant, long value)(Code)(Java Doc) abstract public String toString()(Code)(Java Doc)
|
|
|