operator > method

bool operator >(
  1. Date other
)

bigger than operator

Implementation

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