37 std::chrono::milliseconds period;
40 TPeriod(std::chrono::milliseconds period,
PeriodFlags flag) : period(period), flag(flag) {}
42 bool operator < (
const TPeriod &other)
const
44 if (this->flag != other.flag)
return this->flag < other.flag;
45 return this->period < other.period;
48 bool operator == (
const TPeriod &other)
const
50 return this->flag == other.flag && this->period == other.period;