• Constructors
  • explicit RtcDateTime(uint32_t secondsFrom2000)
  • RtcDateTime(uint16_t year, uint8_t month, uint8_t dayOfMonth, uint8_t hour, uint8_t minute, uint8_t second)
  • RtcDateTime(const char* date, const char* time)
  • Properties
  • bool IsValid() const
  • uint16_t Year() const
  • uint8_t Month() const
  • uint8_t Day() const
  • uint8_t Hour() const
  • uint8_t Minute() const
  • uint8_t Second() const
  • uint8_t DayOfWeek() const
  • Initialization Methods
  • void InitWithNtp32Time(uint32_t secondsSince1900)
  • void InitWithNtp64Time(uint64_t secondsSince1900)
  • void InitWithUnix32Time(uint32_t secondsSince1970)
  • void InitWithUnix64Time(uint64_t secondsSince1970)
  • template <typename T_LOCALE> size_t InitWithDateTimeFormatString(const char* format, const char* datetime)
  • Comparison Operators
  • bool operator == (const RtcDateTime& right)
  • bool operator != (const RtcDateTime& right)
  • bool operator <= (const RtcDateTime& right)
  • bool operator >= (const RtcDateTime& right)
  • bool operator < (const RtcDateTime& right)
  • bool operator > (const RtcDateTime& right)
  • Mathematical Operators
  • void operator += (uint32_t seconds)
  • void operator + (uint32_t seconds)
  • void operator -= (uint32_t seconds)
  • void operator - (uint32_t seconds)
  • void operator += (int32_t seconds)
  • void operator + (int32_t seconds)
  • Methods
  • uint32_t TotalSeconds() const
  • uint64_t TotalSeconds64() const;
  • uint16_t TotalDays() const
  • RtcDateTime NextDayOfWeek(uint8_t dayOfWeek) const
  • uint32_t Unix32Time() const
  • uint64_t Unix64Time() const
  • uint32_t Ntp32Time() const
  • uint64_t Ntp64Time() const
  • Static Methods
  • static uint8_t DaysInMonth(uint16_t year, uint8_t month)
  • static bool IsLeapYear(uint16_t year)