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

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

public final class MonthFormat
extends java.lang.Object

This class is used to specify how to display the month.


Field Summary
static int _leadingZeroNumericMonth
           Display the month as a 2-digit number (01-12).
static int _longMonth
           Display the month in full text form.
static int _noMonth
           Do not display the month.
static int _numericMonth
           Display the month as a number. (1-12)
static int _shortMonth
           Display the month in abbreviated form.
static MonthFormat leadingZeroNumericMonth
           A MonthFormat object used to display the month as a 2-digit number (01-12).
static MonthFormat longMonth
           A MonthFormat object used to display the month in full text form.
static MonthFormat noMonth
           A MonthFormat object used to not display the month.
static MonthFormat numericMonth
           A MonthFormat object used to display the month as a number. (1-12)
static MonthFormat shortMonth
           A MonthFormat object used to display the month in abbreviated form.
 
Method Summary
static MonthFormat from_int(int i)
           Returns the MonthFormat object corresponding to the specified value.
static MonthFormat from_string(java.lang.String sVal)
           Returns the MonthFormat object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this MonthFormat object.
 int value()
           Returns the int value of this MonthFormat object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_numericMonth

public static final int _numericMonth

Display the month as a number. (1-12)

See Also:
Constant Field Values

_leadingZeroNumericMonth

public static final int _leadingZeroNumericMonth

Display the month as a 2-digit number (01-12).

See Also:
Constant Field Values

_shortMonth

public static final int _shortMonth

Display the month in abbreviated form.

See Also:
Constant Field Values

_longMonth

public static final int _longMonth

Display the month in full text form.

See Also:
Constant Field Values

_noMonth

public static final int _noMonth

Do not display the month.

See Also:
Constant Field Values

numericMonth

public static final MonthFormat numericMonth

A MonthFormat object used to display the month as a number. (1-12)


leadingZeroNumericMonth

public static final MonthFormat leadingZeroNumericMonth

A MonthFormat object used to display the month as a 2-digit number (01-12).


shortMonth

public static final MonthFormat shortMonth

A MonthFormat object used to display the month in abbreviated form.


longMonth

public static final MonthFormat longMonth

A MonthFormat object used to display the month in full text form.


noMonth

public static final MonthFormat noMonth

A MonthFormat object used to not display the month.

Method Detail

from_int

public static final MonthFormat from_int(int i)

Returns the MonthFormat object corresponding to the specified value.

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

from_string

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

Returns the MonthFormat object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this MonthFormat object.

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

value

public int value()

Returns the int value of this MonthFormat object.

Returns:
The int value of this MonthFormat object.