/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...] |
/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 | 232 final Calendar today = Calendar.getInstance(); local 233 today.setTime(new Date()); 235 // Round the current time to the exact start of today so that when we compare 236 // today against the target date, both dates are set to exactly 0000H. 237 today.set(Calendar.HOUR_OF_DAY, 0); 238 today.set(Calendar.MINUTE, 0); 239 today.set(Calendar.SECOND, 0); 240 today.set(Calendar.MILLISECOND, 0); 248 // Convert from the UTC date to the local date. Set the year to today's year if the 250 anniversary.set(!isYearSet ? today.get(Calendar.YEAR) : targetYear [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();
|
/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 | 225 long today = now; local 232 assertEquals("Today", DateUtils.getRelativeTimeSpanString(today, now,
|
/external/chromium_org/chrome/browser/ui/website_settings/ |
website_settings.cc | 664 base::Time today = base::Time::Now().LocalMidnight(); local 666 visited_before_today = (first_visit_midnight < today);
|
/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) {
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
SimpleMonthView.java | 152 // If this view contains the today 156 // Which day is today [0-6] or -1 if no day is today 344 // Figure out what day today is 345 final Time today = new Time(Time.getCurrentTimezone()); local 346 today.setToNow(); 364 if (sameDay(day, today)) { 387 private boolean sameDay(int day, Time today) { 388 return mYear == today.year && 389 mMonth == today.month & [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/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);
|
/external/chromium_org/chrome/installer/gcapi/ |
gcapi.cc | 172 // Get today's date, and format it as YYYYMMDD numeric value. 173 DWORD today = FormatDateOffsetByMonths(0); local 183 value_data > today) { 190 // Set expiration date for offer as six months from today,
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
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...] |
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) );
|
/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 | 406 UDate today = 0.0; local 417 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */ 418 today = ucal_getMillis(ucal, &status); 421 if ( U_FAILURE(status) || today == 0.0 ) { 422 log_data_err("Generate UDate for a specified time today fails, error %s - (Are you missing data?)\n", myErrorName(status) ); 494 UDate dateToUse = today + (float)dayOffset*dayInterval; [all...] |
/external/chromium_org/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 | 126 UDate today = Calendar::getNow(); local 134 cal->setTime(today, status); 159 sdf->format(today,fmtOffset, pos); 713 UDate today = Calendar::getNow(); local 714 int32_t year,month,day,hour,min,sec; dateToFields(today,year,month,day,hour,min,sec); 716 logln((UnicodeString)"Test Date: " + dateToString(today)); 722 tryPattern(*sdf, today, 0, expected); 723 tryPattern(*sdf, today, "G yyyy DDD", expected); [all...] |
/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 71 UDate today = Calendar::getNow(); local 72 logln((UnicodeString) "today: " + today); 88 fmtd = sdf->format(today, fmtd, pos); 89 logln("today: " + fmtd); 93 todayS = sdf->format(today, todayS, pos); 94 logln("today: " + todayS); 96 today = sdf->parse(todayS, status); 98 logln((UnicodeString)"today date: " + today); [all...] |
dtfmttst.cpp | 256 UDate today = Calendar::getNow(); local 264 cal->setTime(today, status); 289 sdf->format(today,fmtOffset, pos); 854 UDate today = Calendar::getNow(); local 855 int32_t year,month,day,hour,min,sec; dateToFields(today,year,month,day,hour,min,sec); 857 logln((UnicodeString)"Test Date: " + dateToString(today)); 863 tryPattern(*sdf, today, 0, expected); 864 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/services/java/com/android/server/content/ |
SyncManager.java | 1645 int today = dses[0].day; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | 1648 DayOfMonthDrawable today; local [all...] |