@Override
  public int compareTo(DateWritableV2 d) {
    return date.compareTo(d.date);
  }
@return time in seconds corresponding to this DateWritableV2
serde/src/java/org/apache/hadoop/hive/serde2/io/DateWritableV2.java