|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.HourFormat
public final class HourFormat
This class is used to specify the hour format.
Field Summary | |
---|---|
static int |
_noHour
Do not display the hour. |
static int |
_noLeadingZeroNumericHour
Display the hour without a leading zero for single-digit hours. |
static int |
_numericHour
Display the hour in 2-digit format. |
static HourFormat |
noHour
An HourFormat object that specifies to not display the hour. |
static HourFormat |
noLeadingZeroNumericHour
An HourFormat object that specifies to display the hour without a leading zero for single-digit hours. |
static HourFormat |
numericHour
An HourFormat object that specifies to display the hour in 2-digit format. |
Method Summary | |
---|---|
static HourFormat |
from_int(int i)
Returns the HourFormat object corresponding to the specified value. |
static HourFormat |
from_string(java.lang.String sVal)
Returns the HourFormat object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this HourFormat object. |
int |
value()
Returns the int value of this HourFormat object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _numericHour
Display the hour in 2-digit format.
public static final int _noLeadingZeroNumericHour
Display the hour without a leading zero for single-digit hours.
public static final int _noHour
Do not display the hour.
public static final HourFormat numericHour
An HourFormat
object that specifies to display the hour in 2-digit format.
public static final HourFormat noLeadingZeroNumericHour
An HourFormat
object that specifies to display the hour without a leading zero for single-digit hours.
public static final HourFormat noHour
An HourFormat
object that specifies to not display the hour.
Method Detail |
---|
public static final HourFormat from_int(int i)
Returns the HourFormat
object corresponding to the specified value.
i
- The int
value of the desired HourFormat
object.
HourFormat
object corresponding to the specified value.public static final HourFormat from_string(java.lang.String sVal)
Returns the HourFormat
object corresponding to the specified type.
sVal
- The String
value of the desired HourFormat
object.
HourFormat
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this HourFormat
object.
toString
in class java.lang.Object
String
value of this HourFormat
object.public int value()
Returns the int
value of this HourFormat
object.
int
value of this HourFormat
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |