6#ifndef _TIME_SHIELD_DATE_TIME_STRUCT_HPP_INCLUDED
7#define _TIME_SHIELD_DATE_TIME_STRUCT_HPP_INCLUDED
43 date_time.
hour = hour;
Main namespace for the Time Shield library.
const DateTimeStruct create_date_time_struct(const int64_t &year, const int &mon=1, const int &day=1, const int &hour=0, const int &min=0, const int &sec=0, const int &ms=0)
Creates a DateTimeStruct instance.
TIME_SHIELD_CONSTEXPR const T year(const ts_t &ts=ts())
Alias for get_year function.
Structure to represent date and time.
int ms
Millisecond component of time (0-999)
int hour
Hour component of time (0-23)
int64_t year
Year component of the date.
int day
Day component of the date (1-31).
int min
Minute component of time (0-59)
int mon
Month component of the date (1-12).
int sec
Second component of time (0-59)