operator <= method

bool operator <=(
  1. DateTime other
)

Implementation

bool operator <=(DateTime other) =>
    isBefore(other) || isAtSameMomentAs(other);