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

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

public final class DateEraType
extends java.lang.Object

This class is used to specify how to display the era or period in the date.


Field Summary
static int _longEra
           Display the long form of the era or period of time.
static int _noEra
           Do not display the era or period of time.
static int _shortEra
           Display the short form of the era or period of time.
static DateEraType longEra
           A DateEraType object that specifies to display the long form of the era or period of time.
static DateEraType noEra
           A DateEraType object that specifies to not display the era or period of time.
static DateEraType shortEra
           A DateEraType object that specifies to display the short form of the era or period of time.
 
Method Summary
static DateEraType from_int(int i)
           Returns the DateEraType object corresponding to the specified value.
static DateEraType from_string(java.lang.String sVal)
           Returns the DateEraType object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this DateEraType object.
 int value()
           Returns the int value of this DateEraType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_shortEra

public static final int _shortEra

Display the short form of the era or period of time.

See Also:
Constant Field Values

_longEra

public static final int _longEra

Display the long form of the era or period of time.

See Also:
Constant Field Values

_noEra

public static final int _noEra

Do not display the era or period of time.

See Also:
Constant Field Values

shortEra

public static final DateEraType shortEra

A DateEraType object that specifies to display the short form of the era or period of time.


longEra

public static final DateEraType longEra

A DateEraType object that specifies to display the long form of the era or period of time.


noEra

public static final DateEraType noEra

A DateEraType object that specifies to not display the era or period of time.

Method Detail

from_int

public static final DateEraType from_int(int i)

Returns the DateEraType object corresponding to the specified value.

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

from_string

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

Returns the DateEraType object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this DateEraType object.

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

value

public int value()

Returns the int value of this DateEraType object.

Returns:
The int value of this DateEraType object.