public enum UniteDeTemps extends Enum<UniteDeTemps> implements CodeIdentifiable
Enum Constant and Description |
---|
HEURE_CENTIEME |
HEURE_MINUTE |
JOUR |
MINUTE |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsCode(String code) |
static UniteDeTemps |
getByValue(String value) |
String |
getCode() |
String |
value() |
static UniteDeTemps |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UniteDeTemps[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UniteDeTemps MINUTE
public static final UniteDeTemps HEURE_MINUTE
public static final UniteDeTemps JOUR
public static final UniteDeTemps HEURE_CENTIEME
public static UniteDeTemps[] values()
for (UniteDeTemps c : UniteDeTemps.values()) System.out.println(c);
public static UniteDeTemps 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 final String value()
public static UniteDeTemps getByValue(String value)
public String getCode()
getCode
in interface CodeIdentifiable
public boolean equalsCode(String code)
Copyright © 2016. All rights reserved.