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

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.DayFormat

public final class DayFormat
extends java.lang.Object

This class is used to specify how to display the day.


Field Summary
static int _leadingZeroNumericDay
           Display the day as a 2-digit number (01-31).
static int _noDay
           Do not display the day.
static int _numericDay
           Display the day as a number.
static DayFormat leadingZeroNumericDay
           A DayFormat object that specifies to display the day as a 2-digit number (01-12).
static DayFormat noDay
           A DayFormat object that specifies to not display the day.
static DayFormat numericDay
           A DayFormat object that specifies to display the day as a number.
 
Method Summary
static DayFormat from_int(int i)
           Returns the DayFormat object corresponding to the specified value.
static DayFormat from_string(java.lang.String sVal)
           Returns the DayFormat object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this DayFormat object.
 int value()
           Returns the int value of this DayFormat object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_numericDay

public static final int _numericDay

Display the day as a number.

See Also:
Constant Field Values

_leadingZeroNumericDay

public static final int _leadingZeroNumericDay

Display the day as a 2-digit number (01-31).

See Also:
Constant Field Values

_noDay

public static final int _noDay

Do not display the day.

See Also:
Constant Field Values

numericDay

public static final DayFormat numericDay

A DayFormat object that specifies to display the day as a number.


leadingZeroNumericDay

public static final DayFormat leadingZeroNumericDay

A DayFormat object that specifies to display the day as a 2-digit number (01-12).


noDay

public static final DayFormat noDay

A DayFormat object that specifies to not display the day.

Method Detail

from_int

public static final DayFormat from_int(int i)

Returns the DayFormat object corresponding to the specified value.

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

from_string

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

Returns the DayFormat object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this DayFormat object.

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

value

public int value()

Returns the int value of this DayFormat object.

Returns:
The int value of this DayFormat object.