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