Skip to content

Struct espos_time_parts_t

ClassList > espos_time_parts_t

Broken-down local time, for a display. More...

  • #include <espos_time.h>

Public Attributes

Type Name
uint8_t day
uint8_t hour
uint16_t millisecond
uint8_t minute
uint8_t month
uint8_t second
int32_t utc_offset_s
uint8_t wday
uint16_t yday
int32_t year

Detailed Description

Deliberately not struct tm: this header is the C ABI a binding is generated from and stays free of platform types. wday is 0 = Sunday, yday 0-365, utc_offset_s the offset the configured timezone applies at that instant (0 under the default UTC0).

Public Attributes Documentation

variable day

uint8_t espos_time_parts_t::day;

variable hour

uint8_t espos_time_parts_t::hour;

variable millisecond

uint16_t espos_time_parts_t::millisecond;

variable minute

uint8_t espos_time_parts_t::minute;

variable month

uint8_t espos_time_parts_t::month;

variable second

uint8_t espos_time_parts_t::second;

variable utc_offset_s

int32_t espos_time_parts_t::utc_offset_s;

variable wday

uint8_t espos_time_parts_t::wday;

variable yday

uint16_t espos_time_parts_t::yday;

variable year

int32_t espos_time_parts_t::year;


The documentation for this class was generated from the following file espos_time/include/espos_time.h