public class TimeUnitAmount extends Measure
Immutable.
TimeUnitAmount
,
TimeUnitFormat
Constructor | Description |
---|---|
TimeUnitAmount(double number,
TimeUnit unit) |
Create from a number and unit.
|
TimeUnitAmount(Number number,
TimeUnit unit) |
Create from a number and unit.
|
Modifier and Type | Method | Description |
---|---|---|
TimeUnit |
getTimeUnit() |
Get the unit (convenience to avoid cast).
|
Copyright ? 2016 Unicode, Inc. and others.