Loading files
extension DateTimeMinuteComparison on DateTime {
bool isEqualToMinute(DateTime other) {
return year == other.year &&
month == other.month &&
day == other.day &&
hour == other.hour &&
minute == other.minute;
}
bool isEqualToSecond(DateTime other) {
return year == other.year &&
month == other.month &&
day == other.day &&
hour == other.hour &&
minute == other.minute &&
second == other.second;
}
}
8c2908ee5This file is pinned to the selected release. Download the original to open it in your design tool.