Searched refs:years (Results 1 - 4 of 4) sorted by relevance
/haiku/src/system/libroot/posix/musl/time/ |
H A D | __secs_to_tm.c | 13 long long days, secs, years; local 58 years = remyears + 4*q_cycles + 100*c_cycles + 400LL*qc_cycles; 65 years++; 68 if (years+100 > INT_MAX || years+100 < INT_MIN) 71 tm->tm_year = years + 100;
|
/haiku/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/headers/os/support/ |
H A D | DateTime.h | 116 void AddYears(int32 years);
|
/haiku/src/kits/support/ |
H A D | DateTime.cpp | 679 Adds \c years to the current date. If the passed value is negativ it will 680 become earlier. If the current date is invalid, the \c years are not added. 685 BDate::AddYears(int32 years) argument 689 fYear += years; 692 fYear += (years > 0) ? +1 : -1; 872 Returns the day of the year in the range of 1 to 365 (366 in leap years). If
|
Completed in 73 milliseconds