/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/TV/tests/common/src/com/android/tv/testing/ |
Utils.java | 100 * Default seed of the random is today's date. 132 String today = dateFormat.format(new Date()); local 133 Log.d(TAG, "Today's random seed is " + today); 134 return Long.valueOf(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) {
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateUtilsTest.java | 207 long today = now; local 214 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/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 182 Date today = cal.getTime(); local 185 logln(sdf.format(today)); 187 logln(sdf.format(today)); 190 logln(sdf.format(today)); 193 logln(sdf.format(today)); 196 logln(sdf.format(today));
|
DateFormatRegressionTest.java | 56 Date today = cal.getTime(); local 57 logln("today: " + today); 63 fmtd = sdf.format(today, fmtd, pos); 64 logln("today: " + fmtd); 68 todayS = sdf.format(today, todayS, pos); 69 logln("today: " + todayS); 71 today = sdf.parse(todayS.toString()); 72 logln("today date: " + today); [all...] |
DateFormatTest.java | 225 Date today = new Date(); local 232 cal.setTime(today); 259 fmtOffset = sdf.format(today, fmtOffset, pos); 1725 Date today = cal.getTime(); local 3734 Date today = cal.getTime(); local 4451 Date today = new Date(); local [all...] |
/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 | 221 Date today = new Date(); local 228 cal.setTime(today); 255 fmtOffset = sdf.format(today, fmtOffset, pos); 1721 Date today = cal.getTime(); local 3730 Date today = cal.getTime(); local 4447 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; 1559 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);
|