AceTimeClock  1.3.0
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ace_time::hw::HardwareDateTime Class Reference

The date (year, month, day) and time (hour, minute, second) fields supported by the DS3231 RTC chip. More...

#include <HardwareDateTime.h>

Public Member Functions

void printTo (Print &printer) const
 Print HardwareDateTime to 'printer'.
 

Public Attributes

uint8_t year
 [00, 99], year - 2000
 
uint8_t month
 [1, 12]
 
uint8_t day
 [1, 31]
 
uint8_t hour
 [0, 23]
 
uint8_t minute
 [0, 59]
 
uint8_t second
 [0, 59]
 
uint8_t dayOfWeek
 [1, 7], interpretation undefined, increments every day
 

Static Public Attributes

static const int16_t kBaseYear = 2000
 Base year of the DS3231 chip.
 

Detailed Description

The date (year, month, day) and time (hour, minute, second) fields supported by the DS3231 RTC chip.

Definition at line 19 of file HardwareDateTime.h.


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