operator <= method

bool operator <=(
  1. DateTime other
)

Determines if this DateTime is before or the same moment as other.

Implementation

bool operator <= (DateTime other) => !(this > other);