com.timeindexing.time
Class NanosecondDateFormat

java.lang.Object
  extended bycom.timeindexing.time.AbstractDateFormat
      extended bycom.timeindexing.time.NanosecondDateFormat
All Implemented Interfaces:
TimestampFormatting

public class NanosecondDateFormat
extends AbstractDateFormat

Convert a timestamp to a string using the NanosecondDateFormat. e.g. 2003/08/07 16:29:58.880123400


Field Summary
 
Fields inherited from class com.timeindexing.time.AbstractDateFormat
formatter
 
Constructor Summary
NanosecondDateFormat()
          Construct a NanosecondDateFormat object.
 
Method Summary
 java.lang.String format(long seconds, int nanoseconds)
          Format a time as seconds and nanoseconds.
 
Methods inherited from class com.timeindexing.time.AbstractDateFormat
format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NanosecondDateFormat

public NanosecondDateFormat()
Construct a NanosecondDateFormat object.

Method Detail

format

public java.lang.String format(long seconds,
                               int nanoseconds)
Format a time as seconds and nanoseconds.

Specified by:
format in interface TimestampFormatting
Specified by:
format in class AbstractDateFormat