### Question:
DateAtMidnight extends Date { public static DateAtMidnight from(Date datetime) { return new DateAtMidnight(dateWithoutTime(datetime).getTime()); } private  DateAtMidnight(long timestamp); static DateAtMidnight today(); static DateAtMidnight from(Date datetime); static DateAtMidnight from(long timestamp); static List<DateAtMidnight> datesBetween(DateAtMidnight from, DateAtMidnight to);  }### Answer:
@Test public void create() { DateAtMidnight dateAtMidnight = DateAtMidnight.from(datetime("28 Apr 2017 10:21")); assertHasNoTime(dateAtMidnight); }