utils/date library

Extensions

DateTimeExtension on DateTime
JiffyExtension on Jiffy

Properties

kDayOfWeekFormatter → DateFormat
final

Functions

getDaysInMonth(Jiffy date, int weekDayStart, {bool fullWeeks = true}) List<Jiffy>
Generate list of days in a month If full weeks, it will add prev/next month days
getWeekdaysShort(int weekDayStart) List<String>
Get list of Weekdays by Locale
indexToWeekday(int index, int weekDayStart) int
Convert the index back to weekday Respect setting for start is monday or sunday