public enum OvhStatsPeriodEnum extends Enum<OvhStatsPeriodEnum>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static OvhStatsPeriodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OvhStatsPeriodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OvhStatsPeriodEnum day
public static final OvhStatsPeriodEnum month
public static final OvhStatsPeriodEnum week
public static OvhStatsPeriodEnum[] values()
for (OvhStatsPeriodEnum c : OvhStatsPeriodEnum.values()) System.out.println(c);
public static OvhStatsPeriodEnum 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 String toString()
toString in class Enum<OvhStatsPeriodEnum>Copyright © 2018. All rights reserved.