com.esri.gpt.framework.util
Enum TimePeriod.DayOfWeek
java.lang.Object
java.lang.Enum<TimePeriod.DayOfWeek>
com.esri.gpt.framework.util.TimePeriod.DayOfWeek
- All Implemented Interfaces:
- Serializable, Comparable<TimePeriod.DayOfWeek>
- Enclosing class:
- TimePeriod
public static enum TimePeriod.DayOfWeek
- extends Enum<TimePeriod.DayOfWeek>
Day of the week.
Sunday
public static final TimePeriod.DayOfWeek Sunday
Monday
public static final TimePeriod.DayOfWeek Monday
Tuesday
public static final TimePeriod.DayOfWeek Tuesday
Wednesday
public static final TimePeriod.DayOfWeek Wednesday
Thursday
public static final TimePeriod.DayOfWeek Thursday
Friday
public static final TimePeriod.DayOfWeek Friday
Saturday
public static final TimePeriod.DayOfWeek Saturday
values
public static TimePeriod.DayOfWeek[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TimePeriod.DayOfWeek c : TimePeriod.DayOfWeek.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TimePeriod.DayOfWeek valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
checkValueOf
public static TimePeriod.DayOfWeek checkValueOf(String value)
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.