operator <= method

bool operator <=(
  1. DateTime other
)

Implementation

bool operator <=(DateTime other) {
  return this == other || isBefore(other);
}