public void write(DataOutput out) throws IOException {
    checkBytes();
    out.write(currentBytes, offset, getTotalLength());
  }
@return double representation of the timestamp, accurate to nanoseconds
serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampWritable.java