| 706 | } |
| 707 | |
| 708 | void |
| 709 | test_R() |
| 710 | { |
| 711 | using namespace date; |
| 712 | using namespace std::chrono; |
| 713 | { |
| 714 | std::istringstream in{"2016-12-26 13:36"}; |
| 715 | sys_seconds tp; |
| 716 | in >> parse("%F %R", tp); |
| 717 | assert(!in.fail()); |
| 718 | assert(!in.bad()); |
| 719 | assert(tp == sys_days{2016_y/12/26} + hours{13} + minutes{36}); |
| 720 | } |
| 721 | } |
| 722 | |
| 723 | void |
| 724 | test_U() |