Searched refs:year (Results 1 - 2 of 2) sorted by relevance

/system/core/libcutils/
H A Dtzstrftime.c392 case 'G': /* ISO 8601 year (four digits) */
393 case 'g': /* ISO 8601 year (two digits) */
396 ** year (the first Monday as the first day of week 1) as a decimal number
401 ** "Week 01 of a year is per definition the first week which has the
402 ** Thursday in this year, which is equivalent to the week which contains
403 ** the fourth day of January. In other words, the first week of a new year
404 ** is the week which has the majority of its days in the new year. Week 01
405 ** might also contain days from the previous year and the week before week
406 ** 01 of a year is the last week (52 or 53) of the previous year eve
413 int year; local
[all...]
H A Dtztime.c165 #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 1404 milliseconds