| 339 | //===----------------------------------------------------------------------===// |
| 340 | |
| 341 | [[nodiscard]] static year __parse_to(istream& __input, year __only) { |
| 342 | if (std::tolower(__input.peek()) != 'o') |
| 343 | return chrono::__parse_year(__input); |
| 344 | |
| 345 | __input.get(); |
| 346 | chrono::__skip(__input, "nly"); |
| 347 | return __only; |
| 348 | } |
| 349 | |
| 350 | [[nodiscard]] static __tz::__constrained_weekday::__comparison_t __parse_comparison(istream& __input) { |
| 351 | switch (__input.get()) { |
no test coverage detected