year 281 core/ngx_times.c ngx_uint_t n, sec, min, hour, mday, mon, year, wday, days, leap; year 314 core/ngx_times.c year = (days + 2) * 400 / (365 * 400 + 100 - 4 + 1); year 316 core/ngx_times.c yday = days - (365 * year + year / 4 - year / 100 + year / 400); year 319 core/ngx_times.c leap = (year % 4 == 0) && (year % 100 || (year % 400 == 0)); year 321 core/ngx_times.c year--; year 340 core/ngx_times.c year++; year 365 core/ngx_times.c tp->ngx_tm_year = (ngx_tm_year_t) year; year 18 http/ngx_http_parse_time.c ngx_uint_t day, year, hour, min, sec; year 32 http/ngx_http_parse_time.c year = 2038; year 133 http/ngx_http_parse_time.c year = (*p - '0') * 1000 + (*(p + 1) - '0') * 100 year 142 http/ngx_http_parse_time.c year = (*p - '0') * 10 + *(p + 1) - '0'; year 143 http/ngx_http_parse_time.c year += (year < 70) ? 2000 : 1900; year 217 http/ngx_http_parse_time.c year = (*p - '0') * 1000 + (*(p + 1) - '0') * 100 year 226 http/ngx_http_parse_time.c if ((year & 3) || ((year % 100 == 0) && (year % 400) != 0)) { year 241 http/ngx_http_parse_time.c year -= 1; year 249 http/ngx_http_parse_time.c 365 * year + year / 4 - year / 100 + year / 400