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

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

public final class DayOfWeekEnclosure
extends java.lang.Object

This class is used to specify the enclosing characters of the name of a day of the week in a formatted date string.

See Also:
IDateFieldFormat.setDayOfWeekEnclosure(DayOfWeekEnclosure)

Field Summary
static int _inFWParentheses
           
static int _inFWSquareBrackets
           
static int _inParentheses
          Day of week enclosed in parentheses.
static int _inSquareBrackets
          Day of week enclosed in square brackets.
static int _none
          No enclosing characters for the day of week.
static DayOfWeekEnclosure inFWParentheses
           
static DayOfWeekEnclosure inFWSquareBrackets
           
static DayOfWeekEnclosure inParentheses
          Day of week enclosed in parentheses.
static DayOfWeekEnclosure inSquareBrackets
          Day of week enclosed in square brackets.
static DayOfWeekEnclosure none
          No enclosing characters.
 
Method Summary
static DayOfWeekEnclosure from_int(int i)
          Returns the DayOfWeekEnclosure object corresponding to the specified value.
static DayOfWeekEnclosure from_string(java.lang.String sVal)
          Returns the DayOfWeekEnclosure object corresponding to the specified type.
 java.lang.String toString()
          Returns the String value of this DayOfWeekEnclosure object.
 int value()
          Returns the int value of this DayOfWeekEnclosure object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_none

public static final int _none
No enclosing characters for the day of week.

See Also:
Constant Field Values

_inParentheses

public static final int _inParentheses
Day of week enclosed in parentheses.

See Also:
Constant Field Values

_inFWParentheses

public static final int _inFWParentheses
See Also:
Constant Field Values

_inSquareBrackets

public static final int _inSquareBrackets
Day of week enclosed in square brackets.

See Also:
Constant Field Values

_inFWSquareBrackets

public static final int _inFWSquareBrackets
See Also:
Constant Field Values

none

public static final DayOfWeekEnclosure none
No enclosing characters.


inParentheses

public static final DayOfWeekEnclosure inParentheses
Day of week enclosed in parentheses.


inFWParentheses

public static final DayOfWeekEnclosure inFWParentheses

inSquareBrackets

public static final DayOfWeekEnclosure inSquareBrackets
Day of week enclosed in square brackets.


inFWSquareBrackets

public static final DayOfWeekEnclosure inFWSquareBrackets
Method Detail

from_int

public static DayOfWeekEnclosure from_int(int i)
Returns the DayOfWeekEnclosure object corresponding to the specified value.

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

value

public int value()
Returns the int value of this DayOfWeekEnclosure object.

Returns:
The int value of this DayOfWeekEnclosure object.

toString

public java.lang.String toString()
Returns the String value of this DayOfWeekEnclosure object.

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

from_string

public static final DayOfWeekEnclosure from_string(java.lang.String sVal)
Returns the DayOfWeekEnclosure object corresponding to the specified type.

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