aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/intl402/ch12/12.1/12.1.1_23.js
blob: d26e1d28c82eb2be569627107552f6f192237508 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2012 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * @description Tests that the options for the date and time components are processed correctly.
 * @author Norbert Lindenberg
 */

$INCLUDE("testIntl.js");

getDateTimeComponents().forEach(function (component) {
    testOption(Intl.DateTimeFormat, component, "string", getDateTimeComponentValues(component), undefined, {isILD: true});
});