/external/openssh/ |
auth-shadow.c | 58 time_t today; local 62 today = time(NULL) / DAY; 63 daysleft = spw->sp_expire - today; 64 debug3("%s: today %d sp_expire %d days left %d", __func__, (int)today, 93 time_t today; local 101 today = time(NULL) / DAY; 102 debug3("%s: today %d sp_lstchg %d sp_max %d", __func__, (int)today, 121 daysleft = spw->sp_lstchg + spw->sp_max - today; [all...] |
/libcore/luni/src/test/java/libcore/icu/ |
LocaleDataTest.java | 26 System.err.println(l + " : " + d.yesterday + " " + d.today + " " + d.tomorrow); 52 assertEquals("Today", l.today); 60 assertEquals("Heute", l.today);
|
/external/webkit/Tools/Scripts/ |
roll-over-ChangeLogs | 34 date_suffix = Date.today.strftime("-%Y-%m-%d")
|
validate-committer-lists | 214 committer_cuttof = date.today() - timedelta(days=365)
|
/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/Source/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 | 134 Calendar today = new GregorianCalendar(); local 135 today.set(Calendar.HOUR_OF_DAY, 0); 136 today.set(Calendar.MINUTE, 0); 137 today.set(Calendar.SECOND, 0); 138 today.set(Calendar.MILLISECOND, 0); 139 return today.getTime();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
BuildPreferencePage.java | 144 Date today = new Date(); local 145 if (certificate.getNotAfter().compareTo(today) < 0) { 150 if (certificate.getNotBefore().compareTo(today) > 0) {
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertUtils.java | 146 * 2) No date for today 155 int today = Time.getJulianDay(time.toMillis(false), time.gmtoff); 169 if (eventDay < today || eventDay > today + 1) { 184 if (eventDay == today + 1) {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ObjectStreamFieldTest.java | 216 assertEquals(SerializableObject2.today, getField.get("d", null)); 329 public static Date today = new Date(1172632429156l); field in class:SerializableObject2 338 putField.put("d", today);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
KeyCheckPage.java | 219 Calendar today = Calendar.getInstance(); local 221 if (expirationCalendar.before(today)) { 240 int thisYear = today.get(Calendar.YEAR);
|
/external/webkit/Tools/wx/packaging/ |
build-win-installer.py | 68 date = str(datetime.date.today())
|
build-mac-installer.py | 52 date = str(datetime.date.today())
|
/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 30 * Today 59 mBins[0] = c.getTimeInMillis(); // Today 64 c.add(Calendar.DAY_OF_YEAR, NUM_DAYS_AGO); // move back to today 74 mLabels[0] = localeData.today;
|
/libcore/luni/src/main/java/libcore/icu/ |
LocaleData.java | 69 public String today; // "Today". field in class:LocaleData
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeekView.java | 141 // If this view contains the today 145 // Which day is today [0-6] or -1 if no day is today 157 // The timezone to display times/dates in (used for determining when Today 276 // Figure out what day today is 277 Time today = new Time(tz); local 278 today.setToNow(); 296 if (time.year == today.year && time.yearDay == today.yearDay) {
|
/development/testrunner/ |
create_test.py | 110 "YEAR":datetime.date.today().year}
|
/external/chromium/chrome/browser/ |
page_info_model.cc | 308 base::Time today = base::Time::Now().LocalMidnight(); 310 visited_before_today = (first_visit_midnight < today);
|
/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 | 135 UDate today = Calendar::getNow(); local 143 cal->setTime(today, status); 168 sdf->format(today,fmtOffset, pos); 722 UDate today = Calendar::getNow(); local 723 int32_t year,month,day,hour,min,sec; dateToFields(today,year,month,day,hour,min,sec); 725 logln((UnicodeString)"Test Date: " + dateToString(today)); 731 tryPattern(*sdf, today, 0, expected); 732 tryPattern(*sdf, today, "G yyyy DDD", expected); [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | 1441 DayOfMonthDrawable today; local [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) );
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 534 * today this function returns "Today", if the day was a week ago it returns "7 days ago", and 539 * @param today the current time in UTC milliseconds 542 private static final String getRelativeDayString(Resources r, long day, long today) { 546 currentTime.set(today); 549 int currentDay = Time.getJulianDay(today, currentTime.gmtoff); 552 boolean past = (today > day); 554 // TODO: some locales name other days too, such as de_DE's "Vorgestern" (today - 2). 566 return LocaleData.get(locale).today; 759 * @return true if the supplied when is today else fals [all...] |
/build/core/ |
cleanspec.mk | 49 # made today requires touching the same file, just copy the old
|