18#ifndef TRINITYCORE_DURATION_H
19#define TRINITYCORE_DURATION_H
36using Hours = std::chrono::hours;
37using FloatHours = std::chrono::duration<float, Hours::period>;
40typedef std::chrono::steady_clock::time_point
TimePoint;
44using namespace std::chrono_literals;
46constexpr std::chrono::days
operator""_days(
unsigned long long days)
48 return std::chrono::days(days);
std::chrono::duration< float, Milliseconds::period > FloatMilliseconds
std::chrono::system_clock::time_point SystemTimePoint
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
std::chrono::seconds Seconds
Seconds shorthand typedef.
std::chrono::duration< float, Hours::period > FloatHours
std::chrono::duration< float, Minutes::period > FloatMinutes
std::chrono::steady_clock::time_point TimePoint
time_point shorthand typedefs
std::chrono::duration< float, Seconds::period > FloatSeconds
std::chrono::hours Hours
Hours shorthand typedef.
std::chrono::minutes Minutes
Minutes shorthand typedef.