com.activequant.domainmodel
Enum TimeFrame

java.lang.Object
  extended by java.lang.Enum<TimeFrame>
      extended by com.activequant.domainmodel.TimeFrame
All Implemented Interfaces:
Serializable, Comparable<TimeFrame>

public enum TimeFrame
extends Enum<TimeFrame>


Enum Constant Summary
EOD
           
HOURS_1
           
MINUTES_1
           
MINUTES_10
           
MINUTES_30
           
MINUTES_5
           
RAW
           
 
Method Summary
 int getMinutes()
           
static TimeFrame valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TimeFrame[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EOD

public static final TimeFrame EOD

MINUTES_1

public static final TimeFrame MINUTES_1

MINUTES_5

public static final TimeFrame MINUTES_5

MINUTES_10

public static final TimeFrame MINUTES_10

MINUTES_30

public static final TimeFrame MINUTES_30

HOURS_1

public static final TimeFrame HOURS_1

RAW

public static final TimeFrame RAW
Method Detail

values

public static TimeFrame[] 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 c : TimeFrame.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 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

getMinutes

public int getMinutes()


Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.