com.crystaldecisions.sdk.occa.report.definition
Class DateSystemDefaultType

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.DateSystemDefaultType

public final class DateSystemDefaultType
extends java.lang.Object

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

_useLongDate

public static final int _useLongDate

System long date format.

See Also:
Constant Field Values

_useShortDate

public static final int _useShortDate

System short date format.

See Also:
Constant Field Values

_notUsingDefaults

public static final int _notUsingDefaults

Custom date format.

See Also:
Constant Field Values

useLongDate

public static final DateSystemDefaultType useLongDate

A DateSystemDefaultType that specifies the system long date format.


useShortDate

public static final DateSystemDefaultType useShortDate

A DateSystemDefaultType that specifies the system short date format.


notUsingDefaults

public static final DateSystemDefaultType notUsingDefaults

A DateSystemDefaultType that specifies the custom date format.

Method Detail

from_int

public static final DateSystemDefaultType from_int(int i)

Returns the DateSystemDefaultType object corresponding to the specified value.

Parameters:
i - The int value of the desired DateSystemDefaultType object.
Returns:
The DateSystemDefaultType object corresponding to the specified value.

from_string

public static final DateSystemDefaultType from_string(java.lang.String sVal)

Returns the DateSystemDefaultType object corresponding to the specified type.

Parameters:
sVal - The String value of the desired DateSystemDefaultType object.
Returns:
The DateSystemDefaultType object corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this DateSystemDefaultType object.

Overrides:
toString in class java.lang.Object
Returns:
The String value of this DateSystemDefaultType object.

value

public int value()

Returns the int value of this DateSystemDefaultType object.

Returns:
The int value of this DateSystemDefaultType object.