public static enum WorkDuration.UNIT extends Enum<WorkDuration.UNIT>
| Modifier and Type | Method and Description | 
|---|---|
| static WorkDuration.UNIT | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static WorkDuration.UNIT[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final WorkDuration.UNIT DAYS
public static final WorkDuration.UNIT HOURS
public static final WorkDuration.UNIT MINUTES
public static WorkDuration.UNIT[] values()
for (WorkDuration.UNIT c : WorkDuration.UNIT.values()) System.out.println(c);
public static WorkDuration.UNIT 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 nullCopyright © 2009–2016 SonarSource. All rights reserved.