operator < method

bool operator <(
  1. Moment other
)

Returns true if this moment comes before other chronologically.

Implementation

bool operator <(Moment other) => totalSeconds < other.totalSeconds;