operator <= method

bool operator <=(
  1. Date other
)

less than or equal operator

Implementation

bool operator <=(Date other) {
  return compareTo(other) <= 0;
}