Home
last modified time | relevance | path

Searched refs:cur_year (Results 1 – 1 of 1) sorted by relevance

/PHP-8.0/ext/date/lib/
H A Dunixtime2tm.c36 timelib_sll cur_year = 1970; in timelib_unixtime2gmt() local
56 cur_year += YEARS_PER_LYEAR_PERIOD * (tmp_days / DAYS_PER_LYEAR_PERIOD); in timelib_unixtime2gmt()
59 TIMELIB_DEBUG(printf("tmp_days=%lld, year=%lld\n", tmp_days, cur_year);); in timelib_unixtime2gmt()
63 cur_year++; in timelib_unixtime2gmt()
64 if (timelib_is_leap(cur_year)) { in timelib_unixtime2gmt()
73 cur_year--; in timelib_unixtime2gmt()
74 if (timelib_is_leap(cur_year)) { in timelib_unixtime2gmt()
83 TIMELIB_DEBUG(printf("tmp_days=%lld, year=%lld\n", tmp_days, cur_year);); in timelib_unixtime2gmt()
85 months = timelib_is_leap(cur_year) ? month_tab_leap : month_tab; in timelib_unixtime2gmt()
86 if (timelib_is_leap(cur_year) && cur_year < 1970) { in timelib_unixtime2gmt()
[all …]

Completed in 4 milliseconds