DateExtensions extension
- on
Properties
-
daysInMonth
→ List<
DateTime> -
The list of days in a given month
no setter
- firstDayOfMonth → DateTime
-
no setter
- isLeapYear → bool
-
no setter
- isYesterday → bool
-
no setter
- lastDayOfMonth → DateTime
-
no setter
Methods
-
compareDateTo(
DateTime other) → int -
compareTimeTo(
DateTime other) → int -
max(
DateTime that) → DateTime -
min(
DateTime that) → DateTime - return the smaller date between
-
startOfDay(
) → DateTime - Start time of Date times
-
startOfMonth(
) → DateTime -
startOfYear(
) → DateTime -
tomorrow(
) → DateTime - next day
-
yesterday(
) → DateTime - last day