ExtDate extension
- on
Properties
Methods
-
ago(
{String locale = "en"}) → String - Returns a human-readable relative time string.
-
format(
{String pattern = "dd MMM yyyy", String? locale}) → String -
Available on DateTime, provided by the ExtDate extension
Formats this date using the givenpatternandlocale. -
formatMY(
[bool fullMonth = true]) → String - Formats this date as "Month Year".
-
isSameDate(
DateTime dateTime) → bool -
Available on DateTime, provided by the ExtDate extension
Checks whether this date has the same day and month as the givendateTime. -
isSameDay(
DateTime other) → bool -
Available on DateTime, provided by the ExtDate extension
Checks whether this date occurs on the same calendar day asother, including year.