MRPT logo

mrpt::system::TTimeParts Struct Reference

The parts of a date/time (it's like the standard 'tm' but with fractions of seconds). More...

#include <mrpt/system/datetime.h>

List of all members.

Public Attributes

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

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


Member Data Documentation

Month (1-12).

Definition at line 55 of file datetime.h.

Seconds (0.0000-59.9999).

Definition at line 59 of file datetime.h.

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

Definition at line 60 of file datetime.h.

Day (1-31).

Definition at line 56 of file datetime.h.

Hour (0-23).

Definition at line 57 of file datetime.h.

The year.

Definition at line 54 of file datetime.h.

Minute (0-59).

Definition at line 58 of file datetime.h.

Definition at line 53 of file datetime.h.




Page generated by Doxygen 1.6.2 for MRPT 0.8.1 SVN:exported at Mon Feb 15 22:01:07 UTC 2010