The Battle for Wesnoth  1.15.3+dev
Macros
time.cpp File Reference
#include <mysql.h>
#include <sstream>
#include <mariadb++/exceptions.hpp>
#include <mariadb++/date_time.hpp>
#include <mariadb++/time.hpp>
#include <mariadb++/conversion_helper.hpp>
#include <iomanip>
#include <chrono>
#include "private.hpp"
Include dependency graph for time.cpp:

Go to the source code of this file.

Macros

#define MS_PER_SEC   1000
 
#define MS_PER_MIN   (MS_PER_SEC * 60)
 
#define MS_PER_HOUR   (MS_PER_MIN * 60)
 
#define MS_PER_DAY   (MS_PER_HOUR * 24)
 

Macro Definition Documentation

◆ MS_PER_DAY

#define MS_PER_DAY   (MS_PER_HOUR * 24)

Definition at line 24 of file time.cpp.

Referenced by mariadb::time::time_between().

◆ MS_PER_HOUR

#define MS_PER_HOUR   (MS_PER_MIN * 60)

Definition at line 23 of file time.cpp.

Referenced by mariadb::time::time_between().

◆ MS_PER_MIN

#define MS_PER_MIN   (MS_PER_SEC * 60)

Definition at line 22 of file time.cpp.

Referenced by mariadb::time::time_between().

◆ MS_PER_SEC

#define MS_PER_SEC   1000

Definition at line 21 of file time.cpp.

Referenced by mariadb::time::time_between().