operator < method

bool operator <(
  1. DateTime other
)

Returns true if this occurs strictly before other, accounting for time zones.

Alias for DateTime.isBefore.

Implementation

bool operator <(DateTime other) => isBefore(other);