com.crystaldecisions.sdk.occa.report.definition
Class DateTimeFieldFormatConditionFormulaType

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.data.ConditionFormulaType
      extended by com.crystaldecisions.sdk.occa.report.definition.DateTimeFieldFormatConditionFormulaType

public final class DateTimeFieldFormatConditionFormulaType
extends ConditionFormulaType

This object is used to specify the condition formula type for DateTime field formatting.


Field Summary
static int _dateTimeOrder
           Order of elements in DateTime field.
static int _dateTimeSeparator
           Separator of elements in DateTime field.
static DateTimeFieldFormatConditionFormulaType dateTimeOrder
           A DateTimeFieldFormatConditionFormulaType that specifies the order of elements in DateTime field.
static DateTimeFieldFormatConditionFormulaType dateTimeSeparator
           A DateTimeFieldFormatConditionFormulaType that specifies the separator of elements in DateTime field.
 
Method Summary
static DateTimeFieldFormatConditionFormulaType from_int(int i)
           Returns the DateTimeFieldFormatConditionFormulaType object corresponding to the specified value.
static DateTimeFieldFormatConditionFormulaType from_string(java.lang.String sVal)
           Returns the DateTimeFieldFormatConditionFormulaType object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this DateTimeFieldFormatConditionFormulaType object.
 int value()
           Returns the int value of this DateTimeFieldFormatConditionFormulaType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_dateTimeOrder

public static final int _dateTimeOrder

Order of elements in DateTime field.

See Also:
Constant Field Values

_dateTimeSeparator

public static final int _dateTimeSeparator

Separator of elements in DateTime field.

See Also:
Constant Field Values

dateTimeOrder

public static final DateTimeFieldFormatConditionFormulaType dateTimeOrder

A DateTimeFieldFormatConditionFormulaType that specifies the order of elements in DateTime field.


dateTimeSeparator

public static final DateTimeFieldFormatConditionFormulaType dateTimeSeparator

A DateTimeFieldFormatConditionFormulaType that specifies the separator of elements in DateTime field.

Method Detail

from_int

public static final DateTimeFieldFormatConditionFormulaType from_int(int i)

Returns the DateTimeFieldFormatConditionFormulaType object corresponding to the specified value.

Parameters:
i - The int value of the desired DateTimeFieldFormatConditionFormulaType object.
Returns:
The DateTimeFieldFormatConditionFormulaType object corresponding to the specified value.

from_string

public static final DateTimeFieldFormatConditionFormulaType from_string(java.lang.String sVal)

Returns the DateTimeFieldFormatConditionFormulaType object corresponding to the specified type.

Parameters:
sVal - The String value of the desired DateTimeFieldFormatConditionFormulaType object.
Returns:
The DateTimeFieldFormatConditionFormulaType object corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this DateTimeFieldFormatConditionFormulaType object.

Overrides:
toString in class java.lang.Object
Returns:
The String value of this DateTimeFieldFormatConditionFormulaType object.

value

public int value()

Returns the int value of this DateTimeFieldFormatConditionFormulaType object.

Overrides:
value in class ConditionFormulaType
Returns:
The int value of this DateTimeFieldFormatConditionFormulaType object.