7#ifndef TIME_SHIELD_MQL5_HEADER_DATE_STRUCT_MQH_INCLUDED
8#define TIME_SHIELD_MQL5_HEADER_DATE_STRUCT_MQH_INCLUDED
17#property copyright "Copyright 2025, NewYaroslav"
18#property link "https://github.com/LimiNode/time-shield-cpp"
TIME_SHIELD_CONSTEXPR T year(ts_t ts=time_shield::ts())
Alias for year_of function.
const DateStruct create_date_struct(int64_t year, int32_t mon=1, int32_t day=1)
Creates a DateStruct instance.
Main namespace for the Time Shield library.
Structure to represent a date.
int32_t mon
Month component of the date (1-12).
int32_t day
Day component of the date (1-31).
int64_t year
Year component of the date.
int day
Day component of the date (1–31).
long year
Year component of the date.
int mon
Month component of the date (1–12).