Searched refs:year (Results 1 - 2 of 2) sorted by relevance
/system/core/libcutils/ |
H A D | tzstrftime.c | 391 case 'G': /* ISO 8601 year (four digits) */ 392 case 'g': /* ISO 8601 year (two digits) */ 395 ** year (the first Monday as the first day of week 1) as a decimal number 400 ** "Week 01 of a year is per definition the first week which has the 401 ** Thursday in this year, which is equivalent to the week which contains 402 ** the fourth day of January. In other words, the first week of a new year 403 ** is the week which has the majority of its days in the new year. Week 01 404 ** might also contain days from the previous year and the week before week 405 ** 01 of a year is the last week (52 or 53) of the previous year eve 412 int year; local [all...] |
H A D | tztime.c | 165 #define DAY_OF_YEAR 1 /* n - day of year */ 211 static time_t transtime P((time_t janfirst, int year, 809 ** Day of year. 827 ** Given the Epoch-relative time of January 1, 00:00:00 UTC, in a year, the 828 ** year, a rule, and the offset from UTC at the time that rule takes effect, 833 transtime(janfirst, year, rulep, offset) 835 const int year; 845 leapyear = isleap(year); 863 ** n - day of year. 883 yy0 = (rulep->r_mon <= 2) ? (year 998 register int year; local [all...] |
Completed in 35 milliseconds