com.hp.ucmdb.api.discovery.types
Enum TimeFrame.Day

java.lang.Object
  extended by java.lang.Enum<TimeFrame.Day>
      extended by com.hp.ucmdb.api.discovery.types.TimeFrame.Day
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TimeFrame.Day>
Enclosing interface:
TimeFrame

public static enum TimeFrame.Day
extends java.lang.Enum<TimeFrame.Day>

Days of the week.


Enum Constant Summary
FRIDAY
           
MONDAY
           
SATURDAY
           
SUNDAY
           
THURSDAY
           
TUESDAY
           
WEDNESDAY
           
 
Method Summary
static TimeFrame.Day valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TimeFrame.Day[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUNDAY

public static final TimeFrame.Day SUNDAY

MONDAY

public static final TimeFrame.Day MONDAY

TUESDAY

public static final TimeFrame.Day TUESDAY

WEDNESDAY

public static final TimeFrame.Day WEDNESDAY

THURSDAY

public static final TimeFrame.Day THURSDAY

FRIDAY

public static final TimeFrame.Day FRIDAY

SATURDAY

public static final TimeFrame.Day SATURDAY
Method Detail

values

public static TimeFrame.Day[] 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 (TimeFrame.Day c : TimeFrame.Day.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TimeFrame.Day valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.