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

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

public final class MinuteFormat
extends java.lang.Object

This class is used to specify the minute format.


Field Summary
static int _noLeadingZeroNumericMinute
           Display minutes without a leading zero for single-digit minutes.
static int _noMinute
           Do not display minutes.
static int _numericMinute
           Display minutes as a 2-digit number.
static MinuteFormat noLeadingZeroNumericMinute
           A MinuteFormat object that specifies to display minutes without a leading zero for single-digit minutes.
static MinuteFormat noMinute
           A MinuteFormat object that specifies to not display minutes.
static MinuteFormat numericMinute
           A MinuteFormat object that specifies to display minutes as a 2-digit number.
 
Method Summary
static MinuteFormat from_int(int i)
           Returns the MinuteFormat object corresponding to the specified value.
static MinuteFormat from_string(java.lang.String sVal)
           Returns the MinuteFormat object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this MinuteFormat object.
 int value()
           Returns the int value of this MinuteFormat object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_numericMinute

public static final int _numericMinute

Display minutes as a 2-digit number.

See Also:
Constant Field Values

_noLeadingZeroNumericMinute

public static final int _noLeadingZeroNumericMinute

Display minutes without a leading zero for single-digit minutes.

See Also:
Constant Field Values

_noMinute

public static final int _noMinute

Do not display minutes.

See Also:
Constant Field Values

numericMinute

public static final MinuteFormat numericMinute

A MinuteFormat object that specifies to display minutes as a 2-digit number.


noLeadingZeroNumericMinute

public static final MinuteFormat noLeadingZeroNumericMinute

A MinuteFormat object that specifies to display minutes without a leading zero for single-digit minutes.


noMinute

public static final MinuteFormat noMinute

A MinuteFormat object that specifies to not display minutes.

Method Detail

from_int

public static final MinuteFormat from_int(int i)

Returns the MinuteFormat object corresponding to the specified value.

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

from_string

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

Returns the MinuteFormat object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this MinuteFormat object.

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

value

public int value()

Returns the int value of this MinuteFormat object.

Returns:
The int value of this MinuteFormat object.