1 #ifndef __TIME_IMPL_H__ 2 #define __TIME_IMPL_H__ 3 4 #include <time.h> 5 6 // It will not call getenv to get the value of "TZ". 7 #define TZ_NO_USE_ENV 0 8 #define TZ_USE_ENV 1 9 10 hidden int __days_in_month(int, int); 11 hidden int __month_to_secs(int, int); 12 hidden long long __year_to_secs(long long, int *); 13 hidden long long __tm_to_secs(const struct tm *); 14 hidden const char *__tm_to_tzname(const struct tm *); 15 hidden int __secs_to_tm(long long, struct tm *); 16 hidden void __secs_to_zone(long long, int, int *, long *, long *, const char **, int); 17 hidden const char *__strftime_fmt_1(char (*)[100], size_t *, int, const struct tm *, locale_t, int); 18 extern hidden const char __utc[]; 19 extern hidden const char __gmt[]; 20 21 #endif 22