hasTime function

bool hasTime(
  1. DateTime time
)

Implementation

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