Lines Matching full:timezone
31 assertEquals(getDefaultTimeZone(), df.resolvedOptions().timeZone);
33 df = Intl.DateTimeFormat(undefined, {timeZone: 'UtC'});
34 assertEquals('UTC', df.resolvedOptions().timeZone);
36 df = Intl.DateTimeFormat(undefined, {timeZone: 'gmt'});
37 assertEquals('UTC', df.resolvedOptions().timeZone);
39 df = Intl.DateTimeFormat(undefined, {timeZone: 'America/Los_Angeles'});
40 assertEquals('America/Los_Angeles', df.resolvedOptions().timeZone);
42 df = Intl.DateTimeFormat(undefined, {timeZone: 'Europe/Belgrade'});
43 assertEquals('Europe/Belgrade', df.resolvedOptions().timeZone);
46 df = Intl.DateTimeFormat(undefined, {timeZone: 'Etc/UTC'});
47 assertEquals('UTC', df.resolvedOptions().timeZone);
49 df = Intl.DateTimeFormat(undefined, {timeZone: 'Etc/GMT'});
50 assertEquals('UTC', df.resolvedOptions().timeZone);
52 df = Intl.DateTimeFormat(undefined, {timeZone: 'euRope/beLGRade'});
53 assertEquals('Europe/Belgrade', df.resolvedOptions().timeZone);
56 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'GMT+07:00\'})');
57 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'GMT+0700\'})');
58 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'GMT-05:00\'})');
59 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'GMT-0500\'})');
60 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'Etc/GMT+0\'})');
62 '{timeZone: \'America/Los-Angeles\'})');
65 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'Aurope/Belgrade\'})');