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

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

public final class DayOfWeekPosition
extends java.lang.Object

This class is used to specify where to display the name of the day in the date.


Field Summary
static int _leadingPosition
           The name of the day is in a leading position in the date.
static int _trailingPosition
           The name of the day is in a trailing position in the date.
static DayOfWeekPosition leadingPosition
           A DayOfWeekPosition object that specifies that the name of the day is in a leading position in the date.
static DayOfWeekPosition trailingPosition
           A DayOfWeekPosition object that specifies that the name of the day is in a trailing position in the date.
 
Method Summary
static DayOfWeekPosition from_int(int i)
           Returns the DayOfWeekPosition object corresponding to the specified value.
static DayOfWeekPosition from_string(java.lang.String sVal)
           Returns the DayOfWeekPosition object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this DayOfWeekPosition object.
 int value()
           Returns the int value of this DayOfWeekPosition object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_leadingPosition

public static final int _leadingPosition

The name of the day is in a leading position in the date.

See Also:
Constant Field Values

_trailingPosition

public static final int _trailingPosition

The name of the day is in a trailing position in the date.

See Also:
Constant Field Values

leadingPosition

public static final DayOfWeekPosition leadingPosition

A DayOfWeekPosition object that specifies that the name of the day is in a leading position in the date.


trailingPosition

public static final DayOfWeekPosition trailingPosition

A DayOfWeekPosition object that specifies that the name of the day is in a trailing position in the date.

Method Detail

from_int

public static final DayOfWeekPosition from_int(int i)

Returns the DayOfWeekPosition object corresponding to the specified value.

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

from_string

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

Returns the DayOfWeekPosition object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this DayOfWeekPosition object.

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

value

public int value()

Returns the int value of this DayOfWeekPosition object.

Returns:
The int value of this DayOfWeekPosition object.