/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RRuleTest.java | 61 static final String UTC = "UTC"; 67 runRecurrenceIteratorTest(rruleText, dtStart, limit, golden, null, null, UTC); 85 * @param tz The time zone. UTC is used if null is passed in. 177 runRecurrenceIteratorTest("RRULE:FREQ=YEARLY", "20060120", 5, "20060120,20070120,20080120,20090120,20100120,...", null, "20120101", UTC); 483 runRecurrenceIteratorTest("RRULE:FREQ=YEARLY;INTERVAL=100;BYYEARDAY=60;BYMONTHDAY=1", "19000101", 4, "19000301,21000301,22000301,23000301,...", null, "25000101", UTC); 652 /*"19970313,19970320,19970327,"*/"19980305,19980312," + "19980319,19980326,19990304,19990311,19990318," + "19990325,20000302,20000309,20000316,...", "19970601", UTC); 660 /*"19970519,"*/"19980518,19990517,20000515,...", "19980515", UTC); 668 /*"19970101,19970410,19970719,20000101,"*/"20000409," + "20000718,20030101,20030410,20030719,20060101,20060410,20060719," + "20090101", "20000228", UTC); 677 /*"19970101,19970410,19970719,20000101,"*/"20000409," + "20000718,20030101,20030410,20030719,20060101", "20000228", UTC); [all...] |
/external/v8/test/webkit/ |
date-parse-comments-test.js | 43 testDateParse("Dec ((27) 26 (24)) 25 1995 1:30 PM UTC", "819898200000"); 44 testDateParse("Dec 25 1995 1:30 PM UTC (", "819898200000"); 45 testDateParse("Dec 25 1995 1:30 (PM)) UTC", "NaN"); 66 testDateParse("Dec 25 1995 (PDT)UTC(PST)", "819849600000"); 68 testDateParse("Dec 25 1995 (UTC)PST(GMT)", "819878400000"); 69 testDateParse("Dec 25 1995 (UTC)PDT(GMT)", "819874800000"); 71 testDateParse("Dec 25 1995 1:30 (PDT)UTC(PST)", "819855000000"); 73 testDateParse("Dec 25 1995 1:30 (UTC)PST(GMT)", "819883800000"); 74 testDateParse("Dec 25 1995 1:30 (UTC)PDT(GMT)", "819880200000"); 76 testDateParse("Dec 25 1995 1:30 (AM) PM (PST) UTC", "819898200000") [all...] |
/external/v8/test/webkit/fast/js/ |
date-toisostring.js | 41 shouldBe("new Date('1 January 1500 UTC').toISOString()", "'1500-01-01T00:00:00.000Z'"); 42 shouldBe("new Date('1 January 2000 UTC').toISOString()", "'2000-01-01T00:00:00.000Z'"); 43 shouldBe("new Date('1 January 4000 UTC').toISOString()", "'4000-01-01T00:00:00.000Z'"); 44 shouldBe("new Date('1 January 100000 UTC').toISOString()", "'+100000-01-01T00:00:00.000Z'"); 45 shouldBe("new Date('1 January -1 UTC').toISOString()", "'-000001-01-01T00:00:00.000Z'"); 46 shouldBe("new Date('10 March 2000 UTC').toISOString()", "'2000-03-10T00:00:00.000Z'");
|
/external/snakeyaml/src/test/java/examples/jodatime/ |
JodaTimeExampleTest.java | 37 DateTime time = new DateTime(timestamp, DateTimeZone.UTC); 48 assertEquals(new DateTime(timestamp, DateTimeZone.UTC), time); 75 return new DateTime(date, DateTimeZone.UTC); 105 return new DateTime(date, DateTimeZone.UTC);
|
JodaTimeImplicitContructor.java | 37 return new DateTime(date, DateTimeZone.UTC);
|
JodaTimeFlowStylesTest.java | 45 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); 120 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); 146 return new DateTime(date, DateTimeZone.UTC);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTimeFactory.java | 28 /** The UTC TimeZone */ 29 private static final TimeZone UTC = TimeZone.getTimeZone("UTC"); 95 * @return Returns The returned time is UTC, properly adjusted for the local time zone. The 120 * Make sure a time is UTC. If the time zone is not UTC, the time is 121 * adjusted and the time zone set to be UTC. 131 GregorianCalendar cal = new GregorianCalendar(UTC);
|
/external/v8/test/mjsunit/regress/ |
regress-280531.js | 29 var date1 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')"); 30 new Date('Thu, 29 Aug 2013 00:00:01 UTC'); 31 var date2 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')");
|
regress-builtinbust-7.js | 12 var date = new Date(Date.UTC(2004, 12, 25, 3, 0, 0));
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
datetime_utils.py | 26 'UTC', 'timedelta_to_seconds', 40 return 'UTC' 42 return 'UTC' 44 UTC = _UTC() 76 # No timezone given. None would mean local time, but we'll force UTC 79 return datetime.fromtimestamp(t, UTC)
|
/external/v8/test/mjsunit/ |
date.js | 160 // LayoutTests/fast/js/script-tests/date-utc-timeclip.js: 162 assertEquals(8639999999999999, Date.UTC(275760, 8, 12, 23, 59, 59, 999)); 163 assertEquals(8640000000000000, Date.UTC(275760, 8, 13)); 164 assertTrue(isNaN(Date.UTC(275760, 8, 13, 0, 0, 0, 1))); 165 assertTrue(isNaN(Date.UTC(275760, 8, 14))); 167 assertEquals(Date.UTC(-271821, 3, 20, 0, 0, 0, 1), -8639999999999999); 168 assertEquals(Date.UTC(-271821, 3, 20), -8640000000000000); 169 assertTrue(isNaN(Date.UTC(-271821, 3, 19, 23, 59, 59, 999))); 170 assertTrue(isNaN(Date.UTC(-271821, 3, 19))); 191 assertEquals(8640000000000000, Date.UTC(1970, 0, 1 + 100000001, -24)) [all...] |
to_number_order.js | 77 Date.UTC(year, month, date, hours, minutes, seconds, ms); 79 assertEquals("1234567", x, "Date.UTC"); 83 assertEquals("67", x, "Date.UTC");
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
TestCase.java | 129 GregorianCalendar greg = new GregorianCalendar(UTC, Locale.getDefault()); 242 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
|
CalendarTest.java | 55 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT"); 79 cal.setTimeZone(UTC); 92 gregFormat.setTimeZone(UTC); 94 GregorianCalendar pureGreg = new GregorianCalendar(UTC);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
TestCase.java | 128 GregorianCalendar greg = new GregorianCalendar(UTC, Locale.getDefault()); 241 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
|
CalendarTest.java | 51 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT"); 75 cal.setTimeZone(UTC); 88 gregFormat.setTimeZone(UTC); 90 GregorianCalendar pureGreg = new GregorianCalendar(UTC);
|
/external/libcap-ng/libcap-ng-0.7/ |
py-compile | 4 scriptversion=2011-06-08.12; # UTC 159 # time-stamp-time-zone: "UTC" 160 # time-stamp-end: "; # UTC"
|
/frameworks/rs/api/ |
rs_time.spec | 30 January 1, 1970, Coordinated Universal Time (UTC)). 81 Returns the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970).
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/ |
test_layer2.py | 210 class UTC(tzinfo): 211 """UTC""" 223 self.vault.retrieve_inventory(start_date=datetime(2014, 0o1, 0o1, tzinfo=UTC()), 224 end_date=datetime(2014, 0o1, 0o2, tzinfo=UTC()),
|
/libcore/luni/src/test/java/libcore/java/util/ |
SimpleTimeZoneTest.java | 41 private static final TimeZone UTC = TimeZone.getTimeZone("UTC"); 270 String actualUtcEntryTime = formatTime(UTC, simpleTransitions[0]); 272 String actualUtcExitTime = formatTime(UTC, simpleTransitions[1]);
|
/libcore/ojluni/src/main/java/java/util/ |
TimeZone.java | 171 private static final TimeZone UTC = new SimpleTimeZone(0, "UTC"); 175 * daylight savings. This is the offset to add to UTC to get local time. 200 * Returns the offset of this time zone from UTC at the specified 210 * @return the amount of time in milliseconds to add to UTC to get local time. 254 * This is the offset to add to UTC to get local time. 267 * Returns the amount of time in milliseconds to add to UTC to get 279 * @return the amount of raw offset time in milliseconds to add to UTC. 415 * Returns a string representation of an offset from UTC. 422 * @param offsetMillis the offset from UTC [all...] |
/external/v8/test/intl/date-format/ |
format-test.js | 30 var dtf = new Intl.DateTimeFormat('en-US', {timeZone: 'UTC'});
|
parse-mdyhms.js | 34 timeZone: 'UTC'});
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
DateTest.java | 475 * java.util.Date#UTC(int, int, int, int, int, int) 478 // Test for method long java.util.Date.UTC(int, int, int, int, int, int) 479 assertTrue("Returned incorrect UTC value for epoch", Date.UTC(70, 0, 1, 481 assertTrue("Returned incorrect UTC value for epoch +1yr", Date.UTC(71,
|
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
extras_i18n_test.py | 87 'timezone': 'UTC', 224 i18n.get_i18n().set_timezone('UTC') 225 self.assertEqual(i18n.get_i18n().tzinfo.zone, 'UTC') 239 base = datetime.datetime(2002, 10, 27, 6, 0, 0, tzinfo=pytz.UTC) 256 base = datetime.datetime(2002, 10, 27, 6, 0, 0, tzinfo=pytz.UTC)
|