HomeSort by relevance Sort by last modified time
    Searched refs:today (Results 1 - 25 of 47) sorted by null

1 2

  /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...]
  /packages/apps/Contacts/src/com/android/contacts/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...]
  /external/webkit/Tools/Scripts/
roll-over-ChangeLogs 34 date_suffix = Date.today.strftime("-%Y-%m-%d")
  /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();
  /external/skia/tools/copyright/
fileparser.py 61 DEFAULT_YEAR = datetime.date.today().year
  /libcore/luni/src/test/java/libcore/icu/
LocaleDataTest.java 52 assertEquals("Today", l.today);
60 assertEquals("Heute", l.today);
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertUtils.java 147 * 2) No date for today
156 int today = Time.getJulianDay(time.toMillis(false), time.gmtoff);
170 if (eventDay < today || eventDay > today + 1) {
185 if (eventDay == today + 1) {
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
SimpleMonthView.java 153 // If this view contains the today
157 // Which day is today [0-6] or -1 if no day is today
346 // Figure out what day today is
347 final Time today = new Time(Time.getCurrentTimezone()); local
348 today.setToNow();
366 if (sameDay(day, today)) {
389 private boolean sameDay(int day, Time today) {
390 return mYear == today.year &&
391 mMonth == today.month &
    [all...]
  /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/preferences/
BuildPreferencePage.java 318 Date today = new Date(); local
319 if (certificate.getNotAfter().compareTo(today) < 0) {
324 if (certificate.getNotBefore().compareTo(today) > 0) {
  /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/webkit/Tools/wx/packaging/
build-win-installer.py 68 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;
  /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}
  /libcore/luni/src/main/java/libcore/icu/
LocaleData.java 69 public String today; // "Today". field in class:LocaleData
  /external/chromium/chrome/browser/
page_info_model.cc 308 base::Time today = base::Time::Now().LocalMidnight();
310 visited_before_today = (first_visit_midnight < today);
  /frameworks/base/core/java/android/text/format/
DateUtils.java 458 * today this function returns "Today", if the day was a week ago it returns "7 days ago", and
463 * @param today the current time in UTC milliseconds
465 private static final String getRelativeDayString(Resources r, long day, long today) {
477 currentTime.set(today);
478 int currentDay = Time.getJulianDay(today, currentTime.gmtoff);
481 boolean past = (today > day);
483 // TODO: some locales name other days too, such as de_DE's "Vorgestern" (today - 2).
491 return LocaleData.get(locale).today;
635 * @return true if the supplied when is today else fals
    [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...]
  /build/core/
cleanspec.mk 49 # made today requires touching the same file, just copy the old
  /cts/tests/tests/text/src/android/text/format/cts/
DateUtilsTest.java 290 long today = now; local
297 assertEquals("Today", DateUtils.getRelativeTimeSpanString(today, now,
  /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) );

Completed in 982 milliseconds

1 2