operator < method

bool operator <(
  1. BasicDate other
)

Relational less than operator. returns true if this is less than other

Implementation

bool operator <(BasicDate other) {
  return compareTo(other) == -1;
}