Main MRPT website > C++ reference for 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 37 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 45 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 46 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.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST