- getUnitMillis
Returns the amount of milliseconds per unit value of this field. For example, if
this field represen
- getDifference
Computes the difference between two instants, as measured in the units of this
field. Any fractional
- getDifferenceAsLong
Computes the difference between two instants, as measured in the units of this
field. Any fractional
- add
Adds a duration value (which may be negative) to the instant.
- isPrecise
Is this field precise. A precise field can calculate its value from milliseconds
without needing a r
- getType
Get the type of the field.
- compareTo
Compares this duration field with another duration field for ascending unit
millisecond order. This
- getMillis
Get the millisecond duration of this field from its value relative to an
instant. For precise fields
- getName
Get the name of the field. By convention, names are plural.
- getValue
Get the value of this field from the milliseconds relative to an instant. For
precise fields this me
- getValueAsLong
Get the value of this field from the milliseconds relative to an instant. For
precise fields this me
- isSupported
Returns true if this field is supported.