isAtSameMomentAs method

bool isAtSameMomentAs(
  1. Date other
)

Implementation

bool isAtSameMomentAs(Date other) {
  DateTime dateTime = DateTime(year, month, day);
  return dateTime
      .isAtSameMomentAs(DateTime(other.year, other.month, other.day));
}