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

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

public final class SecondFormat
extends java.lang.Object

This object specifies the second format.


Field Summary
static int _noLeadingZeroNumericSecond
           Display seconds without a leading zero.
static int _noSecond
           Do not display seconds.
static int _numericSecond
           Display seconds as a 2-digit number.
static SecondFormat noLeadingZeroNumericSecond
           A SecondFormat object that specifies to display seconds without a leading zero.
static SecondFormat noSecond
           A SecondFormat object that specifies to not display seconds.
static SecondFormat numericSecond
           A SecondFormat object that specifies to display seconds as a 2-digit number.
 
Method Summary
static SecondFormat from_int(int i)
           Returns the SecondFormat object corresponding to the specified value.
static SecondFormat from_string(java.lang.String sVal)
           Returns the SecondFormat object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this SecondFormat object.
 int value()
           Returns the int value of this SecondFormat object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_numericSecond

public static final int _numericSecond

Display seconds as a 2-digit number.

See Also:
Constant Field Values

_noLeadingZeroNumericSecond

public static final int _noLeadingZeroNumericSecond

Display seconds without a leading zero.

See Also:
Constant Field Values

_noSecond

public static final int _noSecond

Do not display seconds.

See Also:
Constant Field Values

numericSecond

public static final SecondFormat numericSecond

A SecondFormat object that specifies to display seconds as a 2-digit number.


noLeadingZeroNumericSecond

public static final SecondFormat noLeadingZeroNumericSecond

A SecondFormat object that specifies to display seconds without a leading zero.


noSecond

public static final SecondFormat noSecond

A SecondFormat object that specifies to not display seconds.

Method Detail

from_int

public static final SecondFormat from_int(int i)

Returns the SecondFormat object corresponding to the specified value.

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

from_string

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

Returns the SecondFormat object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this SecondFormat object.

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

value

public int value()

Returns the int value of this SecondFormat object.

Returns:
The int value of this SecondFormat object.