comparison src/include/time_utils.h @ 2:23d0d9319a00

Update Also converted everything to LF from CRLF
author Paper <mrpapersonic@gmail.com>
date Sat, 12 Aug 2023 03:16:26 -0400
parents
children 1d82f6e04d7d
comparison
equal deleted inserted replaced
1:1ae666fdf9e2 2:23d0d9319a00
1 #ifndef __duration_h
2 #define __duration_h
3 #include <string>
4 #include <cstdint>
5 namespace Time {
6 class Duration {
7 public:
8 Duration(int64_t l);
9 int64_t InSeconds();
10 int64_t InMinutes();
11 int64_t InHours();
12 int64_t InDays();
13 std::string AsRelativeString();
14
15 private:
16 int64_t length;
17 };
18 int64_t GetSystemTime();
19 };
20 #endif // __duration_h