bool hasTime(DateTime time) => time.second != 0 || time.minute != 0 || time.hour != 0 || time.millisecond != 0;