Open stevsimo opened 1 week ago
It would be nice to add following methods:
bool isSameYear(DateTime date) { return this.year == date.year; } bool isSameMonth(DateTime date) { return this.year == date.year && this.month == date.month; } bool isSameMonth(DateTime date) { return this.year == date.year && this.month == date.month && this.day == date.day; }
Sounds cool. You can open a pull-request if you like. Otherwise will consider this in the next update round.
It would be nice to add following methods: