dates library

Functions

getDaysInMonth(int year int month) → int
Gets the number of days for the given month, by taking the next month on day 0 and getting the number of days.
getMonthName(int month, { List<String> monthNames }) → String
Gets the name of the given month by its number, using either the supplied or default name.
isCurrentDate(DateTime date) → bool
Checks if the given date is equal to the current date.
isHighlightedDate(DateTime date, List<DateTime> highlightedDates) → bool
Checks if the given date is a highlighted date.