DateTimeExtension extension Null safety
Date time extension.
- on
Methods
-
copyWith(
{int? year, int? month, int? day, int? hour, int? minute, int? second, int? millisecond, int? microsecond}) → DateTime -
firstDay(
) → DateTime -
isSameDay(
DateTime other) → bool -
isSameHour(
DateTime other) → bool -
isSameMinute(
DateTime other) → bool -
isSameMonth(
DateTime other) → bool -
isSameYear(
DateTime other) → bool -
lastDay(
) → DateTime -
lastMonth(
) → DateTime -
nextMonth(
) → DateTime -
onlyDay(
) → DateTime -
onlyMonth(
) → DateTime -
onlyYear(
) → DateTime