operator == method

Returns true if this Duration is the same object as other.

bool operator ==(
other
)

Returns true if this Duration is the same object as other.