public enum ETimeSpan extends Enum<ETimeSpan>
Modifier and Type | Method and Description |
---|---|
static ETimeSpan |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ETimeSpan[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ETimeSpan LIVE
public static final ETimeSpan DAY
public static final ETimeSpan WEEK
public static final ETimeSpan MONTH
public static final ETimeSpan YEAR
public static ETimeSpan[] values()
for (ETimeSpan c : ETimeSpan.values()) System.out.println(c);
public static ETimeSpan 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 © 2018 XIMA MEDIA GmbH. All rights reserved.