Home | History | Annotate | Download | only in libcutils

Lines Matching full:year

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 even if
406 ** it contains days from the new year. A week starts with Monday (day 1)
407 ** and ends with Sunday (day 7). For example, the first week of the year
412 int year;
418 year = t->tm_year;
427 len = isleap_sum(year, base) ?
432 ** the ISO year begin on?
438 ** ISO year begin on?
456 yday += isleap_sum(year, base) ?
477 pt = _yconv(year, base, 0, 1,
479 } else pt = _yconv(year, base, 1, 1,
678 ** what %C and %y do if the year is negative or exceeds 9999.