public static long daysToMillis(int d) {
    return daysToMillis(d, true);
  }
@return time in seconds corresponding to this DateWritable
storage-api/src/java/org/apache/hadoop/hive/serde2/io/DateWritable.java