operator <= method

bool operator <=(
  1. Gregorian other
)

less than or equal operator

Implementation

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