hasSameTimeAs method

bool hasSameTimeAs(
  1. DateTime date
)

Checks if time stamp of date is same as this. This method only checks hours and minutes.

Implementation

bool hasSameTimeAs(DateTime date) => getTotalMinutes == date.getTotalMinutes;