| java.lang.Object org.joda.time.DurationField org.joda.time.field.MillisDurationField
MillisDurationField | final public class MillisDurationField extends DurationField implements Serializable(Code) | | Duration field class representing a field with a fixed unit length of one
millisecond.
MillisDurationField is thread-safe and immutable.
author: Brian S O'Neill since: 1.0 |
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 | final public long getUnitMillis()(Code) | | Returns the amount of milliseconds per unit value of this field.
one always |
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) | | |
isPrecise | final public boolean isPrecise()(Code) | | Returns true as this field is precise.
true always |
isSupported | public boolean isSupported()(Code) | | Returns true as this field is supported.
true always |
toString | public String toString()(Code) | | Get a suitable debug string.
debug string |
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)
|
|
|