/cts/tests/tests/net/src/android/net/http/cts/ |
SslCertificate_DNameTest.java | 69 Date date1 = new Date(System.currentTimeMillis() - 1000); local 72 date1), DateFormat.getInstance().format(date2));
|
SslCertificateTest.java | 224 Date date1 = new Date(System.currentTimeMillis() - 1000); local 226 SslCertificate ssl = new SslCertificate("c=129", "e=weji", date1, date2); 278 Date date1 = new Date(System.currentTimeMillis() - 1000); local 280 SslCertificate ssl = new SslCertificate(TO, BY, date1, date2); 294 assertEquals(date1, ssl.getValidNotBeforeDate());
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
FormatDateRangeTest.java | 33 public Time date1; field in class:FormatDateRangeTest.DateTest 42 date1 = new Time(Time.TIMEZONE_UTC); 45 date1 = new Time(); 51 date1.set(System.currentTimeMillis()); 52 year1 = year2 = date1.year; 55 date1.set(0, minute1, hour1, day1, month1, year1); 56 date1.normalize(true /* ignore isDst */); 185 long startMillis = dateTest.date1.toMillis(false /* use isDst */);
|
/external/v8/test/mjsunit/ |
date.js | 30 var date1 = new Date(date0); 32 assertEquals(date0.getTime(), date1.getTime()); 38 var date1 = Date.parse("Dec 25, 1995 1:30"); variable 41 assertEquals(date0, date1); 42 assertEquals(date1, date2);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EventFieldEditorView.java | 207 Date date1 = kind.dateFormatWithYear.parse(oldValue, position); local 208 if (date1 == null) { 210 date1 = DateUtils.parseDate(oldValue); 212 if (date1 != null) { 213 calendar.setTime(date1);
|
/external/icu4c/test/cintltst/ |
cdtdptst.c | 199 UDate date1, date2; local 208 date1 = ucal_getNow(); 209 now=myDateFormat(format, date1); 216 if (!(date2 == date1)) log_err("FAIL\n");
|
ccaltst.c | 1056 UDate date1; local 1128 UDate date1; local [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_TimeZones.cpp | 120 UDate date1 = 1203105600000.0; local 154 row.tz->getOffset(date1, false, rawOffset, daylightOffset, status); 159 row.daylightSavingDate = date1; 161 row.standardDate = date1;
|
/external/bluetooth/glib/glib/ |
gdate.h | 220 before date1, a negative value is return. */ 221 gint g_date_days_between (const GDate *date1, 234 /* Swap date1 and date2's values if date1 > date2. */ 235 void g_date_order (GDate *date1, GDate *date2);
|
/libcore/luni/src/test/java/tests/security/cert/ |
X509CertSelectorTest.java | 339 Date date1 = new Date(100); local 346 selector.setCertificateValid(date1); 347 assertTrue("The returned date should be equal to specified", date1 350 assertTrue("The returned date should be equal to specified", date1 609 Date date1 = new Date(100); local 614 selector.setPrivateKeyValid(date1); 615 assertTrue("The returned date should be equal to specified", date1 618 assertTrue("The returned date should be equal to specified", date1 944 Date date1 = new Date(100); local 1284 Date date1 = new Date(100000000); local [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertSelectorTest.java | 980 Date date1 = new Date(100); local 1008 Date date1 = new Date(100); local 1031 Date date1 = new Date(100000000); local 1062 Date date1 = new Date(100); local [all...] |
/external/icu4c/test/intltest/ |
calregts.cpp | 1758 UDate date1 = calendar->getTime(status); local 2236 UDate date1 = cal.getTime(ec); local [all...] |
dtfmttst.cpp | 558 UDate date1 = Calendar::getNow(); local 559 ((DateFormat*)formatter)->format(date1, now); 566 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 532 * @param date1 first date 536 private synchronized static long getNumberOfDaysPassed(long date1, long date2) { 540 sThenTime.set(date1); 541 int day1 = Time.getJulianDay(date1, sThenTime.gmtoff); [all...] |