@Override
  public boolean equals(Object o) {
    if (!(o instanceof DateWritable)) {
      return false;
    }
    return compareTo((DateWritable) o) == 0;
  }
@return time in seconds corresponding to this DateWritable
storage-api/src/java/org/apache/hadoop/hive/serde2/io/DateWritable.java