MRPT  1.9.9
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

◆ day_of_week

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

Seconds (0.0000-59.9999)

Definition at line 57 of file datetime.h.

Referenced by mrpt::hwdrivers::CIMUXSens_MT4::doProcess().

◆ daylight_saving

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

Day of week (1:Sunday, 7:Saturday)

Definition at line 58 of file datetime.h.

Referenced by mrpt::hwdrivers::CIMUXSens_MT4::doProcess().

◆ hour

◆ minute

◆ month

◆ second

◆ year




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019