|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.DateTimeOrder
public final class DateTimeOrder
This class is used to specify the order of the elements in the DateTime field.
Field Summary | |
---|---|
static int |
_dateOnly
Display the date only. |
static int |
_dateThenTime
Display the date, then the time. |
static int |
_timeOnly
Display the time only. |
static int |
_timeThenDate
Display the time, then the date. |
static DateTimeOrder |
dateOnly
A DateTimeOrder object that specifies to display the date only. |
static DateTimeOrder |
dateThenTime
A DateTimeOrder object that specifies to display the date, then the time. |
static DateTimeOrder |
timeOnly
A DateTimeOrder object that specifies to display the time only. |
static DateTimeOrder |
timeThenDate
A DateTimeOrder object that specifies to display the time, then the date. |
Method Summary | |
---|---|
static DateTimeOrder |
from_int(int i)
Returns the DateTimeOrder object corresponding to the specified value. |
static DateTimeOrder |
from_string(java.lang.String sVal)
Returns the DateTimeOrder object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this DateTimeOrder object. |
int |
value()
Returns the int value of this DateTimeOrder object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _dateThenTime
Display the date, then the time.
public static final int _timeThenDate
Display the time, then the date.
public static final int _dateOnly
Display the date only.
public static final int _timeOnly
Display the time only.
public static final DateTimeOrder dateThenTime
A DateTimeOrder
object that specifies to display the date, then the time.
public static final DateTimeOrder timeThenDate
A DateTimeOrder
object that specifies to display the time, then the date.
public static final DateTimeOrder dateOnly
A DateTimeOrder
object that specifies to display the date only.
public static final DateTimeOrder timeOnly
A DateTimeOrder
object that specifies to display the time only.
Method Detail |
---|
public static final DateTimeOrder from_int(int i)
Returns the DateTimeOrder
object corresponding to the specified value.
i
- The int
value of the desired DateTimeOrder
object.
DateTimeOrder
object corresponding to the specified value.public static final DateTimeOrder from_string(java.lang.String sVal)
Returns the DateTimeOrder
object corresponding to the specified type.
sVal
- The String
value of the desired DateTimeOrder
object.
DateTimeOrder
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this DateTimeOrder
object.
toString
in class java.lang.Object
String
value of this DateTimeOrder
object.public int value()
Returns the int
value of this DateTimeOrder
object.
int
value of this DateTimeOrder
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |