/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
datedata.h | 11 static int days[] = { variable
|
/external/toybox/toys/other/ |
uptime.c | 28 unsigned int days, hours, minutes; local 49 days = info.uptime/24; 50 if (days) xprintf("%d day%s, ", days, (days!=1)?"s":"");
|
/cts/libs/vogar-expect/src/vogar/util/ |
TimeUtilities.java | 87 long days = duration; local 90 if (days != 0) { 91 result.append(days);
|
/external/icu/icu4c/source/i18n/ |
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)},
|
islamcal.cpp | 279 // a month as having 31 days. Since date parsing now uses range checks based 365 * Return the day # on which the given year starts. Days are counted 385 * Return the day # on which the given month starts. Days are counted 501 * Return the length (in days) of the given month. 527 * Return the number of days in the given Islamic year 608 int32_t days = julianDay - CIVIL_EPOC; local 612 days = julianDay - ASTRONOMICAL_EPOC; 615 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 ); 616 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); 621 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH) [all...] |
/external/vogar/src/vogar/util/ |
TimeUtilities.java | 87 long days = duration; local 90 if (days != 0) { 91 result.append(days);
|
/bionic/libc/dns/nameser/ |
ns_ttl.c | 52 int secs, mins, hours, days, weeks, x; local 58 days = (int)(src % 7); src /= 7; 66 if (days) { 67 T(fmt1(days, 'D', &dst, &dstlen)); 78 if (secs || !(weeks || days || hours || mins)) {
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
Duration.java | 24 * | DAYS [ HOURS [ MINUTES [ SECONDS ] ] ] 33 public int days; field in class:Duration 51 days = 0; 113 days = n; 132 cal.add(Calendar.DAY_OF_MONTH, sign*days); 145 + (24*60*60*days)
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
PickerConstant.java | 30 public final String[] days; field in class:PickerConstant 44 days = createStringIntArrays(calendar.getMinimum(Calendar.DAY_OF_MONTH),
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
GenerateCTimeScaleData.java | 41 private static final long days = hours * 24; field in class:GenerateCTimeScaleData 88 } else if (units == days) { 89 cargs[0] = "days";
|
EpochOffsets.java | 42 private static final long days = hours * 24; field in class:EpochOffsets 44 private static final long javaDays = days / milliseconds; 77 // more than 719164 days before 1970.
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
TimestampTagTest.java | 96 int days = cal.get(Calendar.DAY_OF_MONTH); // 1..31 local 102 + String.valueOf(days) + " at " + String.valueOf(hour24) + ":"
|
/external/tcpdump/ |
print-chdlc.c | 140 u_int sec,min,hrs,days; local 178 days = hrs / 24; hrs -= days * 24; 179 ND_PRINT((ndo, ", link uptime=%ud%uh%um%us",days,hrs,min,sec));
|
/external/toybox/toys/pending/ |
last.c | 74 unsigned days, hours, mins; local 81 days = (mins = diff/60)/(24*60); 84 sprintf(toybuf+28, "(%u+%02u:%02u)", days, hours, mins); // Duration.
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 74 StringBuilder days = new StringBuilder(); local 82 days.append(dayToString(recurrence.byday[i], dayOfWeekLength)); 83 days.append(", "); 85 days.append(dayToString(recurrence.byday[count], dayOfWeekLength)); 87 string = days.toString();
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmUtils.java | 54 * format "Alarm set for 2 days, 7 hours, and 53 minutes from now." 72 final int days = hours / 24; local 75 String daySeq = Utils.getNumberFormattedQuantityString(context, R.plurals.days, days); 79 final boolean showDays = days > 0;
|
/external/opencv3/apps/traincascade/ |
cascadeclassifier.cpp | 270 int days = int(seconds) / 60 / 60 / 24; local 274 cout << "Training until now has taken " << days << " days " << hours << " hours " << minutes << " minutes " << seconds_left <<" seconds." << endl;
|
/external/v8/test/cctest/ |
test-date.cc | 46 int days = DaysFromTime(time_sec * 1000); local 47 int time_in_day_sec = TimeInDay(time_sec * 1000, days) / 1000; 49 YearMonthDayFromDays(days, &year, &month, &day); 90 int days = DaysFromYearMonth(year, month); local 92 while (Weekday(days + day) != 6) day++;
|
/frameworks/base/core/java/android/text/format/ |
Formatter.java | 204 int days = 0, hours = 0, minutes = 0; local 206 days = (int)(secondsLong / SECONDS_PER_DAY); 207 secondsLong -= days * SECONDS_PER_DAY; 219 if (days >= 2) { 220 days += (hours+12)/24; 221 return context.getString(com.android.internal.R.string.durationDays, days); 222 } else if (days > 0) { 224 return context.getString(com.android.internal.R.string.durationDayHour, days, hours); 226 return context.getString(com.android.internal.R.string.durationDayHours, days, hours);
|
/frameworks/support/v4/java/android/support/v4/util/ |
TimeUtils.java | 28 /** @hide Field length that can hold 999 days of time */ 102 int days = 0, hours = 0, minutes = 0; local 105 days = seconds / SECONDS_PER_DAY; 106 seconds -= days * SECONDS_PER_DAY; 120 int myLen = accumField(days, 1, false, 0); 137 pos = printField(formatStr, days, 'd', pos, false, 0);
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 197 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY} 208 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 221 * @param days of this <code>Duration</code> 235 final BigInteger days, 242 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 250 * @param days of this <code>Duration</code> 263 * BigInteger days, 272 final int days, 283 // days may not be set 284 BigInteger realDays = (days != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) days) : null 414 long days = val \/ 24L; local 432 BigInteger days = BigInteger.valueOf(val); local [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
RelativeDateTimeFormatter.java | 45 // YEAR_IN_MILLIS considers 364 days as a year. However, since this 68 * '5 minutes ago', or 'In 2 days'. More examples can be found in DateUtils' 72 * the elapsed time between time' and 'now', e.g. minutes, days and etc. 156 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.DAYS; 159 // Some locales have special terms for "2 days ago". Return them if 162 // because for locales that don't have special terms for "2 days ago", 164 // like "2 days ago". 184 // Fall back to show something like "2 days ago". 287 int days = Math.abs(DateUtilsBridge.dayDistance(timeCalendar, nowCalendar)); local 295 if (days > 0 && minResolution < DAY_IN_MILLIS) [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CalendarInteractionUtils.java | 150 int days = startDay - currentDay; local 151 if (days == 1) { 153 } else if (days == 0) {
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/www/projectName/ |
searchcvs.php | 9 $days = 7; variable 13 $where = "WHERE `date` >= DATE_SUB(CURDATE(), INTERVAL $days DAY)"; 19 array("regex" => "/days: ?(\d+)/", "sql" => "`date` >= DATE_SUB(CURDATE(), INTERVAL %d DAY)", "sqlpart" => "where"), 78 $title = "<span>$rows results total</span>Showing results " . ($offset + 1) . "-" . ($offset + $pagesize > $rows ? $rows : $offset + $pagesize) . " for " . ($_GET["q"] == "" ? "last $days days of commits" : "$et" . sanitize($_GET["q"], "text")); 116 <li><a href="?q=file%3A+org.eclipse.emf%2F+days%3A+7">file: org.eclipse.emf/ days: 7</a></li> 117 <li><a href="?q=days%3A200+author%3Amerks">days:200 author:merks</a></li>
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
UniversalTimeScale.java | 100 * is days since December 31, 1899. 106 * is days since December 31, 1899. 255 private static final long days = hours * 24; field in class:UniversalTimeScale 311 new TimeScaleData(days, 599265216000000000L, -9223372036854775808L, 9223372036854775807L, -11368793L, 9981605L), // EXCEL_TIME 312 new TimeScaleData(days, 599265216000000000L, -9223372036854775808L, 9223372036854775807L, -11368793L, 9981605L), // DB2_TIME
|