com.teraspaces.qwfix
Enum TZOffsetOption

java.lang.Object
  extended by java.lang.Enum<TZOffsetOption>
      extended by com.teraspaces.qwfix.TZOffsetOption
All Implemented Interfaces:
Serializable, Comparable<TZOffsetOption>

public enum TZOffsetOption
extends Enum<TZOffsetOption>

Defines the options that decides how the time offset in FIXTZTimeOnly or FIXTZTimestamp is represented.


Enum Constant Summary
HOUR_AND_MINUTE
          Both hour and minute will be displayed, even if minute is 0.
HOUR_ONLY
          Only hour is available.
NONE
          No offset is available.
 
Method Summary
static TZOffsetOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TZOffsetOption[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final TZOffsetOption NONE
No offset is available.


HOUR_ONLY

public static final TZOffsetOption HOUR_ONLY
Only hour is available.


HOUR_AND_MINUTE

public static final TZOffsetOption HOUR_AND_MINUTE
Both hour and minute will be displayed, even if minute is 0.

Method Detail

values

public static TZOffsetOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TZOffsetOption c : TZOffsetOption.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TZOffsetOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null