ReportMill 11 API

com.reportmill.datasource
Enum RMCondition.DateConstraint

java.lang.Object
  extended by java.lang.Enum<RMCondition.DateConstraint>
      extended by com.reportmill.datasource.RMCondition.DateConstraint
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RMCondition.DateConstraint>
Enclosing class:
RMCondition

public static enum RMCondition.DateConstraint
extends java.lang.Enum<RMCondition.DateConstraint>


Enum Constant Summary
Day
           
Hour
           
Minute
           
Month
           
Second
           
Week
           
Year
           
 
Method Summary
static RMCondition.DateConstraint valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RMCondition.DateConstraint[] 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

Second

public static final RMCondition.DateConstraint Second

Minute

public static final RMCondition.DateConstraint Minute

Hour

public static final RMCondition.DateConstraint Hour

Day

public static final RMCondition.DateConstraint Day

Week

public static final RMCondition.DateConstraint Week

Month

public static final RMCondition.DateConstraint Month

Year

public static final RMCondition.DateConstraint Year
Method Detail

values

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

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

valueOf

public static RMCondition.DateConstraint 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

ReportMill 11 API