modm API documentation
modm::Date Class Reference

Calender Date and Time. More...

#include <modm/ui/time/time.hpp>

Public Member Functions

UnixTime toUnixTimestamp () const
 

Public Attributes

uint8_t second
 Seconds after the minute [0, 60].
 
uint8_t minute
 Minutes after the hour [0, 59].
 
uint8_t hour
 Hours since midnight [0, 23].
 
uint8_t day
 Day of the month [1, 31].
 
uint8_t month
 Months since January [0, 11].
 
uint8_t year
 Years since 1900 (up to 2099)
 
uint8_t dayOfTheWeek
 Days since Sunday [0, 6] (0=Sunday, 6=Saturday)
 
uint8_t dayOfTheYear
 Days since January 1 [0, 365].
 

Detailed Description

Calender Date and Time.

Author
Fabian Greif

Member Function Documentation

modm::UnixTime modm::Date::toUnixTimestamp ( ) const

Converts calendar time to a time since epoch as a modm::UnixTime object.


The documentation for this class was generated from the following files: