Lines Matching defs:days
29 // number of days since Jan 1 1970. The remainder will be used to calculate the
32 // Then, adjust that number of days by a constant to be the number of days
36 // While calculating numbers of years in the days, the following algorithm
37 // subdivides the days into the number of 400 years, the number of 100 years and
40 // and isLeapYear(). Then compute the total number of years in days from these
43 // Compute the number of months from the remaining days. Finally, adjust years
67 int64_t days = seconds / time_constants::SECONDS_PER_DAY;
71 days--;
74 int64_t wday = (time_constants::WEEK_DAY_OF2000_MARCH_FIRST + days) %
80 int64_t numOfFourHundredYearCycles = days / time_constants::DAYS_PER400_YEARS;
81 int64_t remainingDays = days % time_constants::DAYS_PER400_YEARS;
111 // We add 31 and 28 for the number of days in January and February, since our
131 // All the data (years, month and remaining days) was calculated from