Lines Matching defs:years

88   int64_t years;
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,
821 // 4. Set object.[[Years]] to years.
822 SET_FROM_INT64(object, years);
847 Isolate* isolate, int64_t years, int64_t months, int64_t weeks,
852 CONSTRUCTOR(duration), years, months, weeks,
3483 // years and adds days until the number of days is greater than −366 or −365.
3500 // year, the following section adds years and subtracts days until the number
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,
4221 result.years = NumberToInt64(date_difference->years());
4365 // 1. For each value v of « years, months, weeks, days, hours, minutes,
4369 if (dur.years < 0) return -1;
4370 if (dur.years > 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,
4709 // 2. Let y be ? ToIntegerThrowOnInfinity(years).
4712 ToIntegerThrowOnInfinity(isolate, years),
4798 {NumberToInt64(duration->years()), NumberToInt64(duration->months()),
4822 {NumberToInt64(duration->years()), NumberToInt64(duration->months()),
4847 isolate, -NumberToInt64(duration->years()),
4881 isolate, std::abs(NumberToInt64(duration->years())),