isSameHour method

bool isSameHour(
  1. DateTime other
)

Check if this date is in the same hour than other

Implementation

bool isSameHour(DateTime other) => startOfHour == other.startOfHour;