|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.SecondFormat
public final class SecondFormat
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 |
|---|
public static final int _numericSecond
Display seconds as a 2-digit number.
public static final int _noLeadingZeroNumericSecond
Display seconds without a leading zero.
public static final int _noSecond
Do not display seconds.
public static final SecondFormat numericSecond
A SecondFormat object that specifies to display seconds as a 2-digit number.
public static final SecondFormat noLeadingZeroNumericSecond
A SecondFormat object that specifies to display seconds without a leading zero.
public static final SecondFormat noSecond
A SecondFormat object that specifies to not display seconds.
| Method Detail |
|---|
public static final SecondFormat from_int(int i)
Returns the SecondFormat object corresponding to the specified value.
i - The int value of the desired SecondFormat object.
SecondFormat object corresponding to the specified value.public static final SecondFormat from_string(java.lang.String sVal)
Returns the SecondFormat object corresponding to the specified type.
sVal - The String value of the desired SecondFormat object.
SecondFormat object corresponding to the specified type.public java.lang.String toString()
Returns the String value of this SecondFormat object.
toString in class java.lang.ObjectString value of this SecondFormat object.public int value()
Returns the int value of this SecondFormat object.
int value of this SecondFormat object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||