| 186 | } |
| 187 | |
| 188 | bool HasExtendedHours(osmoh::RuleSequence const & rule) |
| 189 | { |
| 190 | for (auto const & timespan : rule.GetTimes()) |
| 191 | { |
| 192 | if (timespan.HasExtendedHours()) |
| 193 | return true; |
| 194 | } |
| 195 | |
| 196 | return false; |
| 197 | } |
| 198 | |
| 199 | std::tm MakeTimetuple(time_t const timestamp) |
| 200 | { |
no test coverage detected