Home
last modified time | relevance | path

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

/PHP-5.3/ext/date/lib/
H A Dunixtime2tm.c43 timelib_sll cur_year = 1970; in timelib_unixtime2gmt() local
60 cur_year += YEARS_PER_LYEAR_PERIOD * (tmp_days / DAYS_PER_LYEAR_PERIOD); in timelib_unixtime2gmt()
65 cur_year++; in timelib_unixtime2gmt()
66 if (timelib_is_leap(cur_year)) { in timelib_unixtime2gmt()
86 cur_year -= 4000; in timelib_unixtime2gmt()
90 cur_year--; in timelib_unixtime2gmt()
92 if (timelib_is_leap(cur_year)) { in timelib_unixtime2gmt()
101 TIMELIB_DEBUG(printf("tmp_days=%lld, year=%lld\n", tmp_days, cur_year);); in timelib_unixtime2gmt()
103 months = timelib_is_leap(cur_year) ? month_tab_leap : month_tab; in timelib_unixtime2gmt()
104 if (timelib_is_leap(cur_year) && cur_year < 1970) { in timelib_unixtime2gmt()
[all …]

Completed in 4 milliseconds