Package | Description |
---|---|
com.ibm.icu.util |
International calendars and other utility classes.
|
Modifier and Type | Field and Description |
---|---|
static TimeUnit |
MeasureUnit.DAY
Constant for unit of duration: day
|
static TimeUnit |
MeasureUnit.HOUR
Constant for unit of duration: hour
|
static TimeUnit |
MeasureUnit.MINUTE
Constant for unit of duration: minute
|
static TimeUnit |
MeasureUnit.MONTH
Constant for unit of duration: month
|
static TimeUnit |
MeasureUnit.SECOND
Constant for unit of duration: second
|
static TimeUnit |
MeasureUnit.WEEK
Constant for unit of duration: week
|
static TimeUnit |
MeasureUnit.YEAR
Constant for unit of duration: year
|
Modifier and Type | Method and Description |
---|---|
TimeUnit |
TimeUnitAmount.getTimeUnit()
Get the unit (convenience to avoid cast).
|
static TimeUnit[] |
TimeUnit.values() |
Constructor and Description |
---|
TimeUnitAmount(double number,
TimeUnit unit)
Create from a number and unit.
|
TimeUnitAmount(Number number,
TimeUnit unit)
Create from a number and unit.
|
Copyright © 2016 Unicode, Inc. and others.