Searched refs:days (Results 26 - 50 of 136) sorted by relevance

123456

/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DIslamicCalendar.java31 * about 354 days long, so each successive Islamic year starts about 11 days
37 * we treat days and months as beginning at midnight,
55 * by up to three days.
372 * bit map array where a bit turned on represents a month with 30 days.
530 // * @param day The # of days since the start of the Islamic calendar.
702 * Return the length (in days) of the given month.
733 * Return the number of days in the given Islamic year
801 long days = julianDay - CIVIL_EPOC;
805 days
[all...]
H A DUniversalTimeScale.java100 * 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
/external/icu/icu4c/source/i18n/
H A Dislamcal.cpp279 // a month as having 31 days. Since date parsing now uses range checks based
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);
630 if ( days - startDate >= 25 && age > 0) {
637 while ((startDate = trueMonthStart(months)) > days) {
[all...]
H A Dchnsecal.cpp78 * Value to be added or subtracted from the local days of a new moon to
232 * Override Calendar method to return the number of days in the given
241 kEpochStartAsJulianDay + 1; // Julian day -> local days
266 computeChineseFields(julianDay - kEpochStartAsJulianDay, // local days
470 * Convert local days to UTC epoch milliseconds.
478 * @param days days after January 1, 1970 0:00 in the astronomical base zone
481 double ChineseCalendar::daysToMillis(double days) const {
482 double millis = days * (double)kOneDay;
495 * Convert UTC epoch milliseconds to local days
564 newMoonNear(double days, UBool after) const argument
671 computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth, UBool setAllFields) argument
[all...]
H A Dutmscale.c20 #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/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DIslamicCalendar.java30 * about 354 days long, so each successive Islamic year starts about 11 days
36 * we treat days and months as beginning at midnight,
54 * by up to three days.
393 * bit map array where a bit turned on represents a month with 30 days.
552 // * @param day The # of days since the start of the Islamic calendar.
725 * Return the length (in days) of the given month.
757 * Return the number of days in the given Islamic year
829 long days = julianDay - CIVIL_EPOC;
833 days
[all...]
H A DUniversalTimeScale.java113 * is days since December 31, 1899.
121 * is days since December 31, 1899.
291 private static final long days = hours * 24; field in class:UniversalTimeScale
347 new TimeScaleData(days, 599265216000000000L, -9223372036854775808L, 9223372036854775807L, -11368793L, 9981605L), // EXCEL_TIME
348 new TimeScaleData(days, 599265216000000000L, -9223372036854775808L, 9223372036854775807L, -11368793L, 9981605L), // DB2_TIME
/external/autotest/site_utils/suite_scheduler/
H A Dtimed_event.py61 """Get latest per-branch, per-board builds from last |days_ago| days.
64 @param days_ago: how many days back to look for manifests.
67 since_date = self._deadline - datetime.timedelta(days=days_ago)
146 TIMEOUT = 7 * 24 # 7 days
181 deadline = this_week_deadline + datetime.timedelta(days=1)
204 self._deadline = self._deadline + datetime.timedelta(days=1)
/external/google-tv-pairing-protocol/cpp/src/polo/util/
H A Dcertificateutil.cc88 uint32_t days) {
93 X509_gmtime_adj(X509_get_notAfter(x509), (int64_t) 60 * 60 * 24 * days);
86 GenerateSelfSignedCert(EVP_PKEY* pkey, std::string subject_name, uint32_t days) argument
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
H A DGenerateCTimeScaleData.java41 private static final long days = hours * 24; field in class:GenerateCTimeScaleData
88 } else if (units == days) {
89 cargs[0] = "days";
/external/chromium-trace/catapult/perf_insights/perf_insights/endpoints/
H A Dcorpus_cleanup.py25 oldest_time = datetime.datetime.now() - datetime.timedelta(days=MAX_DAYS)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
H A Drequestlog.py25 duration = (td.microseconds + long_type(td.seconds + td.days * 24 * 3600) * 1e6) / 1e6
/external/wpa_supplicant_8/hs20/server/ca/
H A Dsetup.sh107 $OPENSSL ca -config openssl.cnf.tmp -md sha256 -create_serial -out rootCA/cacert.pem -days 10957 -batch -keyfile rootCA/private/cakey.pem -passin pass:$PASS -selfsign -extensions v3_ca -outdir rootCA/newcerts -infiles rootCA/careq.pem || fail "Failed to sign Root CA certificate"
128 $OPENSSL ca -config openssl.cnf.tmp -md sha256 -create_serial -out demoCA/cacert.pem -days 3652 -batch -keyfile rootCA/private/cakey.pem -cert rootCA/cacert.pem -passin pass:$PASS -extensions v3_ca -infiles demoCA/careq.pem || fail "Failed to sign Intermediate CA certificate"
144 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -keyfile demoCA/private/cakey.pem -passin pass:$PASS -in ocsp.csr -out ocsp.pem -days 730 -extensions v3_OCSP || fail "Could not generate ocsp.pem"
152 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-revoked.csr -out server-revoked.pem -key $PASS -days 730 -extensions ext_server
162 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-client.csr -out server-client.pem -key $PASS -days 730 -extensions ext_client || fail "Could not create server-client.pem"
170 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in user.csr -out user.pem -key $PASS -days 730 -extensions ext_client || fail "Could not create user.pem"
188 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server.csr -out server.pem -key $PASS -days 730 -extensions ext_server -policy policy_osu_server || fail "Failed to sign server certificate"
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
H A Dtest_signurl.py143 ('2d', timedelta(days=2)),
144 ('5D', timedelta(days=5)),
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
H A DDurationPicker.java27 * A view for selecting the a duration using days, hours, minutes, and seconds.
219 double days = hours / 24;
222 setCurrentDay((int) days);
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
H A DTimestampTagTest.java96 int days = cal.get(Calendar.DAY_OF_MONTH); // 1..31
102 + String.valueOf(days) + " at " + String.valueOf(hour24) + ":"
/external/chromium-trace/catapult/catapult_build/perfbot_stats/
H A Dchrome_perf_step_timings.py122 threshold_time = datetime.datetime.now() - datetime.timedelta(days=2)
149 # ignore steps that did not run for more than 2 days
/external/chromium-trace/catapult/dashboard/dashboard/
H A Dbisect_stats.py123 monday = today - datetime.timedelta(days=today.weekday())
H A Dmr_test.py70 deprecated_time = datetime.datetime.now() - datetime.timedelta(days=20)
99 last_b.timestamp = datetime.datetime.now() - datetime.timedelta(days=20)
120 row_timestamp = now - datetime.timedelta(days=row_age_days)
H A Dlayered_cache.py123 days_to_keep: Number of days to keep entity in datastore, default is None.
128 # When number of days to keep is given, calculate expiration time for
134 days=days_to_keep)
154 days_to_keep: Number of days to keep entity in datastore, default is None.
/external/chromium-trace/catapult/third_party/Paste/paste/util/
H A Ddatetimeutil.py177 _one_day = timedelta(days=1)
227 # allow dates to be modified via + or - /w number of days, so
228 # that now+3 is three days from now
234 days = int(item)
238 now += timedelta(days=days)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/www/projectName/
H A Dsearchcvs.php9 $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/libvncserver/webclients/novnc/include/
H A Dwebutil.js98 // No days means only for this browser session
99 WebUtil.createCookie = function (name, value, days) {
102 if (days) {
104 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
160 // No days means only for this browser session
/external/sl4a/Common/src/com/googlecode/android_scripting/
H A DProcess.java181 int days = (int) (ms / (1000 * 60 * 60 * 24));
185 if (days != 0) {
186 buffer.append(String.format("%02d:%02d:", days, hours));
/external/toybox/toys/pending/
H A Dlast.c74 unsigned days, hours, mins; local
81 days = (mins = diff/60)/(24*60);
84 sprintf(toybuf+28, "(%u+%02u:%02u)", days, hours, mins); // Duration.

Completed in 5737 milliseconds

123456