operator <= method

bool operator <=(
  1. EDateTime other
)

Allows you to compare EDateTime with each other

Implementation

bool operator <=(EDateTime other) {
  if (isBefore(other) || _date == other._date) {
    return true;
  } else {
    return false;
  }
}