/haiku-fatelf/src/bin/zip/ |
H A D | mktime.c | 160 /* Number of leap years from 1970 to `y' (not including `y' itself). */ 163 /* Additional leapday in February of leap years. */ 187 int years, months, days, hours, minutes, seconds; local 189 years = tm->tm_year + 1900; /* year - 1900 -> year */ 199 ADJUST_TM(months, years, 12) 203 --years; 206 days += monthlen(months, years); 209 while (days >= monthlen(months, years)) { 210 days -= monthlen(months, years); 212 ++years; [all...] |
/haiku-fatelf/src/bin/unzip/ |
H A D | timezone.c | 80 /* Number of leap years from EPOCH_YEAR to `y' (not including `y' itself). */ 145 ** years. 146 ** In non-leap years, or if the day number is 59 or less, just 743 int years, months, days, hours, minutes, seconds; local 745 years = tm->tm_year + TM_YEAR_BASE; /* year - 1900 -> year */ 755 ADJUST_TM(months, years, 12) 759 --years; 762 days += monthlen(months, years); 765 while (days >= monthlen(months, years)) { 766 days -= monthlen(months, years); [all...] |
/haiku-fatelf/src/bin/patch/ |
H A D | maketime.c | 85 /* Number of days in 400 consecutive Gregorian years. */ 88 /* Number of years to add to tm_year to get Gregorian year. */ 388 int years = tm.tm_year + pt->tmr.tm_year; local 401 int year0 = years + carried_years0; 411 if (overflow_sum_sign (tm.tm_year, pt->tmr.tm_year, years) 418 | overflow_sum_sign (years, carried_years0, year0)
|
/haiku-fatelf/src/bin/bash/lib/sh/ |
H A D | mktime.c | 92 /* Nonzero if YEAR is a leap year (every 4 years, 101 /* Normal years. */ 103 /* Leap years. */ 149 time_t years = year - (time_t) tp->tm_year; local 150 time_t days = (365 * years + intervening_leap_days
|
/haiku-fatelf/src/bin/gawk/missing_d/ |
H A D | mktime.c | 92 /* Nonzero if YEAR is a leap year (every 4 years, 101 /* Normal years. */ 103 /* Leap years. */ 149 time_t years = year - (time_t) tp->tm_year; local 150 time_t days = (365 * years + intervening_leap_days
|
H A D | strftime.c | 171 /* Nonzero if YEAR is a leap year (every 4 years, 429 int years = a->tm_year - b->tm_year; local 430 int days = (365 * years + intervening_leap_days
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | mktime.c | 138 /* Normal years. */ 140 /* Leap years. */ 191 time_t years = tyear1 - year0; local 192 time_t days = 365 * years + yday1 - yday0 + intervening_leap_days; 356 biennium. A biennium is 2 years; use this unit instead of 357 years to avoid integer overflow. For example, 2 average 358 Gregorian years are 2 * 365.2425 * 24 * 60 * 60 seconds,
|
H A D | strftime.c | 114 /* Nonzero if YEAR is a leap year (every 4 years, 352 int years = a->tm_year - b->tm_year; local 353 int days = (365 * years + intervening_leap_days
|
H A D | getdate.y | 857 /* XPG4 suggests that years 00-68 map to 2000-2068, and 858 years 69-99 map to 1969-1999. */ 905 long int years = ayear - b->tm_year; 906 long int days = (365 * years + intervening_leap_days
|
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | mktime.c | 135 /* Normal years. */ 137 /* Leap years. */ 184 time_t years = tyear1 - year0; local 185 time_t days = 365 * years + yday1 - yday0 + intervening_leap_days; 347 biennium. A biennium is 2 years; use this unit instead of 348 years to avoid integer overflow. For example, 2 average 349 Gregorian years are 2 * 365.2425 * 24 * 60 * 60 seconds,
|
H A D | strftime.c | 123 /* Nonzero if YEAR is a leap year (every 4 years, 348 int years = a->tm_year - b->tm_year; local 349 int days = (365 * years + intervening_leap_days
|
/haiku-fatelf/headers/os/support/ |
H A D | DateTime.h | 115 void AddYears(int32 years);
|
/haiku-fatelf/src/apps/webpositive/support/ |
H A D | DateTime.h | 114 void AddYears(int32 years);
|
H A D | DateTime.cpp | 667 Adds \c years to the current date. If the passed value is negativ it will 668 become earlier. If the current date is invalid, the \c years are not added. 673 BDate::AddYears(int32 years) argument 677 fYear += years; 680 fYear += (years > 0) ? +1 : -1; 839 Returns the day of the year in the range of 1 to 365 (366 in leap years). If
|
/haiku-fatelf/src/kits/support/ |
H A D | DateTime.cpp | 675 Adds \c years to the current date. If the passed value is negativ it will 676 become earlier. If the current date is invalid, the \c years are not added. 681 BDate::AddYears(int32 years) argument 685 fYear += years; 688 fYear += (years > 0) ? +1 : -1; 847 Returns the day of the year in the range of 1 to 365 (366 in leap years). If
|
/haiku-fatelf/src/tools/docbook/libxslt/libexslt/ |
H A D | date.c | 100 long mon; /* mon stores years also */ 771 /* get real year, not years since 1900 */ 1089 double years, months; local 1100 years = (double)(dt->mon / 12); 1112 if (years < 0) { 1113 years = -years; 1125 if (years != 0.0) { 1126 FORMAT_ITEM(years, cur, 1, 'Y'); 1286 * number of years sinc [all...] |
/haiku-fatelf/src/bin/diffutils/lib/ |
H A D | strftime.c | 163 /* Nonzero if YEAR is a leap year (every 4 years, 374 int years = a->tm_year - b->tm_year; local 375 int days = (365 * years + intervening_leap_days
|