operator<()

DateTime::operator<(DateTime) const method

Determines if the current object represents the date and time value that is earlier than the value represented by the specified DateTime object.

constexpr bool System::DateTime::operator<(DateTime other) const

Arguments

ParameterTypeDescription
otherDateTimeThe DateTime object to compare the current object with

Return Value

True if the date and time value represented by the current object is earlier than the value represented by other, otherwise - false

DateTime::operator<(std::nullptr_t) const method

constexpr bool System::DateTime::operator<(std::nullptr_t) const

See Also