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

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

public final class DateOrder
extends java.lang.Object

This class is used to specify the order of the elements in the date.


Field Summary
static int _dayMonthYear
           Displays date as Day/Month/Year.
static int _monthDayYear
           Displays date as Month/Day/Year.
static int _yearMonthDay
           Displays date as Year/Month/Day.
static DateOrder dayMonthYear
           A DateOrder object that specifies to display the date as Day/Month/Year.
static DateOrder monthDayYear
           A DateOrder object that specifies to display the date as Month/Day/Year.
static DateOrder yearMonthDay
           A DateOrder object that specifies to display the date as Year/Month/Day.
 
Method Summary
static DateOrder from_int(int i)
           Returns the DateOrder object corresponding to the specified value.
static DateOrder from_string(java.lang.String sVal)
           Returns the DateOrder object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this DateOrder object.
 int value()
           Returns the int value of this DateOrder object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_yearMonthDay

public static final int _yearMonthDay

Displays date as Year/Month/Day.

See Also:
Constant Field Values

_dayMonthYear

public static final int _dayMonthYear

Displays date as Day/Month/Year.

See Also:
Constant Field Values

_monthDayYear

public static final int _monthDayYear

Displays date as Month/Day/Year.

See Also:
Constant Field Values

yearMonthDay

public static final DateOrder yearMonthDay

A DateOrder object that specifies to display the date as Year/Month/Day.


dayMonthYear

public static final DateOrder dayMonthYear

A DateOrder object that specifies to display the date as Day/Month/Year.


monthDayYear

public static final DateOrder monthDayYear

A DateOrder object that specifies to display the date as Month/Day/Year.

Method Detail

from_int

public static final DateOrder from_int(int i)

Returns the DateOrder object corresponding to the specified value.

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

from_string

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

Returns the DateOrder object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this DateOrder object.

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

value

public int value()

Returns the int value of this DateOrder object.

Returns:
The int value of this DateOrder object.