Lines Matching refs:resolved
32 var resolved = dtfDefault.resolvedOptions();
34 assertTrue(resolved.hasOwnProperty('locale'));
35 assertEquals('en-US', resolved.locale);
36 assertTrue(resolved.hasOwnProperty('numberingSystem'));
37 assertEquals('latn', resolved.numberingSystem);
38 assertTrue(resolved.hasOwnProperty('calendar'));
39 assertEquals('gregory', resolved.calendar);
40 assertTrue(resolved.hasOwnProperty('timeZone'));
42 // assertEquals(getDefaultTimeZone(), resolved.timeZone);
44 assertTrue(resolved.hasOwnProperty('year'));
45 assertEquals('numeric', resolved.year);
46 assertTrue(resolved.hasOwnProperty('month'));
47 assertEquals('numeric', resolved.month);
48 assertTrue(resolved.hasOwnProperty('day'));
49 assertEquals('numeric', resolved.day);
51 assertFalse(resolved.hasOwnProperty('era'));
52 assertFalse(resolved.hasOwnProperty('timeZoneName'));
53 assertFalse(resolved.hasOwnProperty('weekday'));
54 assertFalse(resolved.hasOwnProperty('hour12'));
55 assertFalse(resolved.hasOwnProperty('hour'));
56 assertFalse(resolved.hasOwnProperty('minute'));
57 assertFalse(resolved.hasOwnProperty('second'));
62 resolved = dtfTime.resolvedOptions();
64 assertTrue(resolved.hasOwnProperty('locale'));
65 assertTrue(resolved.hasOwnProperty('numberingSystem'));
66 assertTrue(resolved.hasOwnProperty('calendar'));
67 assertTrue(resolved.hasOwnProperty('timeZone'));
68 assertTrue(resolved.hasOwnProperty('hour12'));
69 assertEquals(false, resolved.hour12);
70 assertTrue(resolved.hasOwnProperty('hour'));
71 assertEquals('2-digit', resolved.hour);
72 assertTrue(resolved.hasOwnProperty('minute'));
73 assertEquals('2-digit', resolved.minute);
74 assertTrue(resolved.hasOwnProperty('second'));
75 assertEquals('2-digit', resolved.second);
77 assertFalse(resolved.hasOwnProperty('year'));
78 assertFalse(resolved.hasOwnProperty('month'));
79 assertFalse(resolved.hasOwnProperty('day'));
80 assertFalse(resolved.hasOwnProperty('era'));
81 assertFalse(resolved.hasOwnProperty('timeZoneName'));
82 assertFalse(resolved.hasOwnProperty('weekday'));
89 resolved = dtfFull.resolvedOptions();
91 assertTrue(resolved.hasOwnProperty('locale'));
92 assertTrue(resolved.hasOwnProperty('numberingSystem'));
93 assertTrue(resolved.hasOwnProperty('calendar'));
94 assertTrue(resolved.hasOwnProperty('timeZone'));
95 assertTrue(resolved.hasOwnProperty('hour12'));
96 assertEquals(true, resolved.hour12);
97 assertTrue(resolved.hasOwnProperty('hour'));
98 assertTrue(resolved.hasOwnProperty('minute'));
99 assertTrue(resolved.hasOwnProperty('second'));
100 assertTrue(resolved.hasOwnProperty('year'));
101 assertTrue(resolved.hasOwnProperty('month'));
102 assertTrue(resolved.hasOwnProperty('day'));
103 assertTrue(resolved.hasOwnProperty('era'));
104 assertEquals('short', resolved.era);
105 assertTrue(resolved.hasOwnProperty('timeZoneName'));
106 assertEquals('short', resolved.timeZoneName);
107 assertTrue(resolved.hasOwnProperty('weekday'));
108 assertEquals('short', resolved.weekday);