Returns same time in the previous day.
static DateTime previousDay(DateTime d) { return copyWith(d, day: d.day - 1); }