Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
time_shield::DateTimeStruct Struct Reference

Structure to represent date and time. More...

#include <date_time_struct.hpp>

Public Attributes

int64_t year
 Year component of the date.
 
int mon
 Month component of the date (1-12).
 
int day
 Day component of the date (1-31).
 
int hour
 Hour component of time (0-23)
 
int min
 Minute component of time (0-59)
 
int sec
 Second component of time (0-59)
 
int ms
 Millisecond component of time (0-999)
 

Detailed Description

Structure to represent date and time.

Definition at line 12 of file date_time_struct.hpp.

Member Data Documentation

◆ day

int time_shield::DateTimeStruct::day

Day component of the date (1-31).

Definition at line 15 of file date_time_struct.hpp.

◆ hour

int time_shield::DateTimeStruct::hour

Hour component of time (0-23)

Definition at line 16 of file date_time_struct.hpp.

◆ min

int time_shield::DateTimeStruct::min

Minute component of time (0-59)

Definition at line 17 of file date_time_struct.hpp.

◆ mon

int time_shield::DateTimeStruct::mon

Month component of the date (1-12).

Definition at line 14 of file date_time_struct.hpp.

◆ ms

int time_shield::DateTimeStruct::ms

Millisecond component of time (0-999)

Definition at line 19 of file date_time_struct.hpp.

◆ sec

int time_shield::DateTimeStruct::sec

Second component of time (0-59)

Definition at line 18 of file date_time_struct.hpp.

◆ year

int64_t time_shield::DateTimeStruct::year

Year component of the date.

Definition at line 13 of file date_time_struct.hpp.


The documentation for this struct was generated from the following file: