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

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

public final class AMPMFormat
extends java.lang.Object

This class specifies the position of the AM or PM symbol in time formats.


Field Summary
static int _after
           The time symbol occurs after the time.
static int _before
           The time symbol occurs before the time.
static AMPMFormat after
           An AMPMFormat object that specifies that the time symbol occurs after the time.
static AMPMFormat before
           An AMPMFormat object that specifies that the time symbol occurs before the time.
 
Method Summary
static AMPMFormat from_int(int i)
           Returns the AMPMFormat object corresponding to the specified value.
static AMPMFormat from_string(java.lang.String sVal)
           Returns the AMPMFormat object corresponding to the specified type.
 java.lang.String toString()
           Returns the int value of this AMPMFormat object.
 int value()
           Returns the int value of this AMPMFormat object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_before

public static final int _before

The time symbol occurs before the time.

See Also:
Constant Field Values

_after

public static final int _after

The time symbol occurs after the time.

See Also:
Constant Field Values

before

public static final AMPMFormat before

An AMPMFormat object that specifies that the time symbol occurs before the time.


after

public static final AMPMFormat after

An AMPMFormat object that specifies that the time symbol occurs after the time.

Method Detail

from_int

public static final AMPMFormat from_int(int i)

Returns the AMPMFormat object corresponding to the specified value.

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

from_string

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

Returns the AMPMFormat object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the int value of this AMPMFormat object.

Overrides:
toString in class java.lang.Object
Returns:
The int value of this AMPMFormat object.

value

public int value()

Returns the int value of this AMPMFormat object.

Returns:
The int value of this AMPMFormat object.