Searched defs:year (Results 1 - 6 of 6) sorted by relevance
/bionic/libc/tzcode/ |
H A D | asctime.c | 38 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year, 47 ** For years that are more than four digits we put extra spaces before the year 49 ** a digit within a year and truncating the year (operating on the assumption 91 char year[INT_STRLEN_MAXIMUM(int) + 2]; local 101 ** Use strftime's %Y to generate the year, to avoid overflow problems 106 (void) strftime(year, sizeof year, "%Y", timeptr); 111 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), 115 year); local [all...] |
H A D | strftime.c | 442 case 'G': /* ISO 8601 year (four digits) */ 443 case 'g': /* ISO 8601 year (two digits) */ 446 ** year (the first Monday as the first day of week 1) as a decimal number 451 ** "Week 01 of a year is per definition the first week which has the 452 ** Thursday in this year, which is equivalent to the week which contains 453 ** the fourth day of January. In other words, the first week of a new year 454 ** is the week which has the majority of its days in the new year. Week 01 455 ** might also contain days from the previous year and the week before week 456 ** 01 of a year is the last week (52 or 53) of the previous year eve 463 int year; local [all...] |
H A D | localtime.c | 199 #define DAY_OF_YEAR 1 /* n - day of year */ 247 static time_t transtime P((time_t janfirst, int year, 884 ** Day of year. 902 ** Given the Epoch-relative time of January 1, 00:00:00 UTC, in a year, the 903 ** year, a rule, and the offset from UTC at the time that rule takes effect, 908 transtime(janfirst, year, rulep, offset) 910 const int year; 920 leapyear = isleap(year); 938 ** n - day of year. 958 yy0 = (rulep->r_mon <= 2) ? (year 1073 register int year; local [all...] |
/bionic/libc/tools/zoneinfo/ |
H A D | ZoneInfo.java | 151 int year, int month, int day, 158 long calc = (year / 400) * MILLISECONDS_PER_400_YEARS; 159 year %= 400; 161 calc += year * (365 * MILLISECONDS_PER_DAY); 162 calc += ((year + 3) / 4) * MILLISECONDS_PER_DAY; 164 if (year > 0) 165 calc -= ((year - 1) / 100) * MILLISECONDS_PER_DAY; 167 boolean isLeap = (year == 0 || (year % 4 == 0 && year 150 getOffset(@uppressWarningsÓ) int era, int year, int month, int day, @SuppressWarnings(Ó) int dayOfWeek, int millis) argument [all...] |
/bionic/libc/kernel/common/linux/mmc/ |
H A D | card.h | 29 unsigned short year; member in struct:mmc_cid
|
/bionic/libc/bionic/ |
H A D | time64.c | 111 /* 28 year Julian calendar cycle */ 190 static int is_exception_century(Year year) argument 192 int is_exception = ((year % 100 == 0) && !(year % 400 == 0)); 206 Year year; local 223 year = 70; 224 while( year < orig_year ) { 225 days += length_of_year[IS_LEAP(year)]; 226 year++; 230 year 287 cycle_offset(Year year) argument 322 safe_year(const Year year) argument 495 Year year = input_date->tm_year + 1900; local 528 Year year = 70; local [all...] |
Completed in 57 milliseconds