6#ifndef _TIME_SHIELD_DATE_STRUCT_HPP_INCLUDED
7#define _TIME_SHIELD_DATE_STRUCT_HPP_INCLUDED
TIME_SHIELD_CONSTEXPR const T year(ts_t ts=ts())
Alias for get_year 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.