Lines Matching full:time
18 #include <time.h>
40 BCDTime getBCDTime(std::chrono::time_point<std::chrono::system_clock>& time) in getBCDTime() argument
45 time_t t = system_clock::to_time_t(time); in getBCDTime()
58 auto ms = duration_cast<milliseconds>(time.time_since_epoch()).count(); in getBCDTime()
68 std::chrono::time_point<std::chrono::system_clock> time{ms}; in getBCDTime() local
70 return getBCDTime(time); in getBCDTime()
96 Stream& operator>>(Stream& s, BCDTime& time) in operator >>() argument
98 s >> time.yearMSB >> time.yearLSB >> time.month >> time.day >> time.hour; in operator >>()
99 s >> time.minutes >> time.seconds >> time.hundredths; in operator >>()
103 Stream& operator<<(Stream& s, const BCDTime& time) in operator <<() argument
105 s << time.yearMSB << time.yearLSB << time.month << time.day << time.hour; in operator <<()
106 s << time.minutes << time.seconds << time.hundredths; in operator <<()