operator < method

bool operator <(
  1. Period other
)

Returns true if this period is shorter than other.

Implementation

bool operator <(Period other) => _period < other._period;