/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLSelector2Test.java | 35 import java.util.Date; 342 * setDateAndTime(Date dateAndTime) method testing. Tests if CRLs with any 350 args = {java.util.Date.class} 354 TestCRL crl = new TestCRL(new Date(200), new Date(300)); 358 selector.setDateAndTime(new Date(200)); 361 selector.setDateAndTime(new Date(250)); 364 selector.setDateAndTime(new Date(300)); 367 selector.setDateAndTime(new Date(150)); 370 selector.setDateAndTime(new Date(350)) 523 Date date = new Date(200); local 591 Date date = new Date(200); local 623 Date date = new Date(200); local [all...] |
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/ |
AccountSyncSettings.java | 56 import java.util.Date; 306 Date date = new Date(); local 346 date.setTime(successEndTime); 347 final String timeString = mDateFormat.format(date) + " " 348 + mTimeFormat.format(date);
|
/packages/apps/Contacts/src/com/android/contacts/ |
CallDetailActivity.java | 71 CallLog.Calls.DATE, 150 long date = callCursor.getLong(DATE_COLUMN_INDEX); local 154 // Pull out string in format [relative], [date] 155 CharSequence dateClause = DateUtils.formatDateRange(this, date, date,
|
/packages/apps/Email/tests/src/com/android/email/mail/internet/ |
MimeMessageTest.java | 34 import java.util.Date; 71 * Confirms that setSentDate() correctly set the "Date" header of a Mime message. 74 * MimeMessage depends on the date formatter, which may emit wrong date format 92 Date date = new Date(expectedTime); local 94 message.setSentDate(date); 95 String[] headers = message.getHeader("Date"); 101 Date result = format.parse(headers[0]) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
ManageSimMessages.java | 235 Long date = cursor.getLong(cursor.getColumnIndexOrThrow("date")); local 239 Sms.Inbox.addMessage(mContentResolver, address, body, null, date, true /* read */); 241 Sms.Sent.addMessage(mContentResolver, address, body, null, date);
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
RecurrenceProcessorTest.java | 40 for (long date : dates) { 41 time.set(date); 163 throw new RuntimeException("expected last occurrence date does not match." 552 // BUG 1658567: UNTIL=date 2446 Time date = new Time(tz); local [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
FileListingService.java | 133 String date; field in class:FileListingService.FileEntry 187 * Returns the date string of the entry, as returned by <code>ls</code>. 190 return date; 460 String date = m.group(5); local 531 entry.date = date;
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
GpxParser.java | 183 * @return date in milliseconds. 193 int date = Integer.parseInt(m.group(3)); local 216 c.set(year, month, date, hourOfDay, minute, second);
|
/libcore/luni/src/test/java/libcore/java/security/ |
KeyStoreTest.java | 45 import java.util.Date; 600 Date date = keyStore.getCreationDate(ALIAS_CERTIFICATE); local 601 assertNotNull(date); 602 assertTrue(before <= date.getTime()); 603 assertTrue(date.getTime() <= after); 613 Date date = keyStore.getCreationDate(ALIAS_ALT_CASE_CERTIFICATE); local 614 assertTrue(before <= date.getTime()); 615 assertTrue(date.getTime() <= after) [all...] |
/bionic/libc/kernel/common/linux/ |
msdos_fs.h | 157 __le16 time,date,start; member in struct:msdos_dir_entry
|
/development/ndk/platforms/android-3/include/linux/ |
msdos_fs.h | 157 __le16 time,date,start; member in struct:msdos_dir_entry
|
/external/bluetooth/glib/tests/ |
testglib.c | 1279 GTimeVal ref_date, date; local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKKeyStore.java | 27 import java.util.Date; 102 Date date = new Date(); field in class:JDKKeyStore.StoreEntry 165 Date date, 170 this.date = date; 177 Date date, 701 Date date = new Date(dIn.readLong()); local [all...] |
/external/chromium/net/http/ |
http_cache_transaction.cc | 1734 Time date; local [all...] |
/external/chromium/third_party/icu/source/i18n/ |
zonemeta.cpp | 215 * Convert a date string used by metazone mappings to UDate. 282 UDate date = Grego::fieldsToDay(year, month - 1, day) * U_MILLIS_PER_DAY local 284 return date; 916 ZoneMeta::getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) { 922 if (mzm->from <= date && mzm->to > date) { [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
caltest.cpp | 272 UDate when = date(90, UCAL_APRIL, 15); 374 if (cal->getTime(status) != date(84, 5, 24) || U_FAILURE(status)) 379 if (cal->getTime(status) != date(85, 3, 2, 11, 49) || U_FAILURE(status)) 384 if (cal->getTime(status) != date(95, 9, 12, 1, 39, 55) || U_FAILURE(status)) 451 if (gc->getTime(status) != (d =date(98, 10, 14, 21, 43) )|| U_FAILURE(status)) 458 if (gc->getTime(status) != (d=date(98, 10, 14, 21, 43, 55)) || U_FAILURE(status)) 481 int32_t year = 1997, month = UCAL_APRIL, date = 1; local 482 gc->set(year, month, date); 491 gc->get(UCAL_DATE, status) != (date + i)) errln("FAIL: Date wrong") 743 UDate date; local [all...] |
dtfmrgts.cpp | 96 logln((UnicodeString)"today date: " + today); 98 logln("Error reparsing date: " + e.getMessage()); 130 UDate dt = date(97, UCAL_MAY, 3, 8, 55); 231 UDate start = date(1809-1900, UCAL_DECEMBER, 25); 237 date(1809-1900, UCAL_DECEMBER, 25), 238 date(1909-1900, UCAL_DECEMBER, 24), 239 date(1809-1900, UCAL_DECEMBER, 26), 240 date(1861-1900, UCAL_DECEMBER, 25), 251 "091225", new Date(1809-1900, Calendar.DECEMBER, 25), 252 "091224", new Date(1909-1900, Calendar.DECEMBER, 24) 1271 int32_t date; member in class:Test1684Data 1447 UDate date = cal->getTime(status); local [all...] |
loctest.cpp | 1323 LocaleTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:LocaleTest 2145 UDate date = uprv_getUTCtime(); local [all...] |
tzregts.cpp | 71 logln(new Date().toString()); 150 errcheckln(status, "Error creating date format %s", u_errorName(status)); 320 PST, new Date(98,Calendar.APRIL,4,22,0), new Date(98, Calendar.APRIL, 5,6,0), 321 PST, new Date(98,Calendar.OCTOBER,24,22,0), new Date(98,Calendar.OCTOBER,25,6,0), 371 int32_t date = testCal->get(UCAL_DATE, status); local 375 --date; 380 ++date; 387 date, 1057 UDate date = 0; local [all...] |
/external/grub/stage2/ |
iso9660.h | 89 iso_date_t date; member in struct:iso_directory_record
|
/external/icu4c/test/cintltst/ |
ccaltst.c | 294 /*Testing the current time and date using ucal_getnow()*/ 297 /* open the date format and format the date to check the output */ 303 log_verbose("PASS: The current date and time fetched is %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datdef, now)) ); 468 /* this is supposed to open default date format, but later on it treats it like it is "en_US" 480 log_verbose("\nTesting the date and time fetched in millis for a calendar using getMillis\n"); 487 log_verbose("\nTesting the set date and time function using setMillis\n"); 493 /*testing if the calendar date is set properly or not */ 573 log_err("error in setting the calendar date : %s\n", u_errorName(status)); 575 /*checking if the calendar date is set properly or not * 1355 UDate date; local [all...] |
/external/icu4c/test/intltest/ |
caltest.cpp | 280 UDate when = date(90, UCAL_APRIL, 15); 384 if (cal->getTime(status) != date(84, 5, 24) || U_FAILURE(status)) 389 if (cal->getTime(status) != date(85, 3, 2, 11, 49) || U_FAILURE(status)) 394 if (cal->getTime(status) != date(95, 9, 12, 1, 39, 55) || U_FAILURE(status)) 470 if (gc->getTime(status) != (d =date(98, 10, 14, 21, 43) )|| U_FAILURE(status)) 477 if (gc->getTime(status) != (d=date(98, 10, 14, 21, 43, 55)) || U_FAILURE(status)) 529 int32_t year = 1997, month = UCAL_APRIL, date = 1; 530 gc->set(year, month, date); 539 gc->get(UCAL_DATE, status) != (date + i)) errln("FAIL: Date wrong") 791 UDate date; local [all...] |
dtfmrgts.cpp | 96 logln((UnicodeString)"today date: " + today); 98 logln("Error reparsing date: " + e.getMessage()); 130 UDate dt = date(97, UCAL_MAY, 3, 8, 55); 231 UDate start = date(1809-1900, UCAL_DECEMBER, 25); 237 date(1809-1900, UCAL_DECEMBER, 25), 238 date(1909-1900, UCAL_DECEMBER, 24), 239 date(1809-1900, UCAL_DECEMBER, 26), 240 date(1861-1900, UCAL_DECEMBER, 25), 251 "091225", new Date(1809-1900, Calendar.DECEMBER, 25), 252 "091224", new Date(1909-1900, Calendar.DECEMBER, 24) 1271 int32_t date; member in class:Test1684Data 1447 UDate date = cal->getTime(status); local [all...] |
loctest.cpp | 1327 LocaleTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:LocaleTest 2183 UDate date = uprv_getUTCtime(); local [all...] |
tzregts.cpp | 71 logln(new Date().toString()); 150 errcheckln(status, "Error creating date format %s", u_errorName(status)); 320 PST, new Date(98,Calendar.APRIL,4,22,0), new Date(98, Calendar.APRIL, 5,6,0), 321 PST, new Date(98,Calendar.OCTOBER,24,22,0), new Date(98,Calendar.OCTOBER,25,6,0), 371 int32_t date = testCal->get(UCAL_DATE, status); local 375 --date; 380 ++date; 387 date, 1046 UDate date = 0; local [all...] |