operator > method

bool operator >(
  1. Gregorian other
)

bigger than operator

Implementation

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