/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...] |
/external/google-breakpad/src/client/windows/sender/ |
crash_report_sender.cc | 63 int today = GetCurrentDate(); local 64 if (today == last_sent_date_ && 76 ReportSent(today); 102 void CrashReportSender::ReportSent(int today) { 104 if (today != last_sent_date_) { 105 last_sent_date_ = today;
|
/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
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
DateUtils.java | 233 final Calendar today = Calendar.getInstance(); local 234 today.setTime(new Date()); 236 // Round the current time to the exact start of today so that when we compare 237 // today against the target date, both dates are set to exactly 0000H. 238 today.set(Calendar.HOUR_OF_DAY, 0); 239 today.set(Calendar.MINUTE, 0); 240 today.set(Calendar.SECOND, 0); 241 today.set(Calendar.MILLISECOND, 0); 249 // Convert from the UTC date to the local date. Set the year to today's year if the 251 anniversary.set(!isYearSet ? today.get(Calendar.YEAR) : targetYear [all...] |
/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) {
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateUtilsTest.java | 208 long today = now; local 215 assertEquals("Today", DateUtils.getRelativeTimeSpanString(today, now,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
BuildPreferencePage.java | 318 Date today = new Date(); local 319 if (certificate.getNotAfter().compareTo(today) < 0) { 324 if (certificate.getNotBefore().compareTo(today) > 0) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 178 Date today = cal.getTime(); local 181 logln(sdf.format(today)); 183 logln(sdf.format(today)); 186 logln(sdf.format(today)); 189 logln(sdf.format(today)); 192 logln(sdf.format(today));
|
DateFormatRegressionTest.java | 52 Date today = cal.getTime(); local 53 logln("today: " + today); 59 fmtd = sdf.format(today, fmtd, pos); 60 logln("today: " + fmtd); 64 todayS = sdf.format(today, todayS, pos); 65 logln("today: " + todayS); 67 today = sdf.parse(todayS.toString()); 68 logln("today date: " + today); [all...] |
DateFormatTest.java | 196 Date today = new Date(); local 203 cal.setTime(today); 230 fmtOffset = sdf.format(today, fmtOffset, pos); 1696 Date today = cal.getTime(); local 3701 Date today = cal.getTime(); local 4418 Date today = new Date(); local [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
LocaleData.java | 69 public String today; // "Today". field in class:LocaleData
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
KeyCheckPage.java | 227 Calendar today = Calendar.getInstance(); local 229 if (expirationCalendar.before(today)) { 248 int thisYear = today.get(Calendar.YEAR);
|
/external/icu/icu4c/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 the pattern is applied\n today: %s\n", austrdup(todayS) ); 104 log_verbose("today: %s\n", austrdup(rt) );
|
cdattst.c | 423 UDate today = 0.0; local 434 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */ 435 today = ucal_getMillis(ucal, &status); 438 if ( U_FAILURE(status) || today == 0.0 ) { 439 log_data_err("Generate UDate for a specified time today fails, error %s - (Are you missing data?)\n", myErrorName(status) ); 511 UDate dateToUse = today + (float)dayOffset*dayInterval; 1555 UDate yesterday, today = ucal_getNow(); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/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);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthView.java | 155 // If this view contains the today 159 // Which day is today [0-6] or -1 if no day is today 361 // Figure out what day today is 362 final Time today = new Time(Time.getCurrentTimezone()); local 363 today.setToNow(); 381 if (sameDay(day, today)) { 408 private boolean sameDay(int day, Time today) { 409 return mYear == today.year && 410 mMonth == today.month & [all...] |
/external/icu/icu4c/source/test/intltest/ |
dtfmrgts.cpp | 74 UDate today = Calendar::getNow(); local 75 logln((UnicodeString) "today: " + today); 92 fmtd = sdf->format(today, fmtd, pos); 93 logln("today: " + fmtd); 97 todayS = sdf->format(today, todayS, pos); 98 logln("today: " + todayS); 100 today = sdf->parse(todayS, status); 102 logln((UnicodeString)"today date: " + today); [all...] |
dtfmttst.cpp | 269 UDate today = Calendar::getNow(); local 277 cal->setTime(today, status); 302 sdf->format(today,fmtOffset, pos); 869 UDate today = Calendar::getNow(); local 870 int32_t year,month,day,hour,min,sec; dateToFields(today,year,month,day,hour,min,sec); 872 logln((UnicodeString)"Test Date: " + dateToString(today)); 878 tryPattern(*sdf, today, 0, expected); 879 tryPattern(*sdf, today, "G yyyy DDD", expected); [all...] |
/external/bison/ |
maint.mk | 141 today = $(shell date +%Y-%m-%d) macro 148 news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)' [all...] |
/frameworks/base/core/java/android/widget/ |
SimpleMonthView.java | 105 * The day of month for today, or -1 if the today is not in the current 555 // Figure out what day today is. 556 final Calendar today = Calendar.getInstance(); local 561 if (sameDay(day, today)) { 598 private boolean sameDay(int day, Calendar today) { 599 return mYear == today.get(Calendar.YEAR) && mMonth == today.get(Calendar.MONTH) 600 && day == today.get(Calendar.DAY_OF_MONTH);
|
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | 1648 DayOfMonthDrawable today; local [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncManager.java | 1952 int today = dses[0].day; local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
Controller.java | 279 Calendar today = Calendar.getInstance(); local 285 || lastActiveDate.after(today)); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant.jar | |