|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.DayFormat
public final class DayFormat
This class is used to specify how to display the day.
Field Summary | |
---|---|
static int |
_leadingZeroNumericDay
Display the day as a 2-digit number (01-31). |
static int |
_noDay
Do not display the day. |
static int |
_numericDay
Display the day as a number. |
static DayFormat |
leadingZeroNumericDay
A DayFormat object that specifies to display the day as a 2-digit number (01-12). |
static DayFormat |
noDay
A DayFormat object that specifies to not display the day. |
static DayFormat |
numericDay
A DayFormat object that specifies to display the day as a number. |
Method Summary | |
---|---|
static DayFormat |
from_int(int i)
Returns the DayFormat object corresponding to the specified value. |
static DayFormat |
from_string(java.lang.String sVal)
Returns the DayFormat object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this DayFormat object. |
int |
value()
Returns the int value of this DayFormat object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _numericDay
Display the day as a number.
public static final int _leadingZeroNumericDay
Display the day as a 2-digit number (01-31).
public static final int _noDay
Do not display the day.
public static final DayFormat numericDay
A DayFormat
object that specifies to display the day as a number.
public static final DayFormat leadingZeroNumericDay
A DayFormat
object that specifies to display the day as a 2-digit number (01-12).
public static final DayFormat noDay
A DayFormat
object that specifies to not display the day.
Method Detail |
---|
public static final DayFormat from_int(int i)
Returns the DayFormat
object corresponding to the specified value.
i
- The int
value of the desired DayFormat
object.
DayFormat
object corresponding to the specified value.public static final DayFormat from_string(java.lang.String sVal)
Returns the DayFormat
object corresponding to the specified type.
sVal
- The String
value of the desired DayFormat
object.
DayFormat
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this DayFormat
object.
toString
in class java.lang.Object
String
value of this DayFormat
object.public int value()
Returns the int
value of this DayFormat
object.
int
value of this DayFormat
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |