/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/cldr/ |
TestCLDRVsICU.java | 19 import java.util.Date; 297 // ============ Statics for Date/Number Support ============ 428 addHandler("date", new Handler() { 432 Date date = new Date(); 452 date = iso.parse(attributeValue); 470 String temp = dt.format(date).trim(); 485 logln("Getting date/time format for " + locale); 512 String date = "" [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/ |
TestCLDRVsICU.java | 18 import java.util.Date; 293 // ============ Statics for Date/Number Support ============ 424 addHandler("date", new Handler() { 428 Date date = new Date(); 448 date = iso.parse(attributeValue); 466 String temp = dt.format(date).trim(); 481 logln("Getting date/time format for " + locale); 508 String date = "" [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLSelector2Test.java | 28 import java.util.Date; 279 * setDateAndTime(Date dateAndTime) method testing. Tests if CRLs with any 285 TestCRL crl = new TestCRL(new Date(200), new Date(300)); 289 selector.setDateAndTime(new Date(200)); 292 selector.setDateAndTime(new Date(250)); 295 selector.setDateAndTime(new Date(300)); 298 selector.setDateAndTime(new Date(150)); 301 selector.setDateAndTime(new Date(350)); 418 Date date = new Date(200) local 465 Date date = new Date(200); local 491 Date date = new Date(200); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessageMime.java | 23 import java.util.Date; 140 private long date = INVALID_VALUE; field in class:BluetoothMapbMessageMime 194 Date dateObj = new Date(date); 198 return date; 200 public void setDate(long date) { 201 this.date = date; 363 if (date != INVALID_VALUE [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
PhoneCallDetailsHelperTest.java | 49 /** The date of the call log entry. */ 148 // Voicemail date string has 3 different formats depending on how long ago the call was placed 386 /** Asserts that the location and date text field contains the given string value. */ 391 /** Asserts that the location and date text field exactly equals the given string value. */ 420 /** Asserts that the duration is exactly as included in the location and date text field. */ 505 /** Sets the phone call details with default values and the given date. */ 506 private void setPhoneCallDetailsWithDate(long date) { 508 details.date = date; 512 private void setVoicemailPhoneCallDetailsWithDate(long date) { [all...] |
/external/webrtc/webrtc/base/ |
httpclient.cc | 102 time_t date; local 104 || !HttpDateToSeconds(s_temp, &date)) 108 time_t request_time = date; 109 time_t response_time = date; 112 if (response_time > date) { 113 apparent_age = response_time - date; 135 lifetime = u_temp - date; 168 time_t last_modified, date; local 171 && HttpDateToSeconds(value, &date) 172 && (last_modified + 60 < date)) { [all...] |
/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); 230 if (date == NULL) 233 &weekday_str[date->tm_wday * 4], date->tm_mday, 234 &month_str[date->tm_mon * 4], date->tm_year + 1900, 235 date->tm_hour, date->tm_min, date->tm_sec) [all...] |
/build/tools/droiddoc/templates-pdk/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(); 491 var date = new Date(); 492 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // keep this for 10 years 493 writeCookie("nav", nav_pref, "reference", date.toGMTString()) [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
AfeUtils.java | 438 String date = ""; local 440 date = dateValue.isString().stringValue(); 441 date = date.substring(0, date.length() - 3); 443 row.put(targetFieldName, new JSONString(date));
|
/external/bison/ |
cfg.mk | 18 # up-to-date, then compile our parser again with our up-to-date bison. 51 # this release. Used solely to get a date for the "announcement" target.
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/emr/ |
test_connection.py | 125 date = datetime.now() 126 response = self.service_connection.list_clusters(created_before=date) 130 'CreatedBefore': date.strftime(boto.utils.ISO8601), 137 date = datetime.now() 138 response = self.service_connection.list_clusters(created_after=date) 142 'CreatedAfter': date.strftime(boto.utils.ISO8601), [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/icu/android_icu4j/src/main/java/android/icu/text/ |
SimpleDateFormat.java | 20 import java.util.Date; 50 * (date -> text), parsing (text -> date), and normalization. 54 * any user-defined patterns for date-time formatting. However, you 55 * are encouraged to create a date-time formatter with either 58 * of these class methods can return a date/time formatter initialized 64 * <p><strong>Date and Time Patterns:</strong></p> 66 * <p>Date and time formats are specified by <em>date and time pattern</em> strings. 67 * Within date and time pattern strings, all unquoted ASCII letters [A-Za-z] are reserve 1515 long date = cal.getTimeInMillis(); local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
IslamicCalendar.java | 11 import java.util.Date; 237 * Constructs an <code>IslamicCalendar</code> with the given date set 240 * @param date The date to which the new calendar is set. 243 public IslamicCalendar(Date date) { 245 this.setTime(date); 249 * Constructs an <code>IslamicCalendar</code> with the given date set 255 * @param date the value used to set the {@link #DATE DATE} time field in the calendar [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
ChineseTest.java | 8 import java.util.Date; 105 Date date = grego.getTime(); local 106 cal.setTime(date); 116 buf.append(date + " -> "); 129 Date dexp = grego.getTime(); 139 Date date = cal.getTime(); local 143 buf.append(" -> " + date); 144 if (date.equals(dexp)) [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
calendar.h | 11 * Date Name Description 76 * time fields have been initialized with the current date and time: 85 * needed to implement the date-time formatting for a particular language 100 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc. 131 * many US locations observe daylight saving time. On the date switching to daylight 134 * the date. When the input wall time fall into this missing time slot, the ICU 139 * <p>On the date switching back to standard time, wall clock time is moved back one 142 * by default. For example, 1:30 AM on the date is resolved as 1:30 AM standard time. 168 * The date or time format strings are not part of the definition of a 176 * month up in the date <code>December 12, <b>1996</b></code> results i [all...] |
/external/icu/icu4c/source/test/intltest/ |
dtifmtts.cpp | 282 dataerrln("ERROR: format non-date-interval object should set U_ILLEGAL_ARGUMENT_ERROR - exitting"); 293 dataerrln("ERROR: format date interval failed - exitting"); 305 dataerrln("ERROR: format date interval failed - exitting"); 401 // first item is date pattern 414 // test skeleton with both date and time 1073 UDate date = ref.parse(ctou(datestr), ec); local 1282 UDate date = ref.parse(ctou(datestr), ec); local 1444 UDate date = ref.parse(ctou(datestr), ec); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
SimpleDateFormat.java | 19 import java.util.Date; 49 * (date -> text), parsing (text -> date), and normalization. 53 * any user-defined patterns for date-time formatting. However, you 54 * are encouraged to create a date-time formatter with either 57 * of these class methods can return a date/time formatter initialized 63 * <p><strong>Date and Time Patterns:</strong></p> 65 * <p>Date and time formats are specified by <em>date and time pattern</em> strings. 66 * Within date and time pattern strings, all unquoted ASCII letters [A-Za-z] are reserve 1525 long date = cal.getTimeInMillis(); local [all...] |