/third_party/jerryscript/tests/jerry/ |
H A D | date-utc.js | 17 d = Date.UTC(undefined); 20 d = Date.UTC({}); 23 d = Date.UTC(2015); 26 d = Date.UTC(2000 + 15, 0); 29 d = Date.UTC(2015, 0); 32 d = Date.UTC(2015, 0, 1); 35 d = Date.UTC(2015, 0, 1, 0); 38 d = Date.UTC(2015, 0, 1, 0, 0); 41 d = Date.UTC(2015, 0, 1, 0, 0, 0); 44 d = Date.UTC(201 [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | externModule.js | 22 static UTC(year: number, month: number): number; 23 static UTC(year: number, month: number, date: number): number; 24 static UTC(year: number, month: number, date: number, hours: number): number; 25 static UTC(year: number, month: number, date: number, hours: number, minutes: number): number; 26 static UTC(year: number, month: number, date: number, hours: number, minutes: number, seconds: number): number; 27 static UTC(year: number, month: number, date: number, hours: number, minutes: number, seconds: number, 38 n=XDate.UTC(1964,2,1); 58 n = XDate.UTC(1964, 2, 1);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | time_zone_lookup.cc | 101 // Dereferencing an implicit-UTC time_zone is expected to be in effective_impl() 103 return *time_zone::Impl::UTC().impl_; in effective_impl() 113 return time_zone::Impl::UTC(); // avoid name lookup in utc_time_zone() 177 load_time_zone(name, &tz); // Falls back to UTC. in local_time_zone() 180 // offset because the load_time_zone() failed and we're using UTC. in local_time_zone()
|
H A D | time_zone_impl.h | 35 // The UTC time zone. Also used for other time zones that fail to load. 36 static time_zone UTC(); 39 // some other kind of error occurs. Note that loading "UTC" never fails. 59 // ambiguous or illegal due to a change of UTC offset.
|
H A D | time_zone_impl.cc | 49 time_zone time_zone::Impl::UTC() { return time_zone(UTCImpl()); } in UTC() function in absl::time_internal::cctz::time_zone::Impl 54 // Check for UTC (which is never a key in time_zone_map). in LoadTimeZone() 106 static const Impl* utc_impl = new Impl("UTC"); // never fails in UTCImpl()
|
H A D | time_zone_lookup_test.cc | 461 "Etc/UTC", 627 "UTC", 634 // Helper to return a loaded time zone by value (UTC on error). 720 TEST(TimeZone, UTC) { in TEST() 724 EXPECT_TRUE(load_time_zone("UTC", &loaded_utc)); in TEST() 734 EXPECT_EQ("UTC", utc.name()); in TEST() 741 EXPECT_EQ("UTC", fixed0.name()); in TEST() 744 EXPECT_EQ("Fixed/UTC+03:25:45", fixed_pos.name()); in TEST() 747 EXPECT_EQ("Fixed/UTC-12:34:56", fixed_neg.name()); in TEST() 757 convert(civil_second(1970, 1, 1, 0, 0, 0), tz)); // UTC in TEST() [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | regression-test-issue-3105.js | 15 var str = String.fromCharCode([-10] + "123", Date.UTC(15, 13, 15));
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | TestCase.java | 133 GregorianCalendar greg = new GregorianCalendar(UTC, Locale.getDefault()); in TestCase() 247 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT"); field in TestCase
|
H A D | CalendarTestFmwk.java | 56 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT"); field in CalendarTestFmwk 80 cal.setTimeZone(UTC); in doTestCases() 93 gregFormat.setTimeZone(UTC); in doTestCases() 95 GregorianCalendar pureGreg = new GregorianCalendar(UTC); in doTestCases()
|
H A D | HebrewTest.java | 86 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault()); in TestRoll() 125 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault()); in TestAdd()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | TestCase.java | 130 GregorianCalendar greg = new GregorianCalendar(UTC, Locale.getDefault()); in TestCase() 244 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT"); field in TestCase
|
H A D | CalendarTestFmwk.java | 53 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT"); field in CalendarTestFmwk 77 cal.setTimeZone(UTC); in doTestCases() 90 gregFormat.setTimeZone(UTC); in doTestCases() 92 GregorianCalendar pureGreg = new GregorianCalendar(UTC); in doTestCases()
|
H A D | HebrewTest.java | 83 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault()); in TestRoll() 122 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault()); in TestAdd()
|
/third_party/python/Lib/test/test_zoneinfo/ |
H A D | test_zoneinfo.py | 272 zi = self.klass("UTC") 277 self.assertEqual(dt.tzname(), "UTC") 761 UTC = ZoneOffset("UTC", ZERO, ZERO) 763 transitions = [ZoneTransition(datetime(1970, 1, 1), UTC, UTC)] 767 zi = self.klass.from_file(zf, key="UTC") 771 self.assertEqual(dt.tzname(), UTC.tzname) 772 self.assertEqual(dt.utcoffset(), UTC.utcoffset) 773 self.assertEqual(dt.dst(), UTC [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | IcuFunctions.java | 191 return adjustFn.apply(date).toInstant(ZoneOffset.UTC).toEpochMilli(); in toEpochMillis()
|
/third_party/curl/tests/ |
H A D | testcurl.pl | 329 # Set timestamp to the UTC this script is running. Its value might 331 $timestamp = scalar(gmtime)." UTC"; 424 # Set timestamp to the UTC the git update took place. 425 $timestamp = scalar(gmtime)." UTC" if (!$gitstat); 447 # Set timestamp to the UTC the git update took place. 448 $timestamp = scalar(gmtime)." UTC" if (!$gitstat); 497 $stampstring =~ s/\s+UTC//; 498 $timestamp = $stampstring." UTC";
|
/third_party/alsa-utils/alsa-info/ |
H A D | alsa-info.sh | 416 TSTAMP=$(LANG=C TZ=UTC date)
|
/third_party/python/Lib/test/ |
H A D | datetimetester.py | 32 from datetime import UTC namespace 72 self.assertIs(UTC, timezone.utc) 89 'tzinfo', 'UTC', 'sys']) 279 self.assertIsNot(timezone.utc, timezone(timedelta(0), 'UTC')) 280 self.assertEqual(timezone.utc, timezone(timedelta(0), 'UTC')) 317 self.assertEqual('UTC', timezone.utc.tzname(None)) 318 self.assertEqual('UTC', UTC.tzname(None)) 319 self.assertEqual('UTC', timezone(ZERO).tzname(None)) 320 self.assertEqual('UTC [all...] |
H A D | test_logging.py | 3862 class UTC(datetime.tzinfo): class 3869 return 'UTC' 3871 utc = UTC() 4134 # We're essentially converting a UTC time to local time
|
/third_party/python/Lib/ |
H A D | datetime.py | 8 "MINYEAR", "MAXYEAR", "UTC") 1235 "datetime -> timedelta, positive for east of UTC, negative for west of UTC" 1239 """datetime -> DST offset as timedelta, positive for east of UTC. 1247 "datetime in UTC -> datetime in local time." 1575 """Return the timezone offset as timedelta, positive east of UTC 1576 (negative west of UTC).""" 1587 it mean anything in particular. For example, "GMT", "UTC", "-500", 1601 the UTC offset returned by utcoffset() if applicable, so there's no 1798 """Construct a naive UTC datetim [all...] |
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
H A D | api.js | [all...] |
/third_party/python/ |
H A D | configure | 24042 putenv("TZ=UTC+0"); 24047 /* For UTC, tzname[1] is sometimes "", sometimes " " */ 24048 if (strcmp(tzname[0], "UTC") ||
|