161 typedef unsigned long clock_t;
162 extern char *_CLOCKS_PER_SEC_;
163#define CLOCKS_PER_SEC ((clock_t) _CLOCKS_PER_SEC_)
164 extern clock_t clock(
void);
216 char *
asctime(
const struct tm * timeptr);
221 void asctime_r(
const struct tm * timeptr,
char *buf);
251 size_t strftime(
char *s,
size_t maxsize,
const char *format,
const struct tm * timeptr);
407#define ONE_DEGREE 3600
422#define UNIX_OFFSET 946684800
434#define NTP_OFFSET 3155673600
484 double solar_declination(
const time_t * timer);
485 long double solar_declinationl(
const time_t * timer);
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
uint32_t time_t
Definition: time.h:116
int8_t tm_wday
Definition: time.h:149
int8_t tm_mday
Definition: time.h:148
int8_t tm_mon
Definition: time.h:150
int16_t tm_isdst
Definition: time.h:153
int16_t tm_year
Definition: time.h:151
int8_t tm_hour
Definition: time.h:147
int8_t tm_min
Definition: time.h:146
int8_t tm_sec
Definition: time.h:145
int16_t tm_yday
Definition: time.h:152
int year
Definition: time.h:381
int week
Definition: time.h:382
int day
Definition: time.h:383
void set_system_time(time_t timestamp)
Definition: set_system_time.c:42
char * asctime(const struct tm *timeptr)
Definition: asctime.c:40
time_t sun_set(const time_t *timer)
Definition: sun_set.c:38
char * isotime(const struct tm *tmptr)
Definition: isotime.c:40
uint32_t fatfs_time(const struct tm *timeptr)
int32_t difftime(time_t time1, time_t time0)
Definition: difftime.c:38
time_t sun_rise(const time_t *timer)
Definition: sun_rise.c:38
struct week_date * iso_week_date(int year, int yday)
Definition: iso_week_date.c:44
time_t time(time_t *timer)
Definition: time.c:41
void ctime_r(const time_t *timer, char *buf)
Definition: ctime_r.c:37
time_t solar_noon(const time_t *timer)
Definition: solar_noon.c:40
void set_dst(int(*)(const time_t *, int32_t *))
Definition: set_dst.c:41
struct tm * localtime(const time_t *timer)
Definition: localtime.c:40
uint8_t week_of_month(const struct tm *timeptr, uint8_t start)
Definition: week_of_month.c:42
int16_t equation_of_time(const time_t *timer)
Definition: equation_of_time.c:54
struct tm * gmtime(const time_t *timer)
Definition: gmtime.c:41
int8_t moon_phase(const time_t *timer)
Definition: moon_phase.c:40
uint8_t week_of_year(const struct tm *timeptr, uint8_t start)
Definition: week_of_year.c:42
uint8_t is_leap_year(int16_t year)
int32_t daylight_seconds(const time_t *timer)
Definition: daylight_seconds.c:43
void gmtime_r(const time_t *timer, struct tm *timeptr)
Definition: gmtime_r.c:38
void iso_week_date_r(int year, int yday, struct week_date *)
Definition: iso_week_date_r.c:49
void set_position(int32_t latitude, int32_t longitude)
unsigned long lm_sidereal(const time_t *timer)
Definition: lm_sidereal.c:39
_MONTHS_
Definition: time.h:339
size_t strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr)
Definition: strftime.c:87
void asctime_r(const struct tm *timeptr, char *buf)
Definition: asctime_r.c:49
uint8_t month_length(int16_t year, uint8_t month)
unsigned long gm_sidereal(const time_t *timer)
Definition: gm_sidereal.c:49
time_t mk_gmtime(const struct tm *timeptr)
Definition: mk_gmtime.c:40
float solar_declinationf(const time_t *timer)
Definition: solar_declination.c:51
void localtime_r(const time_t *timer, struct tm *timeptr)
Definition: localtime_r.c:43
char * ctime(const time_t *timer)
Definition: ctime.c:40
time_t mktime(struct tm *timeptr)
Definition: mktime.c:43
void isotime_r(const struct tm *, char *)
Definition: isotime_r.c:41
_WEEK_DAYS_
Definition: time.h:326