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

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

public final class DateTimeOrder
extends java.lang.Object

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


Field Summary
static int _dateOnly
           Display the date only.
static int _dateThenTime
           Display the date, then the time.
static int _timeOnly
           Display the time only.
static int _timeThenDate
           Display the time, then the date.
static DateTimeOrder dateOnly
           A DateTimeOrder object that specifies to display the date only.
static DateTimeOrder dateThenTime
           A DateTimeOrder object that specifies to display the date, then the time.
static DateTimeOrder timeOnly
           A DateTimeOrder object that specifies to display the time only.
static DateTimeOrder timeThenDate
           A DateTimeOrder object that specifies to display the time, then the date.
 
Method Summary
static DateTimeOrder from_int(int i)
           Returns the DateTimeOrder object corresponding to the specified value.
static DateTimeOrder from_string(java.lang.String sVal)
           Returns the DateTimeOrder object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this DateTimeOrder object.
 int value()
           Returns the int value of this DateTimeOrder object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_dateThenTime

public static final int _dateThenTime

Display the date, then the time.

See Also:
Constant Field Values

_timeThenDate

public static final int _timeThenDate

Display the time, then the date.

See Also:
Constant Field Values

_dateOnly

public static final int _dateOnly

Display the date only.

See Also:
Constant Field Values

_timeOnly

public static final int _timeOnly

Display the time only.

See Also:
Constant Field Values

dateThenTime

public static final DateTimeOrder dateThenTime

A DateTimeOrder object that specifies to display the date, then the time.


timeThenDate

public static final DateTimeOrder timeThenDate

A DateTimeOrder object that specifies to display the time, then the date.


dateOnly

public static final DateTimeOrder dateOnly

A DateTimeOrder object that specifies to display the date only.


timeOnly

public static final DateTimeOrder timeOnly

A DateTimeOrder object that specifies to display the time only.

Method Detail

from_int

public static final DateTimeOrder from_int(int i)

Returns the DateTimeOrder object corresponding to the specified value.

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

from_string

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

Returns the DateTimeOrder object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this DateTimeOrder object.

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

value

public int value()

Returns the int value of this DateTimeOrder object.

Returns:
The int value of this DateTimeOrder object.