Main MRPT website > C++ reference for MRPT 1.4.0
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

Month (1-12)

Definition at line 39 of file datetime.h.

◆ day_of_week

uint8_t mrpt::system::TTimeParts::day_of_week

Seconds (0.0000-59.9999)

Definition at line 43 of file datetime.h.

◆ daylight_saving

int mrpt::system::TTimeParts::daylight_saving

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

Definition at line 44 of file datetime.h.

◆ hour

uint8_t mrpt::system::TTimeParts::hour

Day (1-31)

Definition at line 40 of file datetime.h.

◆ minute

uint8_t mrpt::system::TTimeParts::minute

Hour (0-23)

Definition at line 41 of file datetime.h.

◆ month

uint8_t mrpt::system::TTimeParts::month

The year.

Definition at line 38 of file datetime.h.

◆ second

double mrpt::system::TTimeParts::second

Minute (0-59)

Definition at line 42 of file datetime.h.

◆ year

uint16_t mrpt::system::TTimeParts::year

Definition at line 37 of file datetime.h.




Page generated by Doxygen 1.9.5 for MRPT 1.4.0 SVN: at Tue Dec 27 00:53:09 UTC 2022