operator < method

bool operator <(
  1. DateTime other
)

Determines if this DateTime is before other.

Implementation

bool operator < (DateTime other) => compareTo(other) < 0;