public Date get(boolean doesTimeMatter) {
    return new Date(daysToMillis(daysSinceEpoch, doesTimeMatter));
  }
@return Date value corresponding to the date in the local time zone
storage-api/src/java/org/apache/hadoop/hive/serde2/io/DateWritable.java