operator <= method

bool operator <=(
  1. Period other
)

Returns true if this period is shorter than or equal to other.

Implementation

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