|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.DateSystemDefaultType
public final class DateSystemDefaultType
This class is used to specify how to use the system date format.
Field Summary | |
---|---|
static int |
_notUsingDefaults
Custom date format. |
static int |
_useLongDate
System long date format. |
static int |
_useShortDate
System short date format. |
static DateSystemDefaultType |
notUsingDefaults
A DateSystemDefaultType that specifies the custom date format. |
static DateSystemDefaultType |
useLongDate
A DateSystemDefaultType that specifies the system long date format. |
static DateSystemDefaultType |
useShortDate
A DateSystemDefaultType that specifies the system short date format. |
Method Summary | |
---|---|
static DateSystemDefaultType |
from_int(int i)
Returns the DateSystemDefaultType object corresponding to the specified value. |
static DateSystemDefaultType |
from_string(java.lang.String sVal)
Returns the DateSystemDefaultType object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this DateSystemDefaultType object. |
int |
value()
Returns the int value of this DateSystemDefaultType object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _useLongDate
System long date format.
public static final int _useShortDate
System short date format.
public static final int _notUsingDefaults
Custom date format.
public static final DateSystemDefaultType useLongDate
A DateSystemDefaultType
that specifies the system long date format.
public static final DateSystemDefaultType useShortDate
A DateSystemDefaultType
that specifies the system short date format.
public static final DateSystemDefaultType notUsingDefaults
A DateSystemDefaultType
that specifies the custom date format.
Method Detail |
---|
public static final DateSystemDefaultType from_int(int i)
Returns the DateSystemDefaultType
object corresponding to the specified value.
i
- The int
value of the desired DateSystemDefaultType
object.
DateSystemDefaultType
object corresponding to the specified value.public static final DateSystemDefaultType from_string(java.lang.String sVal)
Returns the DateSystemDefaultType
object corresponding to the specified type.
sVal
- The String
value of the desired DateSystemDefaultType
object.
DateSystemDefaultType
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this DateSystemDefaultType
object.
toString
in class java.lang.Object
String
value of this DateSystemDefaultType
object.public int value()
Returns the int
value of this DateSystemDefaultType
object.
int
value of this DateSystemDefaultType
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |