@Override public int hashCode() { int result = day.hashCode(); result = 31 * result + unit.hashCode(); return result; }