|
STTNet
|
Time-related operations, basic time tools. More...
Classes | |
| struct | Duration |
| A structure representing a time interval, supporting granularity in days, hours, minutes, seconds, and milliseconds. More... | |
| class | DateTime |
| Class for time operations, calculations, and timing. More... | |
Typedefs | |
| using | Milliseconds = std::chrono::duration< uint64_t, std::milli > |
| using | Seconds = std::chrono::duration< uint64_t > |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const Duration &a) |
| Output the Duration object to a stream in a readable format. More... | |
Time-related operations, basic time tools.
| using stt::time::Milliseconds = typedef std::chrono::duration<uint64_t, std::milli> |
| using stt::time::Seconds = typedef std::chrono::duration<uint64_t> |
| std::ostream& stt::time::operator<< | ( | std::ostream & | os, |
| const Duration & | a | ||
| ) |
Output the Duration object to a stream in a readable format.
This function formats the Duration fields (days, hours, minutes, seconds, milliseconds) and outputs them to the given output stream.
| os | The output stream (e.g., std::cout). |
| a | The Duration object to output. |
1.8.5