| 1 | #cxx . . $ `<file>/chrono/format.h`/ifndef CHRONO_FORMAT_H |
| 2 | #define CHRONO_FORMAT_Hcxx . . $ `chrono/format.h:2:9`! |
| 3 | |
| 4 | #include "./datetime.h"cxx . . $ `<file>/chrono/datetime.h`/ |
| 5 | #include "./period.h"cxx . . $ `<file>/chrono/period.h`/ |
| 6 | |
| 7 | #include <ostream> |
| 8 | |
| 9 | inline stdcxx . . $ std/::ostreamcxx . . $ std/ostream# &operatorcxx . . $ `operator<<`(d4d7b6a54e197c39).<<(stdcxx . . $ std/::ostreamcxx . . $ std/ostream# &out, const CppUtilitiescxx . . $ CppUtilities/::DateTimecxx . . $ CppUtilities/DateTime# &value) |
| 10 | { |
| 11 | return out <<cxx . . $ std/`operator<<`(88df5bef833f7f83). value.toStringcxx . . $ CppUtilities/DateTime#toString(ae2e5394ab87f360).(CppUtilitiescxx . . $ CppUtilities/::DateTimeOutputFormatcxx . . $ CppUtilities/DateTimeOutputFormat#::DateAndTimecxx . . $ CppUtilities/DateTimeOutputFormat#DateAndTime., false); |
| 12 | } |
| 13 | |
| 14 | inline stdcxx . . $ std/::ostreamcxx . . $ std/ostream# &operatorcxx . . $ `operator<<`(37eaaf116f83e3e8).<<(stdcxx . . $ std/::ostreamcxx . . $ std/ostream# &out, const CppUtilitiescxx . . $ CppUtilities/::DateTimeExpressioncxx . . $ CppUtilities/DateTimeExpression# &value) |
| 15 | { |
| 16 | return out <<cxx . . $ std/`operator<<`(88df5bef833f7f83). value.toIsoStringcxx . . $ CppUtilities/DateTimeExpression#toIsoString(e97fc8b60e6313bd).(); |
| 17 | } |
| 18 | |
| 19 | inline stdcxx . . $ std/::ostreamcxx . . $ std/ostream# &operatorcxx . . $ `operator<<`(5246cfffbcca7a66).<<(stdcxx . . $ std/::ostreamcxx . . $ std/ostream# &out, const CppUtilitiescxx . . $ CppUtilities/::TimeSpancxx . . $ CppUtilities/TimeSpan# &value) |
| 20 | { |
| 21 | return out <<cxx . . $ std/`operator<<`(88df5bef833f7f83). value.toStringcxx . . $ CppUtilities/TimeSpan#toString(371643e8aee3bcbd).(CppUtilitiescxx . . $ CppUtilities/::TimeSpanOutputFormatcxx . . $ CppUtilities/TimeSpanOutputFormat#::Normalcxx . . $ CppUtilities/TimeSpanOutputFormat#Normal., false); |
| 22 | } |
| 23 | |
| 24 | inline stdcxx . . $ std/::ostreamcxx . . $ std/ostream# &operatorcxx . . $ `operator<<`(7b9814cd2b8cc76e).<<(stdcxx . . $ std/::ostreamcxx . . $ std/ostream# &out, const CppUtilitiescxx . . $ CppUtilities/::Periodcxx . . $ CppUtilities/Period# &value) |
| 25 | { |
| 26 | return out <<cxx . . $ std/basic_ostream#`operator<<`(23b6575433a77e57). value.yearscxx . . $ CppUtilities/Period#years(455f465bc33b4cdf).() <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). " years, " <<cxx . . $ std/basic_ostream#`operator<<`(23b6575433a77e57). value.monthscxx . . $ CppUtilities/Period#months(455f465bc33b4cdf).() <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). " months, " <<cxx . . $ std/basic_ostream#`operator<<`(23b6575433a77e57). value.dayscxx . . $ CppUtilities/Period#days(455f465bc33b4cdf).() <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). " days"; |
| 27 | } |
| 28 | |
| 29 | #endif // CHRONO_FORMAT_H |