Mercurial > minori
view src/include/time_utils.h @ 8:b1f73678ef61
update
text paragraphs are now their own objects, as they should be
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sat, 26 Aug 2023 03:39:34 -0400 |
parents | 1d82f6e04d7d |
children |
line wrap: on
line source
#ifndef __duration_h #define __duration_h #include <string> #include <cstdint> namespace Time { class Duration { public: Duration(int64_t l); int64_t InSeconds(); int64_t InMinutes(); int64_t InHours(); int64_t InDays(); std::string AsRelativeString(); private: int64_t length; }; int64_t GetSystemTime(); }; #endif // __duration_h