/haiku-fatelf/src/tools/docbook/libxslt/libexslt/ |
H A D | date.c | 85 long year; member in struct:_exsltDateValDate 158 (IS_LEAP(dt->year) ? \ 163 (VALID_YEAR(dt->year) && VALID_MONTH(dt->mon) && VALID_MDAY(dt)) 185 #define DAY_IN_YEAR(day, month, year) \ 186 ((IS_LEAP(year) ? \ 197 * xs:gYear. It is supposed that @dt->year is big enough to contain 198 * the year. 220 dt->year = dt->year * 10 + (*cur - '0'); 225 /* year mus 1943 double year; local [all...] |
/haiku-fatelf/src/preferences/time/ |
H A D | DateTimeView.cpp | 209 int32 year; local 212 && message->FindInt32("year", &year) == B_OK) { 216 if (day != lastDay || month != lastMonth || year != lastYear) { 217 fDateEdit->SetDate(year, month, day); 218 fCalendarView->SetDate(year, month, day); 221 lastYear = year;
|
/haiku-fatelf/src/bin/unzip/ |
H A D | timezone.c | 75 #define YDAYS(month, year) yr_days[leap(year)][month] 77 /* Nonzero if `y' is a leap year, else zero. */ 112 static time_t transtime OF((ZCONST time_t janfirst, ZCONST int year, 127 static time_t transtime(janfirst, year, rulep, offset) 129 ZCONST int year; 139 leapyear = leap(year); 157 ** n - day of year. 180 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year; 223 register int year; local [all...] |
/haiku-fatelf/src/bin/patch/ |
H A D | maketime.c | 88 /* Number of years to add to tm_year to get Gregorian year. */ 98 /* days in year before start of months 0-12 */ 162 Adjust only T's year, mon, mday, hour, min and sec members; 220 Use only TM's year, mon, mday, hour, min, and sec members. 295 ISO 8601 day-of-year and week numbers are not yet supported. */ 301 int localzone, wday, year; local 311 year = tm.tm_year; 316 if (use_ordinal_day || TM_DEFINED (pt->ymodulus) || !TM_DEFINED (year)) 331 /* Yield a year closest to the default that has the given modulus. */ 334 int d = 2 * (year [all...] |
/haiku-fatelf/src/system/libroot/posix/time/ |
H A D | strftime.c | 294 case 'G': /* ISO 8601 year (four digits) */ 295 case 'g': /* ISO 8601 year (two digits) */ 298 ** year (the first Monday as the first day of week 1) as a decimal number 303 ** "Week 01 of a year is per definition the first week which has the 304 ** Thursday in this year, which is equivalent to the week which contains 305 ** the fourth day of January. In other words, the first week of a new year 306 ** is the week which has the majority of its days in the new year. Week 01 307 ** might also contain days from the previous year and the week before week 308 ** 01 of a year is the last week (52 or 53) of the previous year eve 315 int year; local [all...] |
/haiku-fatelf/src/servers/cddb_daemon/ |
H A D | cddb_server.cpp | 211 // Disk year. 214 uint32 year = strtoul(line.String(), &firstInvalid, 10); local 216 (year == (uint32)LONG_MAX || year == (uint32)LONG_MIN)) 217 || (errno != 0 && year == 0)) { 224 printf("Invalid year: %s\n", line.String()); 228 readResponse->year = year;
|
H A D | cddb_server.h | 42 uint32 year; member in struct:ReadResponseData
|
/haiku-fatelf/src/add-ons/kernel/file_systems/iso9660/ |
H A D | iso9660.h | 49 char year[5]; member in struct:ISOVolDate 60 uint8 year; // Year - 1900 member in struct:ISORecDate
|
/haiku-fatelf/src/libs/print/libgutenprint/src/escputil/ |
H A D | escputil.c | 1530 unsigned val, id, id2, year, year2, month, month2; local 1651 &iv[0], &year, &month, &id, 1656 &iv[0], &year, &month, &id, 1661 STP_DEBUG(printf("Case 1: i %i iv %ud %ud %ud %ud %ud %ud year %ud %ud mo %ud %ud id %ud %ud\n", 1663 year, year2, month, month2, id, id2)); 1669 iv[0], id, (year > 80 ? 19 : 20), year, month); 1678 &iv[0], &year, &month, &id, 1683 &iv[0], &year, &month, &id, 1688 STP_DEBUG(printf("Case 2: i %i iv %ud %ud %ud %ud year [all...] |
/haiku-fatelf/src/apps/poorman/libhttpd/ |
H A D | tdate_parse.c | 186 is_leap( int year ) 188 return year % 400? ( year % 100 ? ( year % 4 ? 0 : 1 ) : 0 ) : 1; 206 /* Leap day for this year. */
|
/haiku-fatelf/src/bin/gdb/include/nlm/ |
H A D | external.h | 64 unsigned char year[NLM_TARGET_LONG_SIZE]; local
|
/haiku-fatelf/src/bin/network/wget/build-aux/ |
H A D | update-copyright | 2 # Update an FSF copyright year list to include the current year. 29 # year is not the current year, then the statement is updated for the 30 # new year and it is reformatted to: 34 # 3. Expand copyright year intervals. (See "Environment variables" 98 # 7. Each copyright year is 2 or 4 digits, and years are separated by 105 # year. If unset or set to 0, only updated FSF copyright 111 # copyright year intervals in a reformatted FSF copyright statement 113 # 3. For testing purposes, you can set the assumed current year i [all...] |
H A D | vc-list-files | 48 year=`echo "$scriptversion" | sed 's/[^0-9].*//'` 51 Copyright (C) $year Free Software Foundation, Inc,
|
/haiku-fatelf/src/bin/sharutils/lib/ |
H A D | mktime.c | 37 /* Nonzero if YEAR is a leap year (every 4 years, 39 #define __isleap(year) \ 40 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 141 and one of the years is a leap year. */ 183 Also, tm_year is the year - 1900, so we have to 1900 to have it 250 year at this point; normalization guarantees that all values will 251 be in correct ranges EXCEPT the year. */
|
/haiku-fatelf/src/kits/shared/ |
H A D | CalendarView.cpp | 308 int32 year; local 310 _GetYearMonthForSelection(fSelectedDay, &year, &month); 312 clone.AddInt32("year", fDate.Year()); 516 int32 year; local 517 _GetYearMonthForSelection(fSelectedDay, &year, NULL); 519 return year; 536 int32 year; local 538 _GetYearMonthForSelection(fSelectedDay, &year, &month); 539 return BDate(year, month, fDate.Day()); 587 BCalendarView::SetDate(int32 year, int3 argument 692 _GetYearMonthForSelection(const Selection& selection, int32* year, int32* month) const argument 1073 int32 year; local [all...] |
/haiku-fatelf/src/apps/aboutsystem/ |
H A D | Utilities.cpp | 278 // Scan the copyrights for year numbers and let the greater one win. 456 int year = atoi(string + start); local 457 if (year > 1900 && year < 2200 && year > maxYear) 458 maxYear = year;
|
/haiku-fatelf/src/bin/diffutils/lib/ |
H A D | strftime.c | 163 /* Nonzero if YEAR is a leap year (every 4 years, 165 # define __isleap(year) \ 166 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 364 /* Compute intervening leap days correctly even if year is negative. 386 year to the year day YDAY with week day WDAY. ISO weeks start on 387 Monday; the first ISO week has the year's first Thursday. YDAY may 891 int year variable 1193 int year = tp->tm_year + TM_YEAR_BASE; variable [all...] |
/haiku-fatelf/src/bin/gawk/missing_d/ |
H A D | strftime.c | 171 /* Nonzero if YEAR is a leap year (every 4 years, 173 # define __isleap(year) \ 174 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 419 /* Compute intervening leap days correctly even if year is negative. 441 year to the year day YDAY with week day WDAY. ISO weeks start on 442 Monday; the first ISO week has the year's first Thursday. YDAY may 950 int year variable 1257 int year = tp->tm_year + TM_YEAR_BASE; variable [all...] |
/haiku-fatelf/src/tools/docbook/libxml2/ |
H A D | xmlschemastypes.c | 62 long year; member in struct:_xmlSchemaValDate 1131 (IS_LEAP(dt->year) ? \ 1136 (VALID_YEAR(dt->year) && VALID_MONTH(dt->mon) && VALID_MDAY(dt)) 1154 #define DAY_IN_YEAR(day, month, year) \ 1155 ((IS_LEAP(year) ? \ 1163 dt->type,dt->value.date.year,dt->value.date.mon, \ 1185 * xs:gYear. It is supposed that @dt->year is big enough to contain 1186 * the year. 1207 dt->year = dt->year * 1 5821 unsigned long year; local [all...] |
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | getdate.c | 211 /* Relative year, month, day, hour, minutes, seconds, and nanoseconds. */ 212 long int year; member in struct:__anon3268 248 /* Gregorian year, month, day, hour, minutes, seconds, and nanoseconds. */ 249 textint year; member in struct:__anon3269 256 /* Relative year, month, day, hour, minutes, seconds, and nanoseconds. */ 284 if (pc->dates_seen && ! pc->year.digits 286 pc->year = text_int; 294 pc->year.value = text_int.value / 10000; 295 pc->year.digits = text_int.digits - 4; 327 pc->rel.year 2822 long int year = textyear.value; local 3420 int year = tm.tm_year + pc.rel.year; local [all...] |
/haiku-fatelf/src/bin/bash/lib/sh/ |
H A D | strftime.c | 315 * that week is in next year. 317 * 53, that week is in last year. 318 * Otherwise, it's this year. 351 case 'j': /* day of the year, 001 - 366 */ 422 case 'U': /* week of year, Sunday is first day of week */ 426 case 'V': /* week of year according ISO 8601 */ 435 case 'W': /* week of year, Monday is first day of week */ 447 case 'y': /* year without a century, 00 - 99 */ 448 year: 453 case 'Y': /* year wit 597 isleap(int year) argument [all...] |
/haiku-fatelf/src/bin/network/wget/src/ |
H A D | cmpt.c | 149 some of them in the same format (such as year, week and weekday) 367 /* Nonzero if YEAR is a leap year (every 4 years, 369 # define __isleap(year) \ 370 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 391 /* Compute the day of the year. */ 638 /* Match day number of year. */ 803 /* Match year within century. */ 813 /* Match year includin [all...] |
/haiku-fatelf/headers/private/shared/ |
H A D | CalendarView.h | 86 bool SetDate(int32 year, int32 month, int32 day); 138 const Selection& selection, int32* year,
|
/haiku-fatelf/src/apps/cdplayer/ |
H A D | CDDBSupport.h | 91 void SetYear(const int16 &year) argument 93 fYear = year;
|
/haiku-fatelf/src/bin/rcs/ |
H A D | rcsrev.c | 261 normalizeyear(date, year) 263 char year[5]; 266 year[0] = '1'; 267 year[1] = '9'; 268 year[2] = date[0]; 269 year[3] = date[1]; 270 year[4] = 0; 271 return year;
|