Package | Description |
---|---|
com.ibm.icu.util |
International calendars and other utility classes.
|
Modifier and Type | Field and Description |
---|---|
static TimeUnit |
TimeUnit.DAY
Constant value for supported time unit.
|
static TimeUnit |
TimeUnit.HOUR
Constant value for supported time unit.
|
static TimeUnit |
TimeUnit.MINUTE
Constant value for supported time unit.
|
static TimeUnit |
TimeUnit.MONTH
Constant value for supported time unit.
|
static TimeUnit |
TimeUnit.SECOND
Constant value for supported time unit.
|
static TimeUnit |
TimeUnit.WEEK
Constant value for supported time unit.
|
static TimeUnit |
TimeUnit.YEAR
Constant value for supported time unit.
|
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 (c) 2012 IBM Corporation and others.