Chronological extension

Provides operations to allow DateTimes to be chronologically compared using the comparison operators.

on

Properties

isFuture bool
Determines if this DateTime is after the current date-time.
no setter
isPast bool
Determines if this DateTime is before the current date-time.
no setter

Operators

operator <(DateTime other) bool
Determines if this DateTime is before other.
operator <=(DateTime other) bool
Determines if this DateTime is before or the same moment as other.
operator >(DateTime other) bool
Determines if this DateTime is after other.
operator >=(DateTime other) bool
Determines if this DateTime is after or the same moment as other.