Main MRPT website > C++ reference for MRPT 1.5.6
List of all members | Public Attributes

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 35 of file datetime.h.

#include <mrpt/system/datetime.h>

Public Attributes

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

Member Data Documentation

◆ day

uint8_t mrpt::system::TTimeParts::day

◆ day_of_week

uint8_t mrpt::system::TTimeParts::day_of_week

Seconds (0.0000-59.9999)

Definition at line 43 of file datetime.h.

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

◆ daylight_saving

int mrpt::system::TTimeParts::daylight_saving

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

Definition at line 44 of file datetime.h.

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

◆ hour

uint8_t mrpt::system::TTimeParts::hour

◆ minute

uint8_t mrpt::system::TTimeParts::minute

◆ month

uint8_t mrpt::system::TTimeParts::month

◆ second

double mrpt::system::TTimeParts::second

◆ year

uint16_t mrpt::system::TTimeParts::year



Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019