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

1 2 3 4

  /packages/apps/Settings/src/com/android/settings/fuelgauge/
Utils.java 42 int days = 0, hours = 0, minutes = 0; local
44 days = seconds / SECONDS_PER_DAY;
45 seconds -= days * SECONDS_PER_DAY;
55 if (days > 0) {
57 days, hours, minutes, seconds));
  /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
400 int days = daysInMonth(isLeapYear(fields[YEAR]), fields[MONTH]); local
401 if (fields[DATE] > days) {
465 long days = timeVal \/ 86400000; local
771 long days; local
907 long days = dayCount; local
929 long days = (year - 1970) * 365 + ((year - 1969) \/ 4); local
1175 long days = dayCount; local
1286 int days, day, mod, maxWeeks, newWeek; local
    [all...]
  /system/core/toolbox/
uptime.c 41 int seconds, minutes, hours, days; local
48 days = time / 24;
50 if (days > 0)
51 sprintf(buffer, "%d days, %02d:%02d:%02d", days, hours, minutes, seconds);
  /packages/apps/Calendar/src/com/android/calendar/
EventRecurrenceFormatter.java 37 StringBuilder days = new StringBuilder(); local
44 days.append(dayToString(recurrence.byday[i]));
45 days.append(",");
47 days.append(dayToString(recurrence.byday[count]));
49 return String.format(format, days.toString());
  /packages/apps/Email/src/com/android/exchange/utility/
Duration.java 28 public int days; field in class:Duration
44 days = 0;
96 days = n;
112 cal.add(Calendar.DAY_OF_MONTH, sign*days);
124 return factor * ((7*24*60*60*weeks) + (24*60*60*days) + (60*60*hours) + (60*minutes) +
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
Duration.java 25 * | DAYS [ HOURS [ MINUTES [ SECONDS ] ] ]
34 public int days; field in class:Duration
52 days = 0;
110 days = n;
129 cal.add(Calendar.DAY_OF_MONTH, sign*days);
142 + (24*60*60*days)
  /system/core/fastboot/
genkey.sh 16 -batch -days 10000
  /external/chromium/third_party/icu/source/i18n/
chnsecal.h 165 static double daysToMillis(double days);
168 virtual int32_t newMoonNear(double days, UBool after) const;
170 virtual int32_t majorSolarTerm(int32_t days) const;
173 virtual void computeChineseFields(int32_t days, int32_t gyear,
islamcal.cpp 192 * Return the day # on which the given year starts. Days are counted
204 * Return the day # on which the given month starts. Days are counted
313 * Return the length (in days) of the given month.
336 * Return the number of days in the given Islamic year
396 int32_t days = julianDay - 1948440; local
400 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 );
401 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 );
406 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH);
415 if ( days - startDate >= 28 && age > 0) {
422 while ((startDate = trueMonthStart(months)) > days) {
    [all...]
chnsecal.cpp 72 * Value to be added or subtracted from the local days of a new moon to
197 * Override Calendar method to return the number of days in the given
206 kEpochStartAsJulianDay + 1; // Julian day -> local days
231 computeChineseFields(julianDay - kEpochStartAsJulianDay, // local days
435 * Convert local days to UTC epoch milliseconds.
436 * @param days days after January 1, 1970 0:00 Asia/Shanghai
439 double ChineseCalendar::daysToMillis(double days) {
440 return (days * kOneDay) - CHINA_OFFSET;
444 * Convert UTC epoch milliseconds to local days
    [all...]
utmscale.c 20 #define days (hours * 24) macro
32 {days, INT64_C(693594), INT64_C(-11368793), INT64_C(9981605), U_INT64_MIN, U_INT64_MAX, INT64_C(693595), INT64_C(693593), INT64_C(432000000000), INT64_C(-9223371604854775808), INT64_C(9223371604854775807)},
33 {days, INT64_C(693594), INT64_C(-11368793), INT64_C(9981605), U_INT64_MIN, U_INT64_MAX, INT64_C(693595), INT64_C(693593), INT64_C(432000000000), INT64_C(-9223371604854775808), INT64_C(9223371604854775807)},
  /external/icu4c/i18n/
chnsecal.h 165 static double daysToMillis(double days);
168 virtual int32_t newMoonNear(double days, UBool after) const;
170 virtual int32_t majorSolarTerm(int32_t days) const;
173 virtual void computeChineseFields(int32_t days, int32_t gyear,
islamcal.cpp 192 * Return the day # on which the given year starts. Days are counted
204 * Return the day # on which the given month starts. Days are counted
313 * Return the length (in days) of the given month.
336 * Return the number of days in the given Islamic year
396 int32_t days = julianDay - 1948440; local
400 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 );
401 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 );
406 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH);
415 if ( days - startDate >= 25 && age > 0) {
422 while ((startDate = trueMonthStart(months)) > days) {
    [all...]
chnsecal.cpp 72 * Value to be added or subtracted from the local days of a new moon to
197 * Override Calendar method to return the number of days in the given
206 kEpochStartAsJulianDay + 1; // Julian day -> local days
231 computeChineseFields(julianDay - kEpochStartAsJulianDay, // local days
435 * Convert local days to UTC epoch milliseconds.
436 * @param days days after January 1, 1970 0:00 Asia/Shanghai
439 double ChineseCalendar::daysToMillis(double days) {
440 return (days * kOneDay) - CHINA_OFFSET;
444 * Convert UTC epoch milliseconds to local days
    [all...]
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DurationTest.java 26 int sign, int weeks, int days, int hours,
34 assertEquals("Duration days is not equal for " + str, days, duration.days);
  /bionic/libc/netbsd/nameser/
ns_ttl.c 57 int secs, mins, hours, days, weeks, x; local
63 days = src % 7; src /= 7;
71 if (days) {
72 T(fmt1(days, 'D', &dst, &dstlen));
83 if (secs || !(weeks || days || hours || mins)) {
  /external/icu4c/samples/cal/
cal.c 58 UChar *days [], UBool useLongNames,
61 static void free_days(UChar *days[]);
71 static void print_days(UChar *days [], FILE *f, UErrorCode *status);
74 UChar *days [],
79 UChar *days [], UChar *months [],
86 /* Number of days in a week */
232 UChar *days [DAY_COUNT]; local
253 print_year(c, days, months, useLongNames, fdow, status);
269 print_month(c, days, useLongNames, fdow, status);
329 form. Also, reorder the days so that they are in the proper orde
    [all...]
  /external/openssl/android.testssl/
testssl.sh 61 $x509cmd -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey -extfile $CAconf -extensions v3_ca
69 $x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -extfile $Uconf -extensions v3_ee
  /external/openssl/patches/
testssl.sh 61 $x509cmd -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey -extfile $CAconf -extensions v3_ca
69 $x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -extfile $Uconf -extensions v3_ee
  /external/openssl/crypto/x509/
x509_r2x.c 68 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey)
99 if (X509_gmtime_adj(xi->validity->notAfter,(long)60*60*24*days) == NULL)
  /libcore/luni/src/main/java/javax/xml/datatype/
DatatypeFactory.java 193 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
204 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
217 * @param days of this <code>Duration</code>
231 final BigInteger days,
238 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
246 * @param days of this <code>Duration</code>
259 * BigInteger days,
268 final int days,
279 // days may not be set
280 BigInteger realDays = (days != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) days) : null
410 long days = val \/ 24L; local
428 BigInteger days = BigInteger.valueOf(val); local
    [all...]
  /build/tools/signapk/test/
run 22 umask 0077 && openssl req -new -x509 -key $@.pk -out $@ -days 1095 \
  /external/tcpdump/
print-chdlc.c 149 u_int sec,min,hrs,days; local
188 days = hrs / 24; hrs -= days * 24;
189 printf(", link uptime=%ud%uh%um%us",days,hrs,min,sec);
  /packages/apps/DeskClock/src/com/android/deskclock/
Alarm.java 90 * Days of week coded as integer
231 * Days of week code as a single int.
253 // Bitmask of all repeating days
256 DaysOfWeek(int days) {
257 mDays = days;
263 // no days
274 // count selected days
275 int dayCount = 0, days = mDays; local
276 while (days > 0) {
277 if ((days & 1) == 1) dayCount++
    [all...]
  /frameworks/base/core/java/android/util/
TimeUtils.java 135 /** @hide Field length that can hold 999 days of time */
210 int days = 0, hours = 0, minutes = 0; local
213 days = seconds / SECONDS_PER_DAY;
214 seconds -= days * SECONDS_PER_DAY;
228 int myLen = accumField(days, 1, false, 0);
245 pos = printField(formatStr, days, 'd', pos, false, 0);

Completed in 1198 milliseconds

1 2 3 4