MCPcopy Create free account
hub / github.com/comaps/comaps / Duration

Class Duration

libs/platform/duration.hpp:10–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8struct Locale;
9
10class Duration
11{
12public:
13 enum class Units
14 {
15 Days = 0,
16 Hours = 1,
17 Minutes = 2,
18 };
19
20 explicit Duration(unsigned long seconds);
21
22 std::chrono::seconds const & GetUnderlying() const noexcept { return m_seconds; }
23
24private:
25 std::chrono::seconds const m_seconds;
26};
27
28std::string DebugPrint(Duration::Units units);
29

Callers 2

GetFormattedDurationMethod · 0.50
SetTitlesForTrackMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected