public void set(int d) {
    date = Date.ofEpochDay(d);
  }
Set the DateWritableV2 based on the days since epoch date.
@param d integer value representing days since epoch date
serde/src/java/org/apache/hadoop/hive/serde2/io/DateWritableV2.java