Searched refs:days (Results 26 - 47 of 47) sorted by relevance

12

/haiku-fatelf/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660.cpp959 int days, i, year, tz; local
969 days = (year * 365);
972 days += (year + 1)/ 4;
975 days += monlen[i-1];
979 days++;
981 days += inDate->date - 1;
982 time = ((((days*24) + inDate->hour) * 60 + inDate->minute) * 60)
/haiku-fatelf/src/bin/coreutils/lib/
H A Dstrftime.c342 /* Compute intervening leap days correctly even if year is negative.
353 int days = (365 * years + intervening_leap_days local
355 return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour))
363 /* The number of days from the first day of the first ISO week of this
1191 int days = iso_week_days (tp->tm_yday, tp->tm_wday); local
1193 if (days < 0)
1197 days = iso_week_days (tp->tm_yday + (365 + __isleap (year - 1)),
1208 days = d;
1230 DO_NUMBER (2, days / 7 + 1);
H A Dmktime.c132 /* How many days come before each month (0-12). */
178 /* Compute intervening leap days correctly even if year is negative.
192 time_t days = 365 * years + yday1 - yday0 + intervening_leap_days; local
193 time_t hours = 24 * days + hour1 - hour0;
H A Dgetdate.c2324 "YYYYMMDD +N days" as well as "YYYYMMDD N days". */
2868 /* Compute intervening leap days correctly even if year is negative.
2879 long int days = (365 * years + intervening_leap_days
2881 return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour))
2876 long int days = (365 * years + intervening_leap_days local
H A Dgetdate.y595 "YYYYMMDD +N days" as well as "YYYYMMDD N days". */
895 /* Compute intervening leap days correctly even if year is negative.
906 long int days = (365 * years + intervening_leap_days
908 return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour))
/haiku-fatelf/src/bin/diffutils/lib/
H A Dstrftime.c364 /* Compute intervening leap days correctly even if year is negative.
375 int days = (365 * years + intervening_leap_days local
377 return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour))
385 /* The number of days from the first day of the first ISO week of this
1194 int days = iso_week_days (tp->tm_yday, tp->tm_wday); variable
1196 if (days < 0)
1200 days = iso_week_days (tp->tm_yday + (365 + __isleap (year)),
1211 days = d;
1224 DO_NUMBER (2, days / 7 + 1);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dstrftime.c338 /* Compute intervening leap days correctly even if year is negative.
349 int days = (365 * years + intervening_leap_days local
351 return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour))
359 /* The number of days from the first day of the first ISO week of this
1187 int days = iso_week_days (tp->tm_yday, tp->tm_wday); local
1189 if (days < 0)
1193 days = iso_week_days (tp->tm_yday + (365 + __isleap (year - 1)),
1204 days = d;
1226 DO_NUMBER (2, days / 7 + 1);
H A Dmktime.c129 /* How many days come before each month (0-12). */
171 /* Compute intervening leap days correctly even if year is negative.
185 time_t days = 365 * years + yday1 - yday0 + intervening_leap_days; local
186 time_t hours = 24 * days + hour1 - hour0;
/haiku-fatelf/src/bin/gawk/missing_d/
H A Dstrftime.c419 /* Compute intervening leap days correctly even if year is negative.
430 int days = (365 * years + intervening_leap_days local
432 return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour))
440 /* The number of days from the first day of the first ISO week of this
1258 int days = iso_week_days (tp->tm_yday, tp->tm_wday); variable
1260 if (days < 0)
1264 days = iso_week_days (tp->tm_yday + (365 + __isleap (year)),
1275 days = d;
1288 DO_NUMBER (2, days / 7 + 1);
H A Dmktime.c98 /* How many days come before each month (0-12). */
137 /* Compute intervening leap days correctly even if year is negative.
150 time_t days = (365 * years + intervening_leap_days local
152 return (60 * (60 * (24 * days + (hour - tp->tm_hour))
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dmktime.c98 /* How many days come before each month (0-12). */
137 /* Compute intervening leap days correctly even if year is negative.
150 time_t days = (365 * years + intervening_leap_days local
152 return (60 * (60 * (24 * days + (hour - tp->tm_hour))
/haiku-fatelf/src/bin/coreutils/src/
H A Dpinky.c47 the keyboard, or blank if within the last minute, or days followed
172 unsigned long int days = seconds_idle / (24 * 60 * 60); local
173 sprintf (buf, "%lud", days);
/haiku-fatelf/src/bin/network/wget/src/
H A Dcmpt.c1273 int days;
1278 days = 365 * (year - 1970);
1281 days += LEAPYEARS (1970, year);
1284 days += month_to_days[ISLEAP (year)][t->tm_mon];
1285 days += t->tm_mday - 1;
1287 secs = days * 86400 + t->tm_hour * 3600 + t->tm_min * 60 + t->tm_sec;
H A Dmain.c708 int hours, mins, days;
710 days = secs / 86400, secs %= 86400;
714 if (days)
715 sprintf (buf, "%dd %dh %dm %ds", days, hours, mins, secs);
706 int hours, mins, days; local
/haiku-fatelf/src/apps/webpositive/
H A DDownloadProgressView.cpp794 int64 days = finishTime / secondsPerDay; local
795 if (days == 1)
798 buffer2 << B_TRANSLATE("Over %days days left");
799 buffer2.ReplaceFirst("%days", BString() << days);
/haiku-fatelf/headers/os/support/
H A DDateTime.h114 void AddDays(int32 days);
/haiku-fatelf/src/apps/webpositive/support/
H A DDateTime.h113 void AddDays(int32 days);
H A DDateTime.cpp571 // 'missing' days between switch julian - gregorian
655 Adds \c days to the current date. If the passed value is negativ it will
656 become earlier. If the current date is invalid, the \c days are not added.
659 BDate::AddDays(int32 days) argument
662 *this = JulianDayToDate(DateToJulianDay() + days);
712 // 'missing' days between switch julian - gregorian
755 Returns the difference in days between this date and the given BDate \c date.
869 Returns the number of days in the year of the current date. If the date is
883 Returns the number of days in the month of the current date. If the date is
/haiku-fatelf/src/tools/docbook/libxslt/libexslt/
H A Ddate.c1088 double secs, days; local
1099 days = (double)dt->day;
1108 if (days < 0) {
1109 days = -days;
1135 days += tmp;
1139 FORMAT_ITEM(days, cur, 1, 'D');
1285 * Convert mon and year of @dt to total number of days. Take the
1290 * Returns number of days.
1343 /* add in days */
[all...]
/haiku-fatelf/src/bin/unzip/
H A Dfileio.c1661 unsigned days;
1708 /* calculate days from BASE to this year and add expired days this year */
1709 days = (yr * 365) + (leap - 492) + ydays[mo];
1713 ++days; /* OK through 2199 */
1716 m_time = (time_t)((unsigned long)(days + dy) * 86400L +
/haiku-fatelf/src/kits/support/
H A DDateTime.cpp576 // 'missing' days between switch julian - gregorian
663 Adds \c days to the current date. If the passed value is negativ it will
664 become earlier. If the current date is invalid, the \c days are not added.
667 BDate::AddDays(int32 days) argument
670 *this = JulianDayToDate(DateToJulianDay() + days);
720 // 'missing' days between switch julian - gregorian
763 Returns the difference in days between this date and the given BDate \c date.
888 Returns the number of days in the year of the current date. If the date is
902 Returns the number of days in the month of the current date. If the date is
/haiku-fatelf/src/bin/coreutils/
H A Dconfigure[all...]

Completed in 283 milliseconds

12