Atmel Software Framework

calendar_date Struct Reference

Calendar structure to hold a date.

#include <calendar.h>

Data Fields

uint8_t date
 0-30 More...
 
uint8_t dayofweek
 0 Sunday - 6 Saturday More...
 
uint8_t hour
 0-23 More...
 
uint8_t minute
 0-59 More...
 
uint8_t month
 0 January - 11 December More...
 
uint8_t second
 0-59 More...
 
uint16_t year
 1970-2105 More...
 

uint8_t calendar_date::date
uint8_t calendar_date::dayofweek

0 Sunday - 6 Saturday

Referenced by calendar_add_day_to_date(), and calendar_timestamp_to_date().