TrinityCore
Loading...
Searching...
No Matches
Duration.h File Reference
#include <chrono>
+ Include dependency graph for Duration.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using Milliseconds = std::chrono::milliseconds
 Milliseconds shorthand typedef.
 
using FloatMilliseconds = std::chrono::duration< double, Milliseconds::period >
 
using Seconds = std::chrono::seconds
 Seconds shorthand typedef.
 
using FloatSeconds = std::chrono::duration< double, Seconds::period >
 
using Minutes = std::chrono::minutes
 Minutes shorthand typedef.
 
using FloatMinutes = std::chrono::duration< double, Minutes::period >
 
using Hours = std::chrono::hours
 Hours shorthand typedef.
 
using FloatHours = std::chrono::duration< double, Hours::period >
 
typedef std::chrono::steady_clock::time_point TimePoint
 time_point shorthand typedefs
 
typedef std::chrono::system_clock::time_point SystemTimePoint
 

Functions

constexpr std::chrono::days operator""_days (unsigned long long days)
 

Typedef Documentation

◆ FloatHours

using FloatHours = std::chrono::duration<double, Hours::period>

Definition at line 37 of file Duration.h.

◆ FloatMilliseconds

using FloatMilliseconds = std::chrono::duration<double, Milliseconds::period>

Definition at line 25 of file Duration.h.

◆ FloatMinutes

using FloatMinutes = std::chrono::duration<double, Minutes::period>

Definition at line 33 of file Duration.h.

◆ FloatSeconds

using FloatSeconds = std::chrono::duration<double, Seconds::period>

Definition at line 29 of file Duration.h.

◆ Hours

using Hours = std::chrono::hours

Hours shorthand typedef.

Definition at line 36 of file Duration.h.

◆ Milliseconds

using Milliseconds = std::chrono::milliseconds

Milliseconds shorthand typedef.

Definition at line 24 of file Duration.h.

◆ Minutes

using Minutes = std::chrono::minutes

Minutes shorthand typedef.

Definition at line 32 of file Duration.h.

◆ Seconds

using Seconds = std::chrono::seconds

Seconds shorthand typedef.

Definition at line 28 of file Duration.h.

◆ SystemTimePoint

typedef std::chrono::system_clock::time_point SystemTimePoint

Definition at line 41 of file Duration.h.

◆ TimePoint

typedef std::chrono::steady_clock::time_point TimePoint

time_point shorthand typedefs

Definition at line 40 of file Duration.h.

Function Documentation

◆ operator""_days()

constexpr std::chrono::days operator""_days ( unsigned long long  days)
constexpr

Definition at line 46 of file Duration.h.