/external/webkit/WebKitTools/Scripts/ |
roll-over-ChangeLogs | 34 date_suffix = Date.today.strftime("-%Y-%m-%d")
|
validate-committer-lists | 214 committer_cuttof = date.today() - timedelta(days=365)
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
Hints.java | 130 // If the user has used voice today, we'll return false. (We don't show the hint on 141 * Determines whether the provided time is from some time today (i.e., this day, month, 147 Calendar today = Calendar.getInstance(); 148 today.setTimeInMillis(System.currentTimeMillis()); 153 return (today.get(Calendar.YEAR) == timestamp.get(Calendar.YEAR) && 154 today.get(Calendar.DAY_OF_MONTH) == timestamp.get(Calendar.DAY_OF_MONTH) && 155 today.get(Calendar.MONTH) == timestamp.get(Calendar.MONTH)); 164 // If this is the first time the hint is being shown today, increase the saved values
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
WordWidget.java | 53 // Build the widget update for today 84 Time today = new Time(); local 85 today.setToNow(); 87 // Build the page title for today, such as "March 21" 89 monthNames[today.month], today.monthDay); 93 // Try querying the Wiktionary API for today's word
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
WordWidget.java | 54 // Build the widget update for today 73 Time today = new Time(); local 74 today.setToNow(); 76 // Build today's page title, like "Wiktionary:Word of the day/March 21" 78 monthNames[today.month], today.monthDay); 83 // Try querying the Wiktionary API for today's word
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
regress-216320.js | 88 today=new Date(); 89 tdy=today.getDate(); 90 tmn=today.getMonth()+1; 91 if(today.getYear()<2000)tyr=today.getYear()+1900; 92 else tyr=today.getYear(); 121 today=new Date(); 122 tdy=today.getDate(); 123 tmn=today.getMonth()+1; 124 if(today.getYear()<2000)tyr=today.getYear()+1900 [all...] |
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadAdapter.java | 129 Calendar today = new GregorianCalendar(); local 130 today.set(Calendar.HOUR_OF_DAY, 0); 131 today.set(Calendar.MINUTE, 0); 132 today.set(Calendar.SECOND, 0); 133 today.set(Calendar.MILLISECOND, 0); 134 return today.getTime();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
BuildPreferencePage.java | 139 Date today = new Date(); local 140 if (certificate.getNotAfter().compareTo(today) < 0) { 145 if (certificate.getNotBefore().compareTo(today) > 0) {
|
/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 27 * Today 56 mBins[0] = c.getTimeInMillis(); // Today 61 c.add(Calendar.DAY_OF_YEAR, NUM_DAYS_AGO); // move back to today 66 mLabels[0] = context.getText(com.android.internal.R.string.today).toString();
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Alarm.java | 333 * returns number of days from today until next alarm 334 * @param c must be set to today 341 int today = (c.get(Calendar.DAY_OF_WEEK) + 5) % 7; local 346 day = (today + dayCount) % 7;
|
DeskClock.java | 621 Calendar today = Calendar.getInstance(); local 622 today.set(Calendar.HOUR_OF_DAY, 0); 623 today.set(Calendar.MINUTE, 0); 624 today.set(Calendar.SECOND, 0); 625 today.add(Calendar.DATE, 1); 626 long alarmTimeUTC = today.getTimeInMillis(); [all...] |
/libcore/luni/src/test/java/tests/api/java/io/ |
ObjectStreamFieldTest.java | 415 assertEquals(SerializableObject2.today, getField.get("d", null)); 519 public static Date today = new Date(1172632429156l); field in class:SerializableObject2 528 putField.put("d", today);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
KeyCheckPage.java | 232 Calendar today = Calendar.getInstance(); local 234 if (expirationCalendar.before(today)) { 253 int thisYear = today.get(Calendar.YEAR);
|
/development/testrunner/ |
create_test.py | 110 "YEAR":datetime.date.today().year}
|
/packages/apps/Email/src/com/android/email/ |
Utility.java | 245 * Returns true if the specified date is within today. Returns false otherwise. 251 Date today = new Date(); local 252 if (date.getYear() == today.getYear() && 253 date.getMonth() == today.getMonth() && 254 date.getDate() == today.getDate()) {
|
/external/chromium/third_party/icu/source/test/intltest/ |
dtfmrgts.cpp | 69 UDate today = Calendar::getNow(); local 70 logln((UnicodeString) "today: " + today); 86 fmtd = sdf->format(today, fmtd, pos); 87 logln("today: " + fmtd); 91 todayS = sdf->format(today, todayS, pos); 92 logln("today: " + todayS); 94 today = sdf->parse(todayS, status); 96 logln((UnicodeString)"today date: " + today); [all...] |
dtfmttst.cpp | 124 UDate today = Calendar::getNow(); local 132 cal->setTime(today, status); 157 sdf->format(today,fmtOffset, pos); 671 UDate today = Calendar::getNow(); local 672 int32_t year,month,day,hour,min,sec; dateToFields(today,year,month,day,hour,min,sec); 674 logln((UnicodeString)"Test Date: " + dateToString(today)); 680 tryPattern(*sdf, today, 0, expected); 681 tryPattern(*sdf, today, "G yyyy DDD", expected); [all...] |
/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 69 UDate today = Calendar::getNow(); local 70 logln((UnicodeString) "today: " + today); 86 fmtd = sdf->format(today, fmtd, pos); 87 logln("today: " + fmtd); 91 todayS = sdf->format(today, todayS, pos); 92 logln("today: " + todayS); 94 today = sdf->parse(todayS, status); 96 logln((UnicodeString)"today date: " + today); [all...] |
dtfmttst.cpp | 124 UDate today = Calendar::getNow(); local 132 cal->setTime(today, status); 157 sdf->format(today,fmtOffset, pos); 710 UDate today = Calendar::getNow(); local 711 int32_t year,month,day,hour,min,sec; dateToFields(today,year,month,day,hour,min,sec); 713 logln((UnicodeString)"Test Date: " + dateToString(today)); 719 tryPattern(*sdf, today, 0, expected); 720 tryPattern(*sdf, today, "G yyyy DDD", expected); [all...] |
/build/core/ |
cleanspec.mk | 49 # made today requires touching the same file, just copy the old
|
/external/chromium/third_party/icu/source/test/cintltst/ |
cdtrgtst.c | 55 UDate today, d1; local 61 today = ucal_getNow(); 82 fmdt = myFormatit(df, today); 84 log_verbose("today: %s\n", austrdup(fmdt)); 94 todayS =myFormatit(df, today); 95 log_verbose("After teh pattern is applied\n today: %s\n", austrdup(todayS) ); 104 log_verbose("today: %s\n", austrdup(rt) );
|
cdattst.c | 398 UDate today = 0.0; local 409 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */ 410 today = ucal_getMillis(ucal, &status); 413 if ( U_FAILURE(status) || today == 0.0 ) { 414 log_err("Generate UDate for a specified time today fails, error %s\n", myErrorName(status) ); 486 UDate dateToUse = today + (float)dayOffset*dayInterval; [all...] |
/external/icu4c/test/cintltst/ |
cdtrgtst.c | 55 UDate today, d1; local 61 today = ucal_getNow(); 82 fmdt = myFormatit(df, today); 84 log_verbose("today: %s\n", austrdup(fmdt)); 94 todayS =myFormatit(df, today); 95 log_verbose("After teh pattern is applied\n today: %s\n", austrdup(todayS) ); 104 log_verbose("today: %s\n", austrdup(rt) );
|
cdattst.c | 398 UDate today = 0.0; local 409 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */ 410 today = ucal_getMillis(ucal, &status); 413 if ( U_FAILURE(status) || today == 0.0 ) { 414 log_data_err("Generate UDate for a specified time today fails, error %s - (Are you missing data?)\n", myErrorName(status) ); 486 UDate dateToUse = today + (float)dayOffset*dayInterval; [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 584 * today this function returns "Today", if the day was a week ago it returns "7 days ago", and 589 * @param today the current time in UTC milliseconds 592 private static final String getRelativeDayString(Resources r, long day, long today) { 596 currentTime.set(today); 599 int currentDay = Time.getJulianDay(today, currentTime.gmtoff); 602 boolean past = (today > day); 611 return r.getString(com.android.internal.R.string.today); [all...] |