isBefore method

bool isBefore(
  1. EDateTime other
)

Returns true if this occurs before other.

The comparison is independent of whether the time is in UTC or in the local time zone.

Implementation

bool isBefore(EDateTime other) {
  return _date.isBefore(other._date);
}