|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.DateEraType
public final class DateEraType
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 |
---|
public static final int _shortEra
Display the short form of the era or period of time.
public static final int _longEra
Display the long form of the era or period of time.
public static final int _noEra
Do not display the era or period of time.
public static final DateEraType shortEra
A DateEraType
object that specifies to display the short form
of the era or period of time.
public static final DateEraType longEra
A DateEraType
object that specifies to display the long form
of the era or period of time.
public static final DateEraType noEra
A DateEraType
object that specifies to not display the era or period of time.
Method Detail |
---|
public static final DateEraType from_int(int i)
Returns the DateEraType
object corresponding to the specified value.
i
- The int
value of the desired DateEraType
object.
DateEraType
object corresponding to the specified value.public static final DateEraType from_string(java.lang.String sVal)
Returns the DateEraType
object corresponding to the specified type.
sVal
- The String
value of the desired DateEraType
object.
DateEraType
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this DateEraType
object.
toString
in class java.lang.Object
String
value of this DateEraType
object.public int value()
Returns the int
value of this DateEraType
object.
int
value of this DateEraType
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |