/external/icu4c/i18n/ |
gregocal.cpp | 555 // Add 2 because Gregorian calendar starts 2 days after 666 int32_t days = internalGet(UCAL_DAY_OF_YEAR); local 667 if (days < 1 || days > yearLength()) { 723 // Add 2 because Gregorian calendar starts 2 days after Julian calendar 830 int32_t cMonthLen=0; // 'c' for cutover; in days 847 // A month containing the cutover is 10 days shorter. [all...] |
olsontz.cpp | 439 double days = ClockMath::floorDivide(((double)ms), (double)U_MILLIS_PER_DAY, millis); local 441 Grego::dayToFields(days, year, month, dom, dow); [all...] |
calendar.cpp | 1315 int32_t days = (int32_t)ClockMath::floorDivide(localMillis, (double)kOneDay); local [all...] |
vtzone.cpp | 376 * domCount number of availble days in dom (domCount is specifying the size of dom on input) 479 // Note: BYMONTHDAY may contain multiple days delimitted by comma 539 int32_t days[7]; local 540 int32_t daysCount = sizeof(days)/sizeof(days[0]); 543 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); 553 // Only support the rule using 7 continuous days 562 if (days[i] < 0) { 563 days[i] = MONTHLENGTH[month] + days[i] + 1 [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
DatePrototype.cpp | 343 // Format of member function: f([years,] [months,] [days]) 366 // days 368 double days = exec->argument(idx++).toIntegerPreserveNaN(exec); local 369 ok = isfinite(days); 371 *ms += days * msPerDay; [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
LocalizedStringsGtk.cpp | 536 int days = seconds / (60 * 60 * 24); local 541 if (days) { 542 GOwnPtr<gchar> string(g_strdup_printf("%d days %d hours %d minutes %d seconds", days, hours, minutes, seconds));
|
/libcore/luni/src/main/java/java/text/ |
SimpleDateFormat.java | 706 String[] days; local 709 days = standAlone ? ld.longStandAloneWeekdayNames : formatData.weekdays; 711 days = standAlone ? ld.tinyStandAloneWeekdayNames : formatData.localeData.tinyWeekdayNames; 713 days = standAlone ? ld.shortStandAloneWeekdayNames : formatData.shortWeekdays; 715 buffer.append(days[calendar.get(Calendar.DAY_OF_WEEK)]); [all...] |
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 67 * {@code getMinimalDaysInFirstWeek()} days from that year. It thus 81 * days of 1998 then are part of week 53 of 1997. 85 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 88 * contiguous days in that month, ending on the day before 90 * month may be shorter than 7 days, need not start on 91 * {@code getFirstDayOfWeek()}, and will not include days of the 92 * previous month. Days of a month before week 1 have a 98 * January 1998 is Sunday, January 4 through Saturday, January 10. These days 390 int days = daysInMonth(isLeapYear(fields[YEAR]), fields[MONTH]); local 391 if (fields[DATE] > days) { 463 long days = timeVal \/ 86400000; local 654 long days; local 790 long days = dayCount; local 810 long days = (year - 1970) * 365 + ((year - 1969) \/ 4); local 1026 long days = dayCount; local 1119 int days, day, mod, maxWeeks, newWeek; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
SetAlarm.java | 349 * format "Alarm set for 2 days 7 hours and 53 minutes from 356 long days = hours / 24; local 359 String daySeq = (days == 0) ? "" : 360 (days == 1) ? context.getString(R.string.day) : 361 context.getString(R.string.days, Long.toString(days)); 371 boolean dispDays = days > 0;
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarSyncTestingBase.java | 316 long days = 1; local 318 days = (mDtend - mDtstart) / DateUtils.DAY_IN_MILLIS; 320 mDuration = "P" + days + "D";
|
/external/chromium/chrome/browser/extensions/ |
extension_updater.cc | 64 static const int kMaxUpdateFrequencySeconds = 60 * 60 * 24 * 7; // 7 days 86 // looks like r=DAYS or a=DAYS for extensions in the Chrome extensions gallery. 89 // the number of days since the last time it was present in an update check. 179 // When we've computed a days value, we want to make sure we don't send a 183 static int SanitizeDays(int days) { 184 if (days < 0) 186 return days; 189 // Calculates the value to use for the ping days parameter. 191 int days = ManifestFetchData::kNeverPinged local 527 int days = (now - last).InDays(); local [all...] |
/external/openssl/apps/ |
req.c | 162 int ex=1,x509=0,days=30; local 365 else if (strcmp(*argv,"-days") == 0) 368 days= atoi(*(++argv)); 369 if (days == 0) days=30; 440 BIO_printf(bio_err," -days number of days a certificate generated by -x509 is valid for.\n"); 850 if (!X509_time_adj_ex(X509_get_notAfter(x509ss), days, 0, NULL)) goto end; [all...] |
x509.c | 130 " -days arg - How long till expiry of a signed certificate - def 30 days\n", 157 static int sign (X509 *x, EVP_PKEY *pkey,int days,int clrext, const EVP_MD *digest, 162 char *serial, int create ,int days, int clrext, 197 int x509req=0,days=DEF_DAYS,modulus=0,pubkey=0; local 285 else if (strcmp(*argv,"-days") == 0) 288 days=atoi(*(++argv)); 289 if (days == 0) 291 BIO_printf(bio_err,"bad number of days\n"); 655 X509_time_adj_ex(X509_get_notAfter(x),days, 0, NULL) local [all...] |
ca.c | 155 " -crldays days - Days is when the next CRL is due\n", 158 " -enddate YYMMDDHHMMSSZ - certificate validity notAfter (overrides -days)\n", 159 " -days arg - number of days to certify the certificate for\n", 203 char *enddate, long days, int batch, char *ext_sect, CONF *conf, 210 char *startdate, char *enddate, long days, int batch, 218 char *startdate, char *enddate, long days, char *ext_sect, 225 int email_dn, char *startdate, char *enddate, long days, int batch, 295 long days=0 local 2046 X509_time_adj_ex(X509_get_notAfter(ret),days, 0, NULL); local [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
DateMath.cpp | 492 double days = (day - 32075) local 497 return ((days * hoursPerDay + hour) * minutesPerHour + minute) * secondsPerMinute + second; [all...] |
/external/webkit/Source/WebCore/platform/ |
DefaultLocalizationStrategy.cpp | 849 int days = seconds / (60 * 60 * 24); local 854 if (days) 855 return formatLocalizedString(WEB_UI_STRING("%1$d days %2$d hours %3$d minutes %4$d seconds", "accessibility help text for media controller time value >= 1 day"), days, hours, minutes, seconds); [all...] |
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
WebPlatformStrategies.cpp | 658 int days = seconds / (60 * 60 * 24); local 663 if (days) 664 return QCoreApplication::translate("QWebPage", "%1 days %2 hours %3 minutes %4 seconds", "Media time description").arg(days).arg(hours).arg(minutes).arg(seconds);
|
/external/webkit/Source/WebKit/wince/WebCoreSupport/ |
PlatformStrategiesWinCE.cpp | 617 int days = seconds / (60 * 60 * 24); local 622 if (days) 623 return String::format(UI_STRING("%1$d days %2$d hours %3$d minutes %4$d seconds", "accessibility help text for media controller time value >= 1 day"), days, hours, minutes, seconds);
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 36 * elapsed time and date ranges, strings for days of the week and months, and AM/PM text etc. 51 * This constant is actually the length of 364 days, not of a year! 423 * For example, will transition from "6 days ago" to "Dec 12" 458 * today this function returns "Today", if the day was a week ago it returns "7 days ago", and 459 * if the day is in 2 weeks it returns "in 14 days". 480 int days = Math.abs(currentDay - startDay); local 483 // TODO: some locales name other days too, such as de_DE's "Vorgestern" (today - 2). 484 if (days == 1) { 490 } else if (days == 0) { 501 String format = r.getQuantityString(resId, days); [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 479 Log.i(TAG, "generated days list"); 486 * Fill in a bit set containing the days of the month on which this 496 int days = 0; local 538 days |= 1 << j; 549 days |= 1 << j; 565 days |= 1 << j; 583 days |= 1 << v; 587 days |= 1 << j; 596 if ((days&(1<<j)) != 0) { 602 days &= ~(1<<j) 762 DaySet days = mDays; local 1167 int days = month > 1 ? yearLength(year) : yearLength(year - 1); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
DeviceAdminSample.java | 898 long days = time \/ MS_PER_DAY; local [all...] |
/external/icu4c/test/cintltst/ |
ccaltst.c | 422 /*setting minimal days of the week to other values */ 1674 const TestDaysOfWeek * days; member in struct:__anon8764 [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventHelper.java | 920 long days = (end - start + DateUtils.DAY_IN_MILLIS - 1) local 984 int[] days = new int[1]; local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | 2652 int days = (seconds + DAY_IN_SECONDS - 1) \/ DAY_IN_SECONDS; local [all...] |
/external/icu4c/test/intltest/ |
calregts.cpp | 2059 UDate days = ONE_DAY; local [all...] |