/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLSelector2Test.java | 31 import java.util.Date; 283 * setDateAndTime(Date dateAndTime) method testing. Tests if CRLs with any 289 TestCRL crl = new TestCRL(new Date(200), new Date(300)); 293 selector.setDateAndTime(new Date(200)); 296 selector.setDateAndTime(new Date(250)); 299 selector.setDateAndTime(new Date(300)); 302 selector.setDateAndTime(new Date(150)); 305 selector.setDateAndTime(new Date(350)); 422 Date date = new Date(200) local 472 Date date = new Date(200); local 498 Date date = new Date(200); local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
httpclient.cc | 119 unsigned long date; local 121 || !HttpDateToSeconds(s_temp, &date)) 125 unsigned long request_time = date; 126 unsigned long response_time = date; 129 if (response_time > date) { 130 apparent_age = response_time - date; 150 lifetime = i_temp - date; 183 unsigned long last_modified, date; local 186 && HttpDateToSeconds(value, &date) 187 && (last_modified + 60 < date)) { [all...] |
/frameworks/base/media/jni/ |
android_mtp_MtpDatabase.cpp | 379 // special case date properties, which are strings to MTP 382 char date[20]; local 383 formatDateTime(longValue, date, sizeof(date)); 384 packet.putString(date); 387 // release date is stored internally as just the year 389 char date[20]; local 390 snprintf(date, sizeof(date), "%04lld0101T000000", longValue); 391 packet.putString(date); 754 char date[20]; local 1091 char date[20]; local [all...] |
/external/icu4c/test/intltest/ |
calregts.cpp | 202 int32_t date = cal->get(UCAL_DATE, status) + 1 ; local 204 log(UnicodeString("/") + date) ; 304 //This will print out todays date for MONTH and DAY_OF_MONTH 305 //instead of the date it was set to. 360 logln("DATE: " + Calendar::get(Calendar::DATE)); 387 logln("DATE: " + Calendar::get(Calendar::DATE)); 452 UDate date = fmt->parse("29MAY97", status); local 454 cal->setTime(date, status) 706 SimpleDateFormat *date; local 1296 UDate date = DATA[i]; local 1595 UDate date = makeDate(1996, UCAL_JANUARY, 3); \/\/ Arbitrary date local 2153 UDate date = cutover + local [all...] |
dtptngts.cpp | 340 UDate sampleDate=LocaleTest::date(99, 9, 13, 23, 58, 59); 396 errln("ERROR: Simple test uses full date format."); 474 UDate testDate1= LocaleTest::date(99, 0, 13, 23, 58, 59); 487 logln(UnicodeString(" Formatted date:") + rDate); 499 UDate testDate1= LocaleTest::date(99, 0, 13, 23, 58, 59); 512 logln(UnicodeString(" Formatted date:") + rDate); 550 UDate testDate= LocaleTest::date(99, 0, 13, 23, 58, 59); 588 testDate= LocaleTest::date(99, 9, 13, 23, 58, 59); [all...] |
/build/tools/droiddoc/templates-sdk/assets/ |
android-developer-docs.js | 124 var date = new Date(); 125 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week 126 expiration = date.toGMTString(); 490 var date = new Date(); 491 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // keep this for 10 years 492 writeCookie("nav", nav_pref, "reference", date.toGMTString()) [all...] |
android-developer-reference.js | 11 var date = new Date(); 12 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // keep this for 10 years 13 var expiration = date.toGMTString(); 69 var date = new Date(); 70 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // keep this for 10 years 71 var expiration = date.toGMTString() [all...] |
/external/doclava/res/assets/templates/assets/ |
doclava-developer-docs.js | 124 var date = new Date(); 125 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week 126 expiration = date.toGMTString(); 415 var date = new Date(); 416 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // keep this for 10 years 417 writeCookie("nav", nav_pref, "reference", date.toGMTString()) [all...] |
/external/v8/src/ |
apinatives.js | 34 var date = new $Date(); 35 date.setTime(time); 36 return date;
|
/external/chromium/base/win/ |
scoped_variant.cc | 180 void ScopedVariant::SetDate(DATE date) { 183 var_.date = date;
|
/external/chromium/chrome/browser/autofill/ |
credit_card.cc | 122 bool ConvertDate(const string16& date, int* num) { 123 if (!date.empty()) { 124 bool converted = base::StringToInt(date, num); 288 return obfuscated_cc_number; // No expiration date set. 290 // TODO(georgey): Internationalize date.
|
/external/icu4c/i18n/ |
windtfmt.cpp | 80 // Get proper date time format 169 UnicodeString *date = new UnicodeString(); local 174 formatDate(&st_local, *date); 178 timeDateArray[1].adoptString(date);
|
simpletz.cpp | 11 * Date Name Description 41 // available. Set February to 29 days to accomodate rules with that date 42 // and day-of-week-on-or-before-that-date mode (DOW_LE_DOM_MODE). 272 * the exact starting date. Their exact meaning depend on their respective signs, 472 // Compare the date to the starting and ending rules.+1 = date>rule, -1 473 // = date<rule, 0 = date==rule. 508 SimpleTimeZone::getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 516 double day = uprv_floor(date / U_MILLIS_PER_DAY) [all...] |
/external/icu4c/test/perf/DateFmtPerf/ |
DateFmtPerf.h | 165 UDate date; local 184 date = cal->getTime(status2); 189 // Format the date 191 fmt->format(date, str, status2); 194 // Display the formatted date string
|
/external/webkit/Source/JavaScriptCore/runtime/ |
DatePrototype.cpp | 259 // safe because date and (or) time related characters in different languages 280 return jsNontrivialString(exec, "Invalid Date"); 286 // Converts a list of arguments sent to a Date member function into milliseconds, updating 287 // ms (representing milliseconds) and t (representing the rest of the date structure) appropriately. 340 // Converts a list of arguments sent to a Date member function into years, months, and milliseconds, updating 341 // ms (representing milliseconds) and t (representing the rest of the date structure) appropriately. 377 const ClassInfo DatePrototype::s_info = {"Date", &DateInstance::s_info, 0, ExecState::dateTable}; 464 return JSValue::encode(jsNontrivialString(exec, "Invalid Date")); 465 DateConversionBuffer date; 467 formatDate(*gregorianDateTime, date); [all...] |
/libcore/luni/src/main/java/java/net/ |
HttpCookie.java | 21 import java.util.Date; 327 Date date = HttpDate.parse(value); local 328 if (date != null) { 329 cookie.setExpires(date); 613 private void setExpires(Date expires) {
|
URLConnection.java | 24 import java.util.Date; 334 * Returns the timestamp when this response has been sent as a date in 341 return getHeaderFieldDate("Date", 0); 515 * Returns the specified header value as a date in milliseconds since January 523 * @return the value of the specified header field as a date in 528 String date = getHeaderField(field); local 529 if (date == null) { 533 return Date.parse(date); // TODO: use HttpDate.parse() [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserSnapshotPage.java | 53 import java.util.Date; 288 TextView date = (TextView) view.findViewById(R.id.date); local 290 date.setText(dateFormat.format(new Date(timestamp)));
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaAdapter.java | 210 Time date = new Time(tzString); local 211 date.set(begin); 217 displayName = tz.getDisplayName(date.isDst != 0, TimeZone.SHORT);
|
/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);
|
/external/wpa_supplicant_8/src/wps/ |
wps_upnp.c | 219 /* Write the current date/time per RFC */ 225 struct tm *date; local 229 date = gmtime(&t); 231 &weekday_str[date->tm_wday * 4], date->tm_mday, 232 &month_str[date->tm_mon * 4], date->tm_year + 1900, 233 date->tm_hour, date->tm_min, date->tm_sec) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SimpleTimeZoneTest.java | 21 import java.util.Date; 256 * @tests java.util.SimpleTimeZone#inDaylightTime(java.util.Date) 260 // java.util.SimpleTimeZone.inDaylightTime(java.util.Date) 272 Date date = new Date(gc.getTime().getTime() + 1000); local 274 .inDaylightTime(date)); 278 date = new Date(gc.getTime().getTime() - 1000); 280 .inDaylightTime(date)); [all...] |
/external/bluetooth/glib/ |
Makefile.am | 139 $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` 142 $(MAKE) distcheck distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
/external/chromium/chrome/browser/importer/ |
mork_reader.cc | 531 int64 date; local 532 base::StringToInt64(values[kLastVisitColumn], &date); 533 if (date != 0) 534 row.set_last_visit(base::Time::FromTimeT(date / 1000000));
|
/external/clang/docs/tools/ |
Makefile | 16 # up to date automatically as the documents are checked in. It must build 35 date > $@
|