MCPcopy Create free account
hub / github.com/3rdparty/libprocess / RFC3339

Class RFC3339

include/process/time.hpp:119–128  ·  view source on GitHub ↗

Stream manipulator class which serializes Time objects in RFC 3339 format. Example: 1996-12-19T16:39:57-08:00,234

Source from the content-addressed store, hash-verified

117// format.
118// Example: 1996-12-19T16:39:57-08:00,234
119class RFC3339
120{
121public:
122 explicit RFC3339(const Time& _time) : time(_time) {}
123
124private:
125 friend std::ostream& operator<<(std::ostream& stream, const RFC3339& format);
126
127 const Time time;
128};
129
130
131std::ostream& operator<<(std::ostream& stream, const RFC3339& formatter);

Callers 2

TESTFunction · 0.85
time.hppFile · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68