|
Time Shield Library
C++ library for working with time
|
Header for time zone structure and related functions (MQL5). More...
Go to the source code of this file.
Classes | |
| struct | time_shield::TimeZoneStruct |
| Structure to represent time zone information. More... | |
Namespaces | |
| namespace | time_shield |
| Main namespace for the Time Shield library. | |
Functions | |
| TimeZoneStruct | time_shield::create_time_zone_struct (int hour, int min, bool is_positive=true) |
| Creates a TimeZoneStruct instance. | |
| TimeZoneStruct | time_shield::to_time_zone_struct (int offset) |
Converts an integer offset to a TimeZoneStruct. | |
| TimeZoneStruct | time_shield::to_tz (int offset) |
Converts an integer offset to a TimeZoneStruct. | |
| std::string | time_shield::time_zone_struct_to_string (const TimeZoneStruct &tz) |
| Converts a TimeZoneStruct to a string representation. | |
| std::string | time_shield::to_string (const TimeZoneStruct &tz) |
| Alias for time_zone_struct_to_string function. | |
| std::string | time_shield::to_str (const TimeZoneStruct &tz) |
| Alias for time_zone_struct_to_string function. | |
| TIME_SHIELD_CONSTEXPR tz_t | time_shield::time_zone_struct_to_offset (const TimeZoneStruct &tz) noexcept |
| Convert a TimeZoneStruct to a numeric UTC offset (seconds). | |
| TIME_SHIELD_CONSTEXPR tz_t | time_shield::tz_to_offset (const TimeZoneStruct &tz) noexcept |
| Alias for time_zone_struct_to_offset. | |
| TIME_SHIELD_CONSTEXPR tz_t | time_shield::to_offset (const TimeZoneStruct &tz) noexcept |
| Alias for time_zone_struct_to_offset. | |
Header for time zone structure and related functions (MQL5).
This file contains the definition of the TimeZoneStruct structure and helper functions to create and convert time zone values in MQL5.
Definition in file time_zone_struct.mqh.