operator <= method
Compares two annual dates to see if the left one is earlier than or equal to the right one.
lhs
: First operand of the comparisonrhs
: Second operand of the comparison
Returns: true if the this is earlier than or equal to this, false otherwise.
Implementation
bool operator <=(AnnualDate rhs) {
return compareTo(rhs) <= 0;
}