Searched refs:months (Results 1 - 4 of 4) sorted by relevance
/haiku/src/system/libroot/posix/musl/time/ |
H A D | __secs_to_tm.c | 16 int months; local 60 for (months=0; days_in_month[months] <= remdays; months++) 61 remdays -= days_in_month[months]; 63 if (months >= 10) { 64 months -= 12; 72 tm->tm_mon = months + 2;
|
/haiku/src/bin/unzip/ |
H A D | timezone.c | 743 int years, months, days, hours, minutes, seconds; local 746 months = tm->tm_mon; /* 0..11 */ 755 ADJUST_TM(months, years, 12) 758 if (--months < 0) { 760 months = 11; 762 days += monthlen(months, years); 765 while (days >= monthlen(months, years)) { 766 days -= monthlen(months, years); 767 if (++months >= 12) { 769 months [all...] |
/haiku/src/kits/support/ |
H A D | DateTime.cpp | 700 Adds \c months to the current date. If the passed value is negativ it will 701 become earlier. If the current date is invalid, the \c months are not added. 706 BDate::AddMonths(int32 months) argument 710 fYear += months / 12; 711 fMonth += months % 12; 722 fYear += (months > 0) ? +1 : -1; 726 fDay = (months > 0) ? 15 : 4;
|
/haiku/headers/os/support/ |
H A D | DateTime.h | 117 void AddMonths(int32 months);
|
Completed in 71 milliseconds