TrinityCore
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

typedef std::chrono::milliseconds Milliseconds
 Milliseconds shorthand typedef. More...
 
typedef std::chrono::seconds Seconds
 Seconds shorthand typedef. More...
 
typedef std::chrono::minutes Minutes
 Minutes shorthand typedef. More...
 
typedef std::chrono::hours Hours
 Hours shorthand typedef. More...
 
typedef std::chrono::steady_clock::time_point TimePoint
 time_point shorthand typedefs More...
 
typedef std::chrono::system_clock::time_point SystemTimePoint
 

Functions

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

Typedef Documentation

◆ Hours

typedef std::chrono::hours Hours

Hours shorthand typedef.

Definition at line 38 of file Duration.h.

◆ Milliseconds

typedef std::chrono::milliseconds Milliseconds

Milliseconds shorthand typedef.

Definition at line 29 of file Duration.h.

◆ Minutes

typedef std::chrono::minutes Minutes

Minutes shorthand typedef.

Definition at line 35 of file Duration.h.

◆ Seconds

typedef std::chrono::seconds Seconds

Seconds shorthand typedef.

Definition at line 32 of file Duration.h.

◆ SystemTimePoint

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

Definition at line 42 of file Duration.h.

◆ TimePoint

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

time_point shorthand typedefs

Definition at line 41 of file Duration.h.

Function Documentation

◆ operator""_days()

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

Definition at line 47 of file Duration.h.