Lines Matching defs:months

89   int64_t months;
387 * 9999000 days is about 27376 years, 4 months and 7 days.
795 int64_t years, int64_t months, int64_t weeks, int64_t days, int64_t hours,
800 // 1. If ! IsValidDuration(years, months, weeks, days, hours, minutes,
804 {years, months, weeks, days, hours, minutes, seconds,
823 // 5. Set object.[[Months]] to months.
824 SET_FROM_INT64(object, months);
847 Isolate* isolate, int64_t years, int64_t months, int64_t weeks,
852 CONSTRUCTOR(duration), years, months, weeks,
3515 // subtracts months and adds days until the number of days is greater than 0.
3527 // the current month, the following section adds months and subtracts days
3569 // 4. Let dateDuration be ? CreateTemporalDuration(years, months, weeks, days
3574 CreateTemporalDuration(isolate, dur.years, dur.months, dur.weeks,
3800 // 2. If all of years, months, weeks, and days are 0, then
3801 if (duration.years == 0 && duration.months == 0 && duration.weeks == 0 &&
3832 // 6. Let dateDuration be ? CreateTemporalDuration(years, months, weeks, days,
3837 CreateTemporalDuration(isolate, duration.years, duration.months,
4222 result.months = NumberToInt64(date_difference->months());
4365 // 1. For each value v of « years, months, weeks, days, hours, minutes,
4371 if (dur.months < 0) return -1;
4372 if (dur.months > 0) return 1;
4396 // 1. Let sign be ! DurationSign(years, months, weeks, days, hours, minutes,
4399 // 2. For each value v of « years, months, weeks, days, hours, minutes,
4404 return !((sign > 0 && (dur.years < 0 || dur.months < 0 || dur.weeks < 0 ||
4408 (sign < 0 && (dur.years > 0 || dur.months > 0 || dur.weeks > 0 ||
4695 Handle<Object> years, Handle<Object> months, Handle<Object> weeks,
4716 // 3. Let mo be ? ToIntegerThrowOnInfinity(months).
4719 ToIntegerThrowOnInfinity(isolate, months),
4798 {NumberToInt64(duration->years()), NumberToInt64(duration->months()),
4822 {NumberToInt64(duration->years()), NumberToInt64(duration->months()),
4848 -NumberToInt64(duration->months()), -NumberToInt64(duration->weeks()),
4882 std::abs(NumberToInt64(duration->months())),