com.teraspaces.qwfix
Class FIXTZTimestamp

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

public class FIXTZTimestamp
extends Object

Represents a TZTimestamp data type defined in FIX 5.0+.


Constructor Summary
FIXTZTimestamp(DateTime time)
          Instantiates a new FIXTZTimestamp.
FIXTZTimestamp(DateTime time, TimeSpan offset)
          Instantiates a new FIXTZTimestamp.
 
Method Summary
 TimeSpan getOffset()
           
 TZOffsetOption getOffsetOptions()
          Gets the offset options.
 DateTime getTime()
          Gets the time.
static FIXTZTimestamp 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

FIXTZTimestamp

public FIXTZTimestamp(DateTime time)
Instantiates a new FIXTZTimestamp.

Parameters:
time - the time

FIXTZTimestamp

public FIXTZTimestamp(DateTime time,
                      TimeSpan offset)
Instantiates a new FIXTZTimestamp.

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

getOffsetOptions

public TZOffsetOption getOffsetOptions()
Gets the offset options.

Returns:
the offset options

getTime

public DateTime getTime()
Gets the time.

Returns:
the time

getOffset

public TimeSpan getOffset()

toString

public String toString()
Overrides:
toString in class Object

parse

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

Parameters:
value - the value
Returns:
the FIXTZTimestamp