| 361 | } |
| 362 | |
| 363 | [[nodiscard]] static __tz::__on __parse_on(istream& __input) { |
| 364 | if (std::isdigit(__input.peek())) |
| 365 | return chrono::__parse_day(__input); |
| 366 | |
| 367 | if (std::tolower(__input.peek()) == 'l') { |
| 368 | chrono::__matches(__input, "last"); |
| 369 | return weekday_last(chrono::__parse_weekday(__input)); |
| 370 | } |
| 371 | |
| 372 | return __tz::__constrained_weekday{ |
| 373 | chrono::__parse_weekday(__input), chrono::__parse_comparison(__input), chrono::__parse_day(__input)}; |
| 374 | } |
| 375 | |
| 376 | [[nodiscard]] static seconds __parse_duration(istream& __input) { |
| 377 | seconds __result{0}; |
no test coverage detected