Lines Matching refs:day

63   int32_t day;
75 int32_t day;
158 int32_t* day);
183 Isolate* isolate, int32_t year, int32_t month, int32_t day, int32_t hour,
224 int32_t month, int32_t day,
242 bool IsValidISODate(Isolate* isolate, int32_t year, int32_t month, int32_t day);
371 int32_t day, int32_t hour, int32_t minute,
378 * Take a short cut and use pre-calculated year/month/day boundary instead.
396 return (day > 23);
401 return (day > 23);
403 // 1. Assert: year, month, day, hour, minute, second, millisecond,
405 // 2. Let ns be ! GetEpochFromISOParts(year, month, day, hour, minute,
1028 int day = 0;
1034 isolate->date_cache()->BreakDownTime(epoch_milliseconds, &year, &month, &day,
1043 // 5. Let day be ! DateFromTime(epochMilliseconds).
1044 result.day = day;
1045 DCHECK_GE(result.day, 1);
1046 DCHECK_LE(result.day, 31);
1077 int32_t month, int32_t day,
1083 // 1. Assert: year, month, day, hour, minute, second, millisecond,
1089 // 3. Let balancedDate be ! BalanceISODate(year, month, day +
1091 day += balanced_time.day;
1092 BalanceISODate(isolate, &year, &month, &day);
1101 day,
1133 result = BalanceISODateTime(isolate, result.year, result.month, result.day,
1142 isolate, result.year, result.month, result.day, result.hour,
1330 isolate, earlier.year, earlier.month, earlier.day, earlier.hour,
1382 isolate, later.year, later.month, later.day, later.hour, later.minute,
1847 // e. Let fieldNames be ? CalendarFields(calendar, « "day", "month",
1884 DCHECK(IsValidISODate(isolate, result.year, result.month, result.day));
1899 return CreateTemporalDate(isolate, result.year, result.month, result.day,
2298 // 8. If day is undefined, then
2300 // a. Set day to 1.
2301 result.day = 1;
2304 // a. Set day to ! ToIntegerOrInfinity(day).
2305 result.day = parsed.date_day;
2340 // 16. If ! IsValidISODate(year, month, day) is false, throw a RangeError
2342 if (!IsValidISODate(isolate, result.year, result.month, result.day)) {
2353 // 18. Return the Record { [[Year]]: year, [[Month]]: month, [[Day]]: day,
2399 DateRecord ret = {result.year, result.month, result.day, result.calendar};
2490 record.day = result.day;
2524 GetEpochFromISOParts(isolate, result.year, result.month, result.day,
3137 CALENDAR_ABSTRACT_OPERATION_INT_ACTION(Day, day, ToPositiveInteger)
3426 // 4. If either u1 or u2 is "day", return "day".
3473 int32_t* day) {
3476 // 1. Assert: year, month, and day are integers.
3489 // 8. Repeat, while day < −1 × ! ISODaysInYear(testYear),
3491 while (*day < -(iso_days_in_year = ISODaysInYear(isolate, test_year))) {
3492 // a. Set day to day + ! ISODaysInYear(testYear).
3493 *day += iso_days_in_year;
3504 // 11. Repeat, while day > ! ISODaysInYear(testYear),
3505 while (*day > (iso_days_in_year = ISODaysInYear(isolate, test_year))) {
3506 // a. Set day to day − ! ISODaysInYear(testYear).
3507 *day -= iso_days_in_year;
3516 // 13. Repeat, while day < 1,
3517 while (*day < 1) {
3523 // d. Set day to day + ! ISODaysInMonth(year, month).
3524 *day += ISODaysInMonth(isolate, *year, *month);
3529 // 15. Repeat, while day > ! ISODaysInMonth(year, month),
3531 while (*day > (iso_days_in_month = ISODaysInMonth(isolate, *year, *month))) {
3532 // a. Set day to day − ! ISODaysInMonth(year, month).
3533 *day -= iso_days_in_month;
3540 // 16. Return the new Record { [[Year]]: year, [[Month]]: month, [[Day]]: day
3547 Isolate* isolate, int32_t year, int32_t month, int32_t day, int32_t hour,
3553 // 1. Assert: year, month, day, hour, minute, second, millisecond,
3563 // 3. Let datePart be ? CreateTemporalDate(year, month, day, calendar).
3567 CreateTemporalDate(isolate, year, month, day, calendar),
3575 dur.days + time_result.day, 0, 0, 0, 0, 0, 0),
3592 time_result.day = added_date->iso_day();
3651 // 4. If largestUnit is one of "year", "month", "week", or "day", then
3676 // 10. If largestUnit is "year", "month", "week", "day", or "hour", then
3997 // relativeTo.[[Calendar]], "day").
4184 // 10. Let dateLargestUnit be ! LargerOfTwoTemporalUnits("day", largestUnit).
4317 int32_t month, int32_t day,
4323 // 1. Assert: year, month, day, hour, minute, second, millisecond,
4325 // 2. Assert: ! IsValidISODate(year, month, day) is true.
4326 DCHECK(IsValidISODate(isolate, year, month, day));
4331 // 4. Let date be ! MakeDay(?(year), ?(month − 1), ?(day)).
4332 double date = MakeDay(year, month - 1, day);
4483 int32_t day) {
4486 // 1. Assert: year, month, and day are integers.
4491 // 4. If day < 1 or day > daysInMonth, then
4493 if (day < 1 || day > ISODaysInMonth(isolate, year, month)) return false;
4619 static_cast<int64_t>(bt.day * sign),
4925 int32_t day) {
4930 // 3. Assert: day is an integer.
4931 // 4. Let date be the date given by year, month, and day.
4935 return day + isolate->date_cache()->DaysFromYearMonth(year, month - 1) -
4948 int32_t day) {
4953 // 3. Assert: day is an integer.
4954 // 4. Let date be the date given by year, month, and day.
4955 // 5. Return date's day of the week according to ISO-8601.
4959 // value of day is 1-based so we need to minus 1 to calculate "the number of
4963 isolate->date_cache()->DaysFromYearMonth(year, month - 1) + day - 1);
4971 int32_t year, int32_t* month, int32_t* day) {
4974 // 1. Assert: year, month, and day are integers.
4979 // a. If ! IsValidISODate(year, month, day) is false, throw a RangeError
4981 if (!IsValidISODate(isolate, year, *month, *day)) {
4985 // b. Return the Record { [[Year]]: year, [[Month]]: month, [[Day]]: day
4992 // b. Set day to ! ConstrainToRange(day, 1, ! ISODaysInMonth(year,
4994 *day = std::max(std::min(*day, ISODaysInMonth(isolate, year, *month)), 1);
4995 // c. Return the Record { [[Year]]: year, [[Month]]: month, [[Day]]: day
5086 int32_t* month, int32_t* day) {
5094 // 3. Set fields to ? PrepareTemporalFields(fields, « "day", "month",
5129 // 7. Let day be ? Get(fields, "day").
5135 // 8. If day is undefined, throw a TypeError exception.
5140 // Note: "day" in fields is always converted by
5144 *day = FastD2I(day_obj->Number());
5145 // 9. Return ? RegulateISODate(year, month, day, overflow).
5146 return RegulateISODate(isolate, maybe_overflow.FromJust(), *year, month, day);
5429 int32_t day;
5432 isolate, fields, options, method_name, &year, &month, &day);
5437 return CreateTemporalDate(isolate, year, month, day, calendar);