| builtin.js |
---
es5id: 12.1_L15
description: >
Tests that Intl.DateTimeFormat meets the requirements for
built-in objects defined by the introduction of chapter 17 of the
ECMAScript Language Specification.
author: Norbert Lindenberg
--- |
755 |
- |
| date-time-options.js |
---
es5id: 12.1.1_TDTO
description: >
Tests that the set of options for the date and time components is
processed correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
4985 |
- |
| default-options-object-prototype.js |
---
esid: sec-todatetimeoptions
description: >
Monkey-patching Object.prototype does not change the default
options for DateTimeFormat as a null prototype is used.
info: |
ToDateTimeOptions ( options, required, defaults )
1. If options is undefined, let options be null; otherwise let options be ? ToObject(options).
1. Let options be ObjectCreate(options).
--- |
731 |
- |
| ignore-invalid-unicode-ext-values.js |
---
es5id: 12.2.3_b
description: >
Tests that Intl.DateTimeFormat does not accept Unicode locale
extension keys and values that are not allowed.
author: Norbert Lindenberg
--- |
1870 |
- |
| instance-class.js |
---
es5id: 12.4_a
description: >
Tests that Intl.DateTimeFormat instances have the specified
properties.
author: Norbert Lindenberg
--- |
527 |
- |
| instance-proto-and-extensible.js |
---
es5id: 12.1.3
description: >
Tests that objects constructed by Intl.DateTimeFormat have the
specified internal properties.
author: Norbert Lindenberg
--- |
652 |
- |
| legacy-regexp-statics-not-modified.js |
---
es5id: 12.1.1_a
description: >
Tests that constructing a DateTimeFormat doesn't create or modify
unwanted properties on the RegExp constructor.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
564 |
- |
| length.js |
---
esid: sec-intl.datetimeformat
description: >
Intl.DateTimeFormat.length is 0.
info: |
Intl.DateTimeFormat ( [ locales [ , options ] ] )
17 ECMAScript Standard Built-in Objects:
Every built-in function object, including constructors, has a length
property whose value is an integer. Unless otherwise specified, this
value is equal to the largest number of named arguments shown in the
subclause headings for the function description. Optional parameters
(which are indicated with brackets: [ ]) or rest parameters (which
are shown using the form «...name») are not included in the default
argument count.
Unless otherwise specified, the length property of a built-in function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
1201 |
- |
| name.js |
---
esid: sec-Intl.DateTimeFormat
description: >
Intl.DateTimeFormat.name is "DateTimeFormat".
info: |
12.2.1 Intl.DateTimeFormat ([ locales [ , options ]])
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value
is a String.
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
941 |
- |
| prop-desc.js |
---
esid: sec-intl.datetimeformat-intro
description: >
"DateTimeFormat" property of Intl.
info: |
Intl.DateTimeFormat (...)
7 Requirements for Standard Built-in ECMAScript Objects
Unless specified otherwise in this document, the objects, functions, and constructors
described in this standard are subject to the generic requirements and restrictions
specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language
Specification, 9th edition, clause 17, or successor.
17 ECMAScript Standard Built-in Objects:
Every other data property described in clauses 18 through 26 and in Annex B.2 has the
attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }
unless otherwise specified.
includes: [propertyHelper.js]
--- |
1062 |
- |
| prototype |
|
|
- |
| required-date-time-formats.js |
---
es5id: 12.2.3_c
description: >
Tests that Intl.DateTimeFormat provides the required date-time
format component subsets.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
2087 |
- |
| subclassing.js |
---
es5id: 12.1.2
description: Tests that Intl.DateTimeFormat can be subclassed.
author: Norbert Lindenberg
includes: [compareArray.js]
--- |
1038 |
- |
| supportedLocalesOf |
|
|
- |
| taint-Object-prototype-date-time-components.js |
---
es5id: 12.1.1_22
description: >
Tests that the behavior of a Record is not affected by
adversarial changes to Object.prototype.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
654 |
- |
| taint-Object-prototype.js |
---
es5id: 12.1.1_5
description: >
Tests that the behavior of a Record is not affected by
adversarial changes to Object.prototype.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
588 |
- |
| test-option-date-time-components.js |
---
es5id: 12.1.1_23
description: >
Tests that the options for the date and time components are
processed correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
499 |
- |
| test-option-formatMatcher.js |
---
es5id: 12.1.1_25
description: Tests that the option formatMatcher is processed correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
399 |
- |
| test-option-hour12.js |
---
es5id: 12.1.1_18
description: Tests that the option hour12 is processed correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
511 |
- |
| test-option-localeMatcher.js |
---
es5id: 12.1.1_6
description: Tests that the option localeMatcher is processed correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
399 |
- |
| this-value-ignored.js |
---
es5id: 12.1.1_1
description: >
Tests that the this-value is ignored in DateTimeFormat, if the this-value
isn't a DateTimeFormat instance.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
1199 |
- |
| timezone-canonicalized.js |
---
es5id: 6.4_c
description: >
Tests that additional time zone names, if accepted, are handled
correctly.
author: Norbert Lindenberg
--- |
1152 |
- |
| timezone-invalid.js |
---
es5id: 6.4_b
description: Tests that invalid time zone names are not accepted.
author: Norbert Lindenberg
--- |
870 |
- |
| timezone-utc.js |
---
es5id: 6.4_a
description: Tests that valid time zone names are accepted.
author: Norbert Lindenberg
--- |
660 |
- |