DateTimeExtension extension
Extension methods for DateTime objects used internally by date-related controls such as CalendarView and DatePicker.
- on
Properties
- daysInMonth → int
-
Available on DateTime, provided by the DateTimeExtension extension
Returns the number of days in this date's month.no setter
Methods
-
addDays(
int days) → DateTime -
Available on DateTime, provided by the DateTimeExtension extension
Returns a new DateTime that isdaysdays after this date, preserving whether the date is UTC or local. -
isSameDay(
DateTime? other) → bool -
Available on DateTime, provided by the DateTimeExtension extension
Returnstrueif this date falls on the same calendar day asother. -
isSameMonth(
DateTime? other) → bool -
Available on DateTime, provided by the DateTimeExtension extension
Returnstrueif this date falls in the same calendar month asother.