Main MRPT website > C++ reference for MRPT 1.5.9
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.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020