operator==()

TimeSpan::operator==(TimeSpan) const method

Determines if the time interval represented by the current object is equal to the time interval represented by the specified object.

constexpr bool System::TimeSpan::operator==(TimeSpan value) const

Arguments

ParameterTypeDescription
valueTimeSpanThe TimeSpan object to compare the current object with

Return Value

True if the current object and the specified object represent the same time interval, otherwise - false

TimeSpan::operator==(std::nullptr_t) const method

constexpr bool System::TimeSpan::operator==(std::nullptr_t) const

See Also