public class TimeUnit extends MeasureUnit
TimeUnitAmount
,
TimeUnit
,
Serialized FormMeasureUnit.Factory
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.
|
ACRE, ARC_MINUTE, ARC_SECOND, CELSIUS, CENTIMETER, code, CUBIC_KILOMETER, CUBIC_MILE, DEGREE, FAHRENHEIT, FOOT, G_FORCE, GRAM, HECTARE, HECTOPASCAL, HORSEPOWER, INCH, INCH_HG, KILOGRAM, KILOMETER, KILOMETER_PER_HOUR, KILOWATT, LIGHT_YEAR, LITER, METER, METER_PER_SECOND, MILE, MILE_PER_HOUR, MILLIBAR, MILLIMETER, MILLISECOND, OUNCE, PICOMETER, POUND, SQUARE_FOOT, SQUARE_KILOMETER, SQUARE_METER, SQUARE_MILE, type, WATT, YARD
Modifier and Type | Method and Description |
---|---|
static TimeUnit[] |
values() |
addUnit, compareTo, equals, getAvailable, getAvailable, getAvailableTypes, getCode, getInstance, getType, hashCode, toString
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) 2013 IBM Corporation and others.