isAtSameMomentAs method

bool isAtSameMomentAs(
  1. Date other
)

Whether this date is at the same moment as other.

Implementation

bool isAtSameMomentAs(Date other) => toDateTime().isAtSameMomentAs(other.toDateTime());