DateTimeExtensions extension
- on
Properties
- date → DateTime
-
Available on DateTime, provided by the DateTimeExtensions extension
Gets the date with hour:0, minute:0, ...no setter
Methods
-
addMonth(
[int months = 1]) → DateTime -
Available on DateTime, provided by the DateTimeExtensions extension
-
firstDayOfMonth(
) → DateTime -
Available on DateTime, provided by the DateTimeExtensions extension
Gets the first day of this month -
firstDayOfWeek(
) → DateTime -
Available on DateTime, provided by the DateTimeExtensions extension
-
format(
DateFormat dateFormat) → String -
Available on DateTime, provided by the DateTimeExtensions extension
Formats the DateTime to a readable String -
lastDayOfMonth(
) → DateTime -
Available on DateTime, provided by the DateTimeExtensions extension
Gets the last day of this month -
lastSecond(
) → DateTime -
Available on DateTime, provided by the DateTimeExtensions extension
Gets the last second of this day -
subtractMonth(
[int months = 1]) → DateTime -
Available on DateTime, provided by the DateTimeExtensions extension
-
toIso8601(
) → String -
Available on DateTime, provided by the DateTimeExtensions extension
Converts the DateTime into an ISO8601 String