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

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

public final class DayOfWeekType
extends java.lang.Object

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


Field Summary
static int _longType
           Display the full name of the day in the date.
static int _noType
           Do not display the name of the day in the date.
static int _shortType
           Display an abbreviation of the name of the day in the date.
static DayOfWeekType longType
           A DayOfWeekType object that specifies to display the full name of the day in the date.
static DayOfWeekType noType
           A DayOfWeekType object that specifies to not display the name of the day in the date.
static DayOfWeekType shortType
           A DayOfWeekType object that specifies to display an abbreviation of the name of the day in the date.
 
Method Summary
static DayOfWeekType from_int(int i)
           Returns the DayOfWeekType object corresponding to the specified value.
static DayOfWeekType from_string(java.lang.String sVal)
           Returns the DayOfWeekType object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this DayOfWeekType object.
 int value()
           Returns the int value of this DayOfWeekType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_shortType

public static final int _shortType

Display an abbreviation of the name of the day in the date.

See Also:
Constant Field Values

_longType

public static final int _longType

Display the full name of the day in the date.

See Also:
Constant Field Values

_noType

public static final int _noType

Do not display the name of the day in the date.

See Also:
Constant Field Values

shortType

public static final DayOfWeekType shortType

A DayOfWeekType object that specifies to display an abbreviation of the name of the day in the date.


longType

public static final DayOfWeekType longType

A DayOfWeekType object that specifies to display the full name of the day in the date.


noType

public static final DayOfWeekType noType

A DayOfWeekType object that specifies to not display the name of the day in the date.

Method Detail

from_int

public static final DayOfWeekType from_int(int i)

Returns the DayOfWeekType object corresponding to the specified value.

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

from_string

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

Returns the DayOfWeekType object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this DayOfWeekType object.

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

value

public int value()

Returns the int value of this DayOfWeekType object.

Returns:
The int value of this DayOfWeekType object.