OpenTTD Source  12.0-beta2
walltime_func.h File Reference
#include <ctime>

Go to the source code of this file.

Data Structures

struct  LocalTimeToStruct
 Helper for safely converting a std::time_t to a local time std::tm using localtime_s. More...
 
struct  UTCTimeToStruct
 Helper for safely converting a std::time_t to a UTC time std::tm using gmtime_s. More...
 
struct  Time< T >
 Container for wall clock time related functionality not directly provided by C++. More...
 

Typedefs

using LocalTime = Time< LocalTimeToStruct >
 Wall clock time functionality using the local time zone.
 
using UTCTime = Time< UTCTimeToStruct >
 Wall clock time functionality using the UTC time zone.
 

Detailed Description

Functionality related to the time of the clock on your wall.

Definition in file walltime_func.h.