com.teraspaces.qwfix
Class FIXTZTimeOnly

java.lang.Object
  extended by com.teraspaces.qwfix.FIXTZTimeOnly

public final class FIXTZTimeOnly
extends Object

Represents a TZTimeOnly data type defined in FIX 5.0+.


Constructor Summary
FIXTZTimeOnly(TimeSpan time)
          Instantiates a new FIXTZTimeOnly.
FIXTZTimeOnly(TimeSpan time, DateTimeKind kind)
          Instantiates a new FIXTZTimeOnly.
FIXTZTimeOnly(TimeSpan time, TimeSpan offset)
          Instantiates a new FIXTZTimeOnly.
 
Method Summary
 DateTimeKind getKind()
          Gets the kind.
 TimeSpan getOffset()
           
 TZOffsetOption getOffsetOptions()
          Gets the offset options.
 TimeSpan getTime()
          Gets the time.
static FIXTZTimeOnly parse(String value)
          Creates an instance of FIXTZTimestamp from the string representation.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FIXTZTimeOnly

public FIXTZTimeOnly(TimeSpan time)
Instantiates a new FIXTZTimeOnly.

Parameters:
time - the time

FIXTZTimeOnly

public FIXTZTimeOnly(TimeSpan time,
                     DateTimeKind kind)
Instantiates a new FIXTZTimeOnly.

Parameters:
time - the time
kind - the kind

FIXTZTimeOnly

public FIXTZTimeOnly(TimeSpan time,
                     TimeSpan offset)
Instantiates a new FIXTZTimeOnly.

Parameters:
time - the time
offset - the offset
Method Detail

getKind

public DateTimeKind getKind()
Gets the kind.

Returns:
the kind

getOffsetOptions

public TZOffsetOption getOffsetOptions()
Gets the offset options.

Returns:
the offset options

getTime

public TimeSpan getTime()
Gets the time.

Returns:
the time

getOffset

public TimeSpan getOffset()

toString

public String toString()
Overrides:
toString in class Object

parse

public static FIXTZTimeOnly parse(String value)
Creates an instance of FIXTZTimestamp from the string representation.

Parameters:
value - the value
Returns:
The result FIXTZTimestamp.