|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.MonthFormat
public final class MonthFormat
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 |
|---|
public static final int _numericMonth
Display the month as a number. (1-12)
public static final int _leadingZeroNumericMonth
Display the month as a 2-digit number (01-12).
public static final int _shortMonth
Display the month in abbreviated form.
public static final int _longMonth
Display the month in full text form.
public static final int _noMonth
Do not display the month.
public static final MonthFormat numericMonth
A MonthFormat object used to display the month as a number. (1-12)
public static final MonthFormat leadingZeroNumericMonth
A MonthFormat object used to display the month as a 2-digit number (01-12).
public static final MonthFormat shortMonth
A MonthFormat object used to display the month in abbreviated form.
public static final MonthFormat longMonth
A MonthFormat object used to display the month in full text form.
public static final MonthFormat noMonth
A MonthFormat object used to not display the month.
| Method Detail |
|---|
public static final MonthFormat from_int(int i)
Returns the MonthFormat object corresponding to the specified value.
i - The int value of the desired MonthFormat object.
MonthFormat object corresponding to the specified value.public static final MonthFormat from_string(java.lang.String sVal)
Returns the MonthFormat object corresponding to the specified type.
sVal - The String value of the desired MonthFormat object.
MonthFormat object corresponding to the specified type.public java.lang.String toString()
Returns the String value of this MonthFormat object.
toString in class java.lang.ObjectString value of this MonthFormat object.public int value()
Returns the int value of this MonthFormat object.
int value of this MonthFormat object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||