MRPT  1.9.9
List of all members | Public Attributes
mrpt::system::TTimeParts Struct Reference

Detailed Description

The parts of a date/time (it's like the standard 'tm' but with fractions of seconds).

See also
TTimeStamp, timestampToParts, buildTimestampFromParts

Definition at line 49 of file datetime.h.

#include <mrpt/system/datetime.h>

Public Attributes

uint16_t year {0}
 
uint8_t month {0}
 The year. More...
 
uint8_t day {0}
 Month (1-12) More...
 
uint8_t hour {0}
 Day (1-31) More...
 
uint8_t minute {0}
 Hour (0-23) More...
 
double second {0}
 Minute (0-59) More...
 
uint8_t day_of_week {0}
 Seconds (0.0000-59.9999) More...
 
int daylight_saving {0}
 Day of week (1:Sunday, 7:Saturday) More...
 

Member Data Documentation

◆ day

uint8_t mrpt::system::TTimeParts::day {0}

◆ day_of_week

uint8_t mrpt::system::TTimeParts::day_of_week {0}

◆ daylight_saving

int mrpt::system::TTimeParts::daylight_saving {0}

◆ hour

uint8_t mrpt::system::TTimeParts::hour {0}

◆ minute

uint8_t mrpt::system::TTimeParts::minute {0}

◆ month

uint8_t mrpt::system::TTimeParts::month {0}

◆ second

double mrpt::system::TTimeParts::second {0}

◆ year

uint16_t mrpt::system::TTimeParts::year {0}



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020