DateTimeExt extension
- on
Properties
- endOfDay → DateTime
-
Available on DateTime, provided by the DateTimeExt extension
Returns a new DateTime instance representing the end of the day (23:59:59.999).no setter - isFuture → bool
-
Available on DateTime, provided by the DateTimeExt extension
Returns true if this DateTime instance is after the current date and time.no setter - isPast → bool
-
Available on DateTime, provided by the DateTimeExt extension
Returns true if this DateTime instance is before the current date and time.no setter - isToday → bool
-
Available on DateTime, provided by the DateTimeExt extension
Returns true if given date is todayno setter - isTomorrow → bool
-
Available on DateTime, provided by the DateTimeExt extension
Returns true if given date is tomorrowno setter - isYesterday → bool
-
Available on DateTime, provided by the DateTimeExt extension
Returns true if given date is yesterdayno setter - startOfDay → DateTime
-
Available on DateTime, provided by the DateTimeExt extension
Returns a new DateTime instance representing the beginning of the day (00:00:00).no setter - timeAgo → String
-
Available on DateTime, provided by the DateTimeExt extension
Returns Time Agono setter
Methods
-
isSameDay(
DateTime other) → bool -
Available on DateTime, provided by the DateTimeExt extension
Returns true if this DateTime instance is on the same calendar day as theotherDateTime.