|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.YearFormat
public final class YearFormat
This class is used to specify how to display the year.
| Field Summary | |
|---|---|
static int |
_longYear
Display the year in 4 digits. |
static int |
_noYear
Do not display the year. |
static int |
_shortYear
Display the year in 2 digits. |
static YearFormat |
longYear
A YearFormat object that specifies to display the year in 4 digits. |
static YearFormat |
noYear
A YearFormat object that specifies to not display the year. |
static YearFormat |
shortYear
A YearFormat object that specifies to display the year in 2 digits. |
| Method Summary | |
|---|---|
static YearFormat |
from_int(int i)
Returns the YearFormat object corresponding to the specified value. |
static YearFormat |
from_string(java.lang.String sVal)
Returns the YearFormat object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this YearFormat object. |
int |
value()
Returns the int value of this YearFormat object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int _shortYear
Display the year in 2 digits.
public static final int _longYear
Display the year in 4 digits.
public static final int _noYear
Do not display the year.
public static final YearFormat shortYear
A YearFormat object that specifies to display the year in 2 digits.
public static final YearFormat longYear
A YearFormat object that specifies to display the year in 4 digits.
public static final YearFormat noYear
A YearFormat object that specifies to not display the year.
| Method Detail |
|---|
public static final YearFormat from_int(int i)
Returns the YearFormat object corresponding to the specified value.
i - The int value of the desired YearFormat object.
YearFormat object corresponding to the specified value.public static final YearFormat from_string(java.lang.String sVal)
Returns the YearFormat object corresponding to the specified type.
sVal - The String value of the desired YearFormat object.
YearFormat object corresponding to the specified type.public java.lang.String toString()
Returns the String value of this YearFormat object.
toString in class java.lang.ObjectString value of this YearFormat object.public int value()
Returns the int value of this YearFormat object.
int value of this YearFormat object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||