DateTimeExts extension

on

Properties

beginning DateTime

Available on DateTime, provided by the DateTimeExts extension

Beginning of the day.
no setter
beginningOfNextMonth DateTime

Available on DateTime, provided by the DateTimeExts extension

no setter
beginningOfThisMonth DateTime

Available on DateTime, provided by the DateTimeExts extension

no setter
end DateTime

Available on DateTime, provided by the DateTimeExts extension

End of the day.
no setter
endOfDay DateTime

Available on DateTime, provided by the DateTimeExts extension

no setter
endOfWeek DateTime

Available on DateTime, provided by the DateTimeExts extension

Returns the Sunday of this week.
no setter
extraDaysEnd int

Available on DateTime, provided by the DateTimeExts extension

Returns the number of extra days at the end of a calendar table when the end of currently visible month is something other than Sunday.
no setter
extraDaysStart int

Available on DateTime, provided by the DateTimeExts extension

Returns the number of extra days at the beginning of a calendar table when the start of this month is something other than Monday.
no setter
firstDateInThisMonth DateTime

Available on DateTime, provided by the DateTimeExts extension

Returns DateTime of the first day in the month this DateTime is in, without hour, minute, second, etc. info.
no setter
lastDateInThisMonth DateTime

Available on DateTime, provided by the DateTimeExts extension

Returns DateTime of the last day in the month this DateTime is in, without hour, minute, second, etc. info.
no setter
lastMomentInThisMonth DateTime

Available on DateTime, provided by the DateTimeExts extension

Returns DateTime of the last moment in the month this DateTime is in.
no setter
nextDay DateTime

Available on DateTime, provided by the DateTimeExts extension

no setter
nextMonday DateTime

Available on DateTime, provided by the DateTimeExts extension

no setter
nextYear DateTime

Available on DateTime, provided by the DateTimeExts extension

no setter
numberOfDaysThisMonth int

Available on DateTime, provided by the DateTimeExts extension

no setter
previousDay DateTime

Available on DateTime, provided by the DateTimeExts extension

no setter
previousMonday DateTime

Available on DateTime, provided by the DateTimeExts extension

no setter
startOfDay DateTime

Available on DateTime, provided by the DateTimeExts extension

Returns this DateTime without hour, minute, second, etc. information.
no setter
startOfWeek DateTime

Available on DateTime, provided by the DateTimeExts extension

Returns the Monday of this week.
no setter

Methods

copyWith({int? year, int? month, int? day, int? hour, int? minute, int? second, int? millisecond, int? microsecond}) DateTime

Available on DateTime, provided by the DateTimeExts extension

format(DateFormat formatter) String

Available on DateTime, provided by the DateTimeExts extension

isBeforeNow() bool

Available on DateTime, provided by the DateTimeExts extension

isBeforeToday() bool

Available on DateTime, provided by the DateTimeExts extension

isFriday() bool

Available on DateTime, provided by the DateTimeExts extension

isFuture() bool

Available on DateTime, provided by the DateTimeExts extension

isMonday() bool

Available on DateTime, provided by the DateTimeExts extension

isOnOrAfter(DateTime other) bool

Available on DateTime, provided by the DateTimeExts extension

isOnOrBefore(DateTime other) bool

Available on DateTime, provided by the DateTimeExts extension

isPast() bool

Available on DateTime, provided by the DateTimeExts extension

isSameDay(DateTime other) bool

Available on DateTime, provided by the DateTimeExts extension

isSameMonth(DateTime other) bool

Available on DateTime, provided by the DateTimeExts extension

isSameWeek(DateTime other) bool

Available on DateTime, provided by the DateTimeExts extension

isSaturday() bool

Available on DateTime, provided by the DateTimeExts extension

isSunday() bool

Available on DateTime, provided by the DateTimeExts extension

isThisYear() bool

Available on DateTime, provided by the DateTimeExts extension

isThursday() bool

Available on DateTime, provided by the DateTimeExts extension

isToday() bool

Available on DateTime, provided by the DateTimeExts extension

isTomorrow() bool

Available on DateTime, provided by the DateTimeExts extension

isTuesday() bool

Available on DateTime, provided by the DateTimeExts extension

isWednesday() bool

Available on DateTime, provided by the DateTimeExts extension

isWeekend() bool

Available on DateTime, provided by the DateTimeExts extension

isYesterday() bool

Available on DateTime, provided by the DateTimeExts extension