public class TimeUnit extends MeasureUnit
TimeUnitAmount
,
TimeUnit
Modifier and Type | Field and Description |
---|---|
static TimeUnit |
DAY
Constant value for supported time unit.
|
static TimeUnit |
HOUR
Constant value for supported time unit.
|
static TimeUnit |
MINUTE
Constant value for supported time unit.
|
static TimeUnit |
MONTH
Constant value for supported time unit.
|
static TimeUnit |
SECOND
Constant value for supported time unit.
|
static TimeUnit |
WEEK
Constant value for supported time unit.
|
static TimeUnit |
YEAR
Constant value for supported time unit.
|
public static TimeUnit SECOND
public static TimeUnit MINUTE
public static TimeUnit HOUR
public static TimeUnit DAY
public static TimeUnit WEEK
public static TimeUnit MONTH
public static TimeUnit YEAR
public static TimeUnit[] values()
Copyright (c) 2012 IBM Corporation and others.