com.epam.fix.message.format
Class TZTimeFormatter

java.lang.Object
  extended by com.epam.fix.message.format.TZTimeFormatter
All Implemented Interfaces:
FIXDateFormatter
Direct Known Subclasses:
TZTimeSecondsFormatter

public class TZTimeFormatter
extends Object
implements FIXDateFormatter

HH:MM[Z | [ + | - hh[:mm]]]


Constructor Summary
TZTimeFormatter()
           
 
Method Summary
 int format(Calendar calendar, byte[] buff, int offset)
           
protected  int formatTime(Calendar calendar, byte[] buff, int offset)
           
 int getFormattedStringLength(Calendar cal)
           
protected  com.epam.fix.message.format.TZTimeFormatter.TZOffsetType getOffsetType(TimeZone tz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TZTimeFormatter

public TZTimeFormatter()
Method Detail

getFormattedStringLength

public int getFormattedStringLength(Calendar cal)
Specified by:
getFormattedStringLength in interface FIXDateFormatter

getOffsetType

protected com.epam.fix.message.format.TZTimeFormatter.TZOffsetType getOffsetType(TimeZone tz)

format

public int format(Calendar calendar,
                  byte[] buff,
                  int offset)
Specified by:
format in interface FIXDateFormatter

formatTime

protected int formatTime(Calendar calendar,
                         byte[] buff,
                         int offset)


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.