mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 13:04:39 +02:00
Normalize some YAML
In some recently added tests, the `description` is a multi-line scalar in flow notation. Change it to block notation.
This commit is contained in:
parent
603b10dbfa
commit
9cb0746f52
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.datefromfields
|
esid: sec-temporal.calendar.prototype.datefromfields
|
||||||
description: Temporal.Calendar.prototype.dateFromFields should throw RangeError for
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dateFromFields should throw RangeError for
|
||||||
input not in valid range.
|
input not in valid range.
|
||||||
info: |
|
info: |
|
||||||
1. Let calendar be the this value.
|
1. Let calendar be the this value.
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.day
|
esid: sec-temporal.calendar.prototype.day
|
||||||
description: Temporal.Calendar.prototype.day will take PlainDateTime and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.day will take PlainDateTime and return
|
||||||
the value of the day.
|
the value of the day.
|
||||||
info: |
|
info: |
|
||||||
5. Return ! ISODay(temporalDateLike).
|
5. Return ! ISODay(temporalDateLike).
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.day
|
esid: sec-temporal.calendar.prototype.day
|
||||||
description: Temporal.Calendar.prototype.day will take PlainDate and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.day will take PlainDate and return
|
||||||
the value of the day.
|
the value of the day.
|
||||||
info: |
|
info: |
|
||||||
5. Return ! ISODay(temporalDateLike).
|
5. Return ! ISODay(temporalDateLike).
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.day
|
esid: sec-temporal.calendar.prototype.day
|
||||||
description: Temporal.Calendar.prototype.day will take PlainMonthDay and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.day will take PlainMonthDay and return
|
||||||
the value of the day.
|
the value of the day.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.day
|
esid: sec-temporal.calendar.prototype.day
|
||||||
description: Temporal.Calendar.prototype.day will take ISO8601 string and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.day will take ISO8601 string and return
|
||||||
the value of the day.
|
the value of the day.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.day
|
esid: sec-temporal.calendar.prototype.day
|
||||||
description: Temporal.Calendar.prototype.day throws RangeError on
|
description: >
|
||||||
|
Temporal.Calendar.prototype.day throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike
|
4. If Type(temporalDateLike) is not Object or temporalDateLike
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.dayofweek
|
esid: sec-temporal.calendar.prototype.dayofweek
|
||||||
description: Temporal.Calendar.prototype.dayOfWeek will take Temporal.PlainDateTime objects
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dayOfWeek will take Temporal.PlainDateTime objects
|
||||||
and return the day of week.
|
and return the day of week.
|
||||||
info: |
|
info: |
|
||||||
5. Return 𝔽(! ToISODayOfWeek(temporalDate.[[ISOYear]], temporalDate.[[ISOMonth]], temporalDate.[[ISODay]])).
|
5. Return 𝔽(! ToISODayOfWeek(temporalDate.[[ISOYear]], temporalDate.[[ISOMonth]], temporalDate.[[ISODay]])).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.dayofweek
|
esid: sec-temporal.calendar.prototype.dayofweek
|
||||||
description: Temporal.Calendar.prototype.dayOfWeek will take Temporal.PlainDate objects
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dayOfWeek will take Temporal.PlainDate objects
|
||||||
and return the day of week.
|
and return the day of week.
|
||||||
info: |
|
info: |
|
||||||
5. Return 𝔽(! ToISODayOfWeek(temporalDate.[[ISOYear]], temporalDate.[[ISOMonth]], temporalDate.[[ISODay]])).
|
5. Return 𝔽(! ToISODayOfWeek(temporalDate.[[ISOYear]], temporalDate.[[ISOMonth]], temporalDate.[[ISODay]])).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.dayofweek
|
esid: sec-temporal.calendar.prototype.dayofweek
|
||||||
description: Temporal.Calendar.prototype.dayOfWeek will take ISO8601 string
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dayOfWeek will take ISO8601 string
|
||||||
and return the day of week.
|
and return the day of week.
|
||||||
info: |
|
info: |
|
||||||
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.dayOfWeek
|
esid: sec-temporal.calendar.prototype.dayOfWeek
|
||||||
description: Temporal.Calendar.prototype.dayOfWeek throws RangeError on
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dayOfWeek throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.dayOfWeek
|
esid: sec-temporal.calendar.prototype.dayOfWeek
|
||||||
description: Temporal.Calendar.prototype.dayOfWeek throws TypeError
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dayOfWeek throws TypeError
|
||||||
when the internal lot is not presented.
|
when the internal lot is not presented.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.dayofyear
|
esid: sec-temporal.calendar.prototype.dayofyear
|
||||||
description: Temporal.Calendar.prototype.dayOfYear will take PlainDateTime object and
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dayOfYear will take PlainDateTime object and
|
||||||
return the day of year.
|
return the day of year.
|
||||||
info: |
|
info: |
|
||||||
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.dayofyear
|
esid: sec-temporal.calendar.prototype.dayofyear
|
||||||
description: Temporal.Calendar.prototype.dayOfYear will take PlainDate object and
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dayOfYear will take PlainDate object and
|
||||||
return the day of year.
|
return the day of year.
|
||||||
info: |
|
info: |
|
||||||
5. Return 𝔽(! ToISODayOfYear(temporalDate.[[ISOYear]], temporalDate.[[ISOMonth]], temporalDate.[[ISODay]])).
|
5. Return 𝔽(! ToISODayOfYear(temporalDate.[[ISOYear]], temporalDate.[[ISOMonth]], temporalDate.[[ISODay]])).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.dayofyear
|
esid: sec-temporal.calendar.prototype.dayofyear
|
||||||
description: Temporal.Calendar.prototype.dayOfYear will take ISO8601 string and
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dayOfYear will take ISO8601 string and
|
||||||
return the day of year.
|
return the day of year.
|
||||||
info: |
|
info: |
|
||||||
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.dayOfYear
|
esid: sec-temporal.calendar.prototype.dayOfYear
|
||||||
description: Temporal.Calendar.prototype.dayOfYear throws RangeError on
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dayOfYear throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.dayOfYear
|
esid: sec-temporal.calendar.prototype.dayOfYear
|
||||||
description: Temporal.Calendar.prototype.dayOfYear throws TypeError
|
description: >
|
||||||
|
Temporal.Calendar.prototype.dayOfYear throws TypeError
|
||||||
when the internal lot is not presented.
|
when the internal lot is not presented.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysinmonth
|
esid: sec-temporal.calendar.prototype.daysinmonth
|
||||||
description: Temporal.Calendar.prototype.daysInMonth will take Temporal.PlainDateTime object
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInMonth will take Temporal.PlainDateTime object
|
||||||
and return the number of days in that month.
|
and return the number of days in that month.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have an [[InitializedTemporalDate]] or [[InitializedTemporalYearMonth]] internal slots, then
|
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have an [[InitializedTemporalDate]] or [[InitializedTemporalYearMonth]] internal slots, then
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysinmonth
|
esid: sec-temporal.calendar.prototype.daysinmonth
|
||||||
description: Temporal.Calendar.prototype.daysInMonth will take Temporal.PlainDate object
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInMonth will take Temporal.PlainDate object
|
||||||
and return the number of days in that month.
|
and return the number of days in that month.
|
||||||
info: |
|
info: |
|
||||||
5. Return 𝔽(! ISODaysInMonth(temporalDateLike.[[ISOYear]], temporalDateLike.[[ISOMonth]])).
|
5. Return 𝔽(! ISODaysInMonth(temporalDateLike.[[ISOYear]], temporalDateLike.[[ISOMonth]])).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysinmonth
|
esid: sec-temporal.calendar.prototype.daysinmonth
|
||||||
description: Temporal.Calendar.prototype.daysInMonth will take ISO8601 string
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInMonth will take ISO8601 string
|
||||||
and return the number of days in that month.
|
and return the number of days in that month.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysInMonth
|
esid: sec-temporal.calendar.prototype.daysInMonth
|
||||||
description: Temporal.Calendar.prototype.daysInMonth throws RangeError on
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInMonth throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysInMonth
|
esid: sec-temporal.calendar.prototype.daysInMonth
|
||||||
description: Temporal.Calendar.prototype.daysInMonth throws TypeError
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInMonth throws TypeError
|
||||||
when the internal lot is not presented.
|
when the internal lot is not presented.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysinweeks
|
esid: sec-temporal.calendar.prototype.daysinweeks
|
||||||
description: Temporal.Calendar.prototype.daysInWeek will take valid ISO8601 string
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInWeek will take valid ISO8601 string
|
||||||
and return 7.
|
and return 7.
|
||||||
info: |
|
info: |
|
||||||
4. Perform ? ToTemporalDate(temporalDateLike).
|
4. Perform ? ToTemporalDate(temporalDateLike).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysInWeek
|
esid: sec-temporal.calendar.prototype.daysInWeek
|
||||||
description: Temporal.Calendar.prototype.daysInWeek throws RangeError on
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInWeek throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysInWeek
|
esid: sec-temporal.calendar.prototype.daysInWeek
|
||||||
description: Temporal.Calendar.prototype.daysInWeek throws TypeError
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInWeek throws TypeError
|
||||||
when the internal lot is not presented.
|
when the internal lot is not presented.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysinyear
|
esid: sec-temporal.calendar.prototype.daysinyear
|
||||||
description: Temporal.Calendar.prototype.daysInYear will take PlainDateTime and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInYear will take PlainDateTime and return
|
||||||
the number of days in a year.
|
the number of days in a year.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have an [[InitializedTemporalDate]] or [[InitializedTemporalYearMonth]] internal slot, then
|
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have an [[InitializedTemporalDate]] or [[InitializedTemporalYearMonth]] internal slot, then
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysinyear
|
esid: sec-temporal.calendar.prototype.daysinyear
|
||||||
description: Temporal.Calendar.prototype.daysInYear will take PlainDate and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInYear will take PlainDate and return
|
||||||
the number of days in a year.
|
the number of days in a year.
|
||||||
info: |
|
info: |
|
||||||
5. Return 𝔽(! ISODaysInYear(temporalDateLike.[[ISOYear]])).
|
5. Return 𝔽(! ISODaysInYear(temporalDateLike.[[ISOYear]])).
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysinyear
|
esid: sec-temporal.calendar.prototype.daysinyear
|
||||||
description: Temporal.Calendar.prototype.daysInYear will take PlainDate and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInYear will take PlainDate and return
|
||||||
the number of days in a year.
|
the number of days in a year.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have an [[InitializedTemporalDate]] or [[InitializedTemporalYearMonth]] internal slot, then
|
4. If Type(temporalDateLike) is not Object or temporalDateLike does not have an [[InitializedTemporalDate]] or [[InitializedTemporalYearMonth]] internal slot, then
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysInYear
|
esid: sec-temporal.calendar.prototype.daysInYear
|
||||||
description: Temporal.Calendar.prototype.daysInYear throws RangeError on
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInYear throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike does
|
4. If Type(temporalDateLike) is not Object or temporalDateLike does
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.daysInYear
|
esid: sec-temporal.calendar.prototype.daysInYear
|
||||||
description: Temporal.Calendar.prototype.daysInYear throws TypeError
|
description: >
|
||||||
|
Temporal.Calendar.prototype.daysInYear throws TypeError
|
||||||
when the internal lot is not presented.
|
when the internal lot is not presented.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.month
|
esid: sec-temporal.calendar.prototype.month
|
||||||
description: Temporal.Calendar.prototype.month will take PlainDateTime and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.month will take PlainDateTime and return
|
||||||
the value of the month.
|
the value of the month.
|
||||||
info: |
|
info: |
|
||||||
5. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
5. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.month
|
esid: sec-temporal.calendar.prototype.month
|
||||||
description: Temporal.Calendar.prototype.month will take PlainDate and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.month will take PlainDate and return
|
||||||
the value of the month.
|
the value of the month.
|
||||||
info: |
|
info: |
|
||||||
1. Let calendar be the this value.
|
1. Let calendar be the this value.
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.month
|
esid: sec-temporal.calendar.prototype.month
|
||||||
description: Temporal.Calendar.prototype.month throws TypeError if temporalDateLike
|
description: >
|
||||||
|
Temporal.Calendar.prototype.month throws TypeError if temporalDateLike
|
||||||
is a PlainMonthDay object.
|
is a PlainMonthDay object.
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.month
|
esid: sec-temporal.calendar.prototype.month
|
||||||
description: Temporal.Calendar.prototype.month will take ISO8601 string and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.month will take ISO8601 string and return
|
||||||
the value of the month.
|
the value of the month.
|
||||||
info: |
|
info: |
|
||||||
5. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
5. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.month
|
esid: sec-temporal.calendar.prototype.month
|
||||||
description: Temporal.Calendar.prototype.month throws RangeError on
|
description: >
|
||||||
|
Temporal.Calendar.prototype.month throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
5. If Type(temporalDateLike) is not Object or temporalDateLike
|
5. If Type(temporalDateLike) is not Object or temporalDateLike
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.month
|
esid: sec-temporal.calendar.prototype.month
|
||||||
description: Temporal.Calendar.prototype.month will take PlainYearMonth and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.month will take PlainYearMonth and return
|
||||||
the value of the month.
|
the value of the month.
|
||||||
info: |
|
info: |
|
||||||
6. Return ! ISOMonth(temporalDateLike).
|
6. Return ! ISOMonth(temporalDateLike).
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.monthCode
|
esid: sec-temporal.calendar.prototype.monthCode
|
||||||
description: Temporal.Calendar.prototype.month will take PlainDateTime and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.month will take PlainDateTime and return
|
||||||
the value of the monthCode.
|
the value of the monthCode.
|
||||||
info: |
|
info: |
|
||||||
6. Return ! ISOMonthCode(temporalDateLike).
|
6. Return ! ISOMonthCode(temporalDateLike).
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.monthCode
|
esid: sec-temporal.calendar.prototype.monthCode
|
||||||
description: Temporal.Calendar.prototype.monthCode will take PlainDate and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.monthCode will take PlainDate and return
|
||||||
the value of the monthCode.
|
the value of the monthCode.
|
||||||
info: |
|
info: |
|
||||||
5. Return ! ISOMonthCode(temporalDateLike).
|
5. Return ! ISOMonthCode(temporalDateLike).
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.monthCode
|
esid: sec-temporal.calendar.prototype.monthCode
|
||||||
description: Temporal.Calendar.prototype.monthCode will take PlainMonthDay and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.monthCode will take PlainMonthDay and return
|
||||||
the value of the monthCode.
|
the value of the monthCode.
|
||||||
info: |
|
info: |
|
||||||
6. Return ! ISOMonthCode(temporalDateLike).
|
6. Return ! ISOMonthCode(temporalDateLike).
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.monthCode
|
esid: sec-temporal.calendar.prototype.monthCode
|
||||||
description: Temporal.Calendar.prototype.monthCode will take ISO8601 string and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.monthCode will take ISO8601 string and return
|
||||||
the value of the monthCode.
|
the value of the monthCode.
|
||||||
info: |
|
info: |
|
||||||
5. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
5. If Type(temporalDateLike) is not Object or temporalDateLike does not have
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.monthCode
|
esid: sec-temporal.calendar.prototype.monthCode
|
||||||
description: Temporal.Calendar.prototype.monthCode throws RangeError on
|
description: >
|
||||||
|
Temporal.Calendar.prototype.monthCode throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike
|
4. If Type(temporalDateLike) is not Object or temporalDateLike
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.monthCode
|
esid: sec-temporal.calendar.prototype.monthCode
|
||||||
description: Temporal.Calendar.prototype.monthCode will take PlainYearMonth and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.monthCode will take PlainYearMonth and return
|
||||||
the value of the monthCode.
|
the value of the monthCode.
|
||||||
info: |
|
info: |
|
||||||
6. Return ! ISOMonthCode(temporalDateLike).
|
6. Return ! ISOMonthCode(temporalDateLike).
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.year
|
esid: sec-temporal.calendar.prototype.year
|
||||||
description: Temporal.Calendar.prototype.year will take PlainDateTime and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.year will take PlainDateTime and return
|
||||||
the value of the year.
|
the value of the year.
|
||||||
info: |
|
info: |
|
||||||
1. Let calendar be the this value.
|
1. Let calendar be the this value.
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.year
|
esid: sec-temporal.calendar.prototype.year
|
||||||
description: Temporal.Calendar.prototype.year will take PlainDate and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.year will take PlainDate and return
|
||||||
the value of the year.
|
the value of the year.
|
||||||
info: |
|
info: |
|
||||||
1. Let calendar be the this value.
|
1. Let calendar be the this value.
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.year
|
esid: sec-temporal.calendar.prototype.year
|
||||||
description: Temporal.Calendar.prototype.year will take ISO8601 string and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.year will take ISO8601 string and return
|
||||||
the value of the year.
|
the value of the year.
|
||||||
info: |
|
info: |
|
||||||
1. Let calendar be the this value.
|
1. Let calendar be the this value.
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.year
|
esid: sec-temporal.calendar.prototype.year
|
||||||
description: Temporal.Calendar.prototype.year throws RangeError on
|
description: >
|
||||||
|
Temporal.Calendar.prototype.year throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(temporalDateLike) is not Object or temporalDateLike
|
4. If Type(temporalDateLike) is not Object or temporalDateLike
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.year
|
esid: sec-temporal.calendar.prototype.year
|
||||||
description: Temporal.Calendar.prototype.year throws TypeError on
|
description: >
|
||||||
|
Temporal.Calendar.prototype.year throws TypeError on
|
||||||
RequireInternalSlot if object has no internal slot.
|
RequireInternalSlot if object has no internal slot.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.calendar.prototype.year
|
esid: sec-temporal.calendar.prototype.year
|
||||||
description: Temporal.Calendar.prototype.year will take PlainYearMonth and return
|
description: >
|
||||||
|
Temporal.Calendar.prototype.year will take PlainYearMonth and return
|
||||||
the value of the year.
|
the value of the year.
|
||||||
info: |
|
info: |
|
||||||
1. Let calendar be the this value.
|
1. Let calendar be the this value.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user