158typedef unsigned long clock_t;
159extern char *_CLOCKS_PER_SEC_;
160#define CLOCKS_PER_SEC ((clock_t) _CLOCKS_PER_SEC_)
161extern clock_t clock(
void);
223void asctime_r(
const struct tm * timeptr,
char *buf);
253size_t strftime(
char *s,
size_t maxsize,
const char *format,
const struct tm * timeptr);
409#define ONE_DEGREE 3600
424#define UNIX_OFFSET 946684800
436#define NTP_OFFSET 3155673600
unsigned long int uint32_t
Definition: stdint.h:103
signed int int16_t
Definition: stdint.h:88
unsigned char uint8_t
Definition: stdint.h:83
signed long int int32_t
Definition: stdint.h:98
signed char int8_t
Definition: stdint.h:78
void set_system_time(time_t timestamp)
Definition: set_system_time.c:45
char * asctime(const struct tm *timeptr)
Definition: asctime.c:43
time_t sun_set(const time_t *timer)
Definition: sun_set.c:41
char * isotime(const struct tm *tmptr)
Definition: isotime.c:43
uint32_t fatfs_time(const struct tm *timeptr)
int32_t difftime(time_t time1, time_t time0)
Definition: difftime.c:41
time_t sun_rise(const time_t *timer)
Definition: sun_rise.c:41
struct week_date * iso_week_date(int year, int yday)
Definition: iso_week_date.c:47
time_t time(time_t *timer)
Definition: time.c:44
uint32_t time_t
Definition: time.h:114
double solar_declination(const time_t *timer)
void ctime_r(const time_t *timer, char *buf)
Definition: ctime_r.c:40
time_t solar_noon(const time_t *timer)
Definition: solar_noon.c:43
void set_dst(int(*)(const time_t *, int32_t *))
Definition: set_dst.c:44
struct tm * localtime(const time_t *timer)
Definition: localtime.c:43
uint8_t week_of_month(const struct tm *timeptr, uint8_t start)
Definition: week_of_month.c:45
int16_t equation_of_time(const time_t *timer)
Definition: equation_of_time.c:57
struct tm * gmtime(const time_t *timer)
Definition: gmtime.c:44
int8_t moon_phase(const time_t *timer)
Definition: moon_phase.c:42
uint8_t week_of_year(const struct tm *timeptr, uint8_t start)
Definition: week_of_year.c:45
uint8_t is_leap_year(int16_t year)
int32_t daylight_seconds(const time_t *timer)
Definition: daylight_seconds.c:46
long double solar_declinationl(const time_t *timer)
void gmtime_r(const time_t *timer, struct tm *timeptr)
Definition: gmtime_r.c:41
void iso_week_date_r(int year, int yday, struct week_date *)
Definition: iso_week_date_r.c:52
void set_position(int32_t latitude, int32_t longitude)
unsigned long lm_sidereal(const time_t *timer)
Definition: lm_sidereal.c:42
_MONTHS_
Definition: time.h:341
size_t strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr)
Definition: strftime.c:80
void asctime_r(const struct tm *timeptr, char *buf)
Definition: asctime_r.c:52
uint8_t month_length(int16_t year, uint8_t month)
unsigned long gm_sidereal(const time_t *timer)
Definition: gm_sidereal.c:52
time_t mk_gmtime(const struct tm *timeptr)
Definition: mk_gmtime.c:43
float solar_declinationf(const time_t *timer)
Definition: solar_declination.c:52
void localtime_r(const time_t *timer, struct tm *timeptr)
Definition: localtime_r.c:45
char * ctime(const time_t *timer)
Definition: ctime.c:43
time_t mktime(struct tm *timeptr)
Definition: mktime.c:46
void isotime_r(const struct tm *, char *)
Definition: isotime_r.c:43
_WEEK_DAYS_
Definition: time.h:328
int8_t tm_wday
Definition: time.h:146
int8_t tm_mday
Definition: time.h:145
int8_t tm_mon
Definition: time.h:147
int16_t tm_isdst
Definition: time.h:150
int16_t tm_year
Definition: time.h:148
int8_t tm_hour
Definition: time.h:144
int8_t tm_min
Definition: time.h:143
int8_t tm_sec
Definition: time.h:142
int16_t tm_yday
Definition: time.h:149
int year
Definition: time.h:383
int week
Definition: time.h:384
int day
Definition: time.h:385