public static enum Unit.Time extends Enum<Unit.Time>
| Modifier and Type | Method and Description |
|---|---|
double |
convertTo(Unit.Time target,
double value) |
Unit.Time |
next() |
Unit.Time |
prev() |
static Unit.Time |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Unit.Time[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Unit.Time nano
public static final Unit.Time milli
public static final Unit.Time s
public static final Unit.Time m
public static final Unit.Time h
public static final Unit.Time d
public static Unit.Time[] values()
for (Unit.Time c : Unit.Time.values()) System.out.println(c);
public static Unit.Time valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Unit.Time next()
public Unit.Time prev()
public double convertTo(Unit.Time target, double value)
Copyright © 2004–2014 CodeLutin. All rights reserved.