Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
time_zone_conversions.hpp File Reference

Helpers for converting CET/EET/ET timestamps to GMT (UTC). More...

Go to the source code of this file.

Namespaces

namespace  time_shield
 Main namespace for the Time Shield library.
 

Functions

ts_t time_shield::cet_to_gmt (ts_t cet)
 Convert Central European Time to Greenwich Mean Time.
 
ts_t time_shield::eet_to_gmt (ts_t eet)
 Convert Eastern European Time to Greenwich Mean Time.
 
bool time_shield::is_us_eastern_dst_local (const DateTimeStruct &dt)
 Check if local US Eastern time uses DST.
 
ts_t time_shield::et_to_gmt (ts_t et)
 Convert US Eastern Time (New York, EST/EDT) to GMT (UTC).
 
ts_t time_shield::gmt_to_et (ts_t gmt)
 Convert GMT (UTC) to US Eastern Time (New York, EST/EDT).
 
ts_t time_shield::ny_to_gmt (ts_t ny)
 Convert New York Time to GMT (UTC).
 
ts_t time_shield::gmt_to_ny (ts_t gmt)
 Convert GMT (UTC) to New York Time.
 
ts_t time_shield::ct_to_gmt (ts_t ct)
 Convert US Central Time (America/Chicago, CST/CDT) to GMT (UTC).
 
ts_t time_shield::gmt_to_ct (ts_t gmt)
 Convert GMT (UTC) to US Central Time (America/Chicago, CST/CDT).
 
ts_t time_shield::gmt_to_cet (ts_t gmt)
 Convert Greenwich Mean Time to Central European Time.
 
ts_t time_shield::gmt_to_eet (ts_t gmt)
 Convert Greenwich Mean Time to Eastern European Time.
 

Detailed Description

Helpers for converting CET/EET/ET timestamps to GMT (UTC).

Definition in file time_zone_conversions.hpp.