DateTimeExtention extension
- on
Methods
-
firstDayOfMonth(
) → DateTime -
Available on DateTime, provided by the DateTimeExtention extension
Return first day of the month -
firstDayOfWeek(
{bool startWeekOnMonday = true}) → DateTime -
Available on DateTime, provided by the DateTimeExtention extension
Return first day of the week -
isSameDay(
DateTime other, {bool ignoreTime = true, bool ignoreTimezone = true}) → bool -
Available on DateTime, provided by the DateTimeExtention extension
Return if date is the same day asother
-
isSameMonth(
DateTime other, {bool ignoreTime = true, bool ignoreTimezone = true, bool ignoreDay = true}) → bool -
Available on DateTime, provided by the DateTimeExtention extension
Return if date is the same month asother
-
isSameYear(
DateTime other, {bool ignoreTime = true, bool ignoreTimezone = true, bool ignoreDay = true, bool ignoreMonth = true}) → bool -
Available on DateTime, provided by the DateTimeExtention extension
Return if date is the same year asother
-
lastDayOfMonth(
) → DateTime -
Available on DateTime, provided by the DateTimeExtention extension
Return last day of the month -
lastDayOfWeek(
{bool startWeekOnMonday = true}) → DateTime -
Available on DateTime, provided by the DateTimeExtention extension
Return last day of the week