|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.TimeBase
public final class TimeBase
This class is used to specify the time base.
Field Summary | |
---|---|
static int |
_12Hour
Display time in 12-hour format. |
static int |
_24Hour
Display time in 24-hour format. |
static TimeBase |
TwelveHour
A TimeBase object used to specify the display time in 12-hour format. |
static TimeBase |
TwentyFourHour
A TimeBase object used to specify the display time in 24-hour format. |
Method Summary | |
---|---|
static TimeBase |
from_int(int i)
Returns the TimeBase object corresponding to the specified value. |
static TimeBase |
from_string(java.lang.String sVal)
Returns the TimeBase object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this TimeBase object. |
int |
value()
Returns the int value of this TimeBase object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _12Hour
Display time in 12-hour format.
public static final int _24Hour
Display time in 24-hour format.
public static final TimeBase TwelveHour
A TimeBase
object used to specify the display time in 12-hour format.
public static final TimeBase TwentyFourHour
A TimeBase
object used to specify the display time in 24-hour format.
Method Detail |
---|
public static final TimeBase from_int(int i)
Returns the TimeBase
object corresponding to the specified value.
i
- The int
value of the desired TimeBase
object.
TimeBase
object corresponding to the specified value.public static final TimeBase from_string(java.lang.String sVal)
Returns the TimeBase
object corresponding to the specified type.
sVal
- The String
value of the desired TimeBase
object.
TimeBase
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this TimeBase
object.
toString
in class java.lang.Object
String
value of this TimeBase
object.public int value()
Returns the int
value of this TimeBase
object.
int
value of this TimeBase
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |