test-option-date-time-components.js (521B)
1 // Copyright 2012 Mozilla Corporation. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 es5id: 12.1.1_23 6 description: > 7 Tests that the options for the date and time components are 8 processed correctly. 9 author: Norbert Lindenberg 10 includes: [testIntl.js] 11 ---*/ 12 13 getDateTimeComponents().forEach(function (component) { 14 testOption(Intl.DateTimeFormat, component, "string", getDateTimeComponentValues(component), undefined, {isILD: true}); 15 }); 16 17 reportCompare(0, 0);