/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
TBSCertificate.java | 96 // before and after dates 98 ASN1Sequence dates = (ASN1Sequence)seq.getObjectAt(seqStart + 4); local 100 startDate = Time.getInstance(dates.getObjectAt(0)); 101 endDate = Time.getInstance(dates.getObjectAt(1));
|
TBSCertificateStructure.java | 98 // before and after dates 100 ASN1Sequence dates = (ASN1Sequence)seq.getObjectAt(seqStart + 4); local 102 startDate = Time.getInstance(dates.getObjectAt(0)); 103 endDate = Time.getInstance(dates.getObjectAt(1));
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
SmsProviderTest.java | 41 String[] dates = new String[]{ local 62 map.put("date", dates[i]);
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CRLTest.java | 65 private static final String CRL_RSA_DATES = "x509/crl-rsa-dates.txt"; 67 private static final String CRL_RSA_DSA_DATES = "x509/crl-rsa-dsa-dates.txt"; 122 Map<String, Date> dates = new HashMap<String, Date>(); local 135 dates.put(key, value); 138 return dates; 228 Map<String, Date> dates = getCrlDates(CRL_RSA_DATES); local 230 Date lastUpdate = dates.get("lastUpdate"); 231 Date nextUpdate = dates.get("nextUpdate"); 242 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); local 244 Date lastUpdate = dates.get("lastUpdate") 323 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); local 338 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); local [all...] |
X509CertificateTest.java | 170 final InputStream ris = Support_Resources.getStream("x509/cert-rsa-dates.txt"); 389 Date[] dates = getRsaCertificateDates(); local 397 assertTrue(now.after(dates[0])); 398 assertTrue(now.before(dates[1])); 404 cal.setTime(dates[0]); 409 cal.setTime(dates[1]); 414 cal.setTime(dates[0]); 422 cal.setTime(dates[0]); 430 cal.setTime(dates[1]); 438 cal.setTime(dates[1]) 591 Date[] dates = getRsaCertificateDates(); local [all...] |
/external/smack/src/org/jivesoftware/smack/util/ |
StringUtils.java | 144 * if date is in XEP-0091 format handle ambiguous dates missing the 209 List<Calendar> dates = filterDatesBefore(now, oneDigitMonth, twoDigitMonth); local 211 if (!dates.isEmpty()) { 212 return determineNearestDate(now, dates).getTime(); 229 private static List<Calendar> filterDatesBefore(Calendar now, Calendar... dates) { 232 for (Calendar calendar : dates) { 241 private static Calendar determineNearestDate(final Calendar now, List<Calendar> dates) { 243 Collections.sort(dates, new Comparator<Calendar>() { 253 return dates.get(0);
|
/external/chromium_org/third_party/icu/source/i18n/ |
vtzone.cpp | 525 UVector* dates, int fromOffset, UErrorCode& status) { 529 if (dates == NULL || dates->size() == 0) { 538 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); 549 if (dates->size() == 1) { 558 int32_t firstDay = 31; // max possible number of dates in a month 596 if (dates->size() > 7) { 613 for (i = 1; i < dates->size(); i++) { 614 rrule = *((UnicodeString*)dates->elementAt(i)); 728 UDate start, UVector* dates, int32_t fromOffset, UErrorCode& status) 1368 UVector *dates = NULL; \/\/ list of RDATE or RRULE strings local [all...] |
/external/icu4c/i18n/ |
vtzone.cpp | 524 UVector* dates, int fromOffset, UErrorCode& status) { 528 if (dates == NULL || dates->size() == 0) { 537 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); 548 if (dates->size() == 1) { 557 int32_t firstDay = 31; // max possible number of dates in a month 595 if (dates->size() > 7) { 612 for (i = 1; i < dates->size(); i++) { 613 rrule = *((UnicodeString*)dates->elementAt(i)); 727 UDate start, UVector* dates, int32_t fromOffset, UErrorCode& status) 1373 UVector *dates = NULL; \/\/ list of RDATE or RRULE strings local [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RRuleTest.java | 45 private static String[] getFormattedDates(long[] dates, Time time, boolean truncate) { 46 String[] out = new String[dates.length]; 48 for (long date : dates) { 192 // Fails: wrong dates 199 // Fails: wrong dates 206 // Fails: wrong dates 343 //Fails: wrong dates 357 // Fails: generates wrong dates 369 //Fails: wrong dates 394 // Fails: wrong dates [all...] |
RecurrenceProcessorTest.java | 37 private static String[] getFormattedDates(long[] dates, Time time) { 38 String[] out = new String[dates.length]; 40 for (long date : dates) { 2476 long [] dates = rp.expand(dtstart, recur, rangeStartMillis, rangeEndMillis); local [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceSet.java | 122 final long[] dates = parseRecurrenceDates(exdate); local 123 for (long date : dates) { 162 long[] dates = new long[n]; local 173 dates[i] = time.toMillis(false /* use isDst */); 176 return dates;
|
RecurrenceProcessor.java | 129 // The expansion might not contain any dates if the exrule or 130 // exdates cancel all the generated dates. 131 long[] dates = expand(dtstart, recur, local 136 // The expansion might not contain any dates if exrule or exdates 137 // cancel all the generated dates. 138 if (dates.length == 0) { 141 return dates[dates.length - 1]; 622 * milliseconds. The return value is never null. If there are no dates 632 * @return an array of dates, each date is in UTC millisecond 702 long[] dates = new long[len]; local [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldPreparedStatementTest.java | 1354 Date[] dates = { local 1413 Date[] dates = { new Date(cal.getTimeInMillis()), new Date(Integer.MAX_VALUE), local [all...] |
/external/chromium_org/v8/test/intl/date-format/ |
format-is-bound.js | 31 // Array we want to iterate, actual dates are not important.
|
/external/v8/test/mjsunit/ |
date.js | 28 // Test date construction from other dates. 36 // Test that dates may contain commas. 203 // Parsing ES5 ISO-8601 dates.
|
/external/chromium_org/v8/test/mjsunit/ |
date.js | 30 // Test date construction from other dates. 38 // Test that dates may contain commas. 205 // Parsing ES5 ISO-8601 dates.
|
/libcore/support/src/test/java/tests/resources/x509/ |
create.sh | 31 openssl x509 -in ${DIR}/cert-rsa.der -inform d -noout -startdate -enddate > ${DIR}/cert-rsa-dates.txt 106 openssl crl -inform d -in ${DIR}/crl-rsa.der -noout -lastupdate -nextupdate > ${DIR}/crl-rsa-dates.txt 107 openssl crl -inform d -in ${DIR}/crl-rsa-dsa.der -noout -lastupdate -nextupdate > ${DIR}/crl-rsa-dsa-dates.txt
|
/external/chromium_org/v8/test/webkit/ |
date-constructor.js | 71 // Our results are even worse, though, as the dates are clipped: (new Date(1111, 1201).getTime()) == (new Date(1111, 601).getTime())
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
dtfmrgts.cpp | 236 UDate dates [] = { local 259 UDate exp = dates[i]; 819 UDate dates [] = { local 834 UDate exp = dates[i]; [all...] |
/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 238 UDate dates [] = { local 261 UDate exp = dates[i]; 823 UDate dates [] = { local 838 UDate exp = dates[i]; [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarInstancesHelper.java | 331 long[] dates; local 332 dates = rp.expand(eventTime, recur, begin, end); 343 for (long date : dates) { [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
calendar.py | 155 dates outside the specified month. 199 dates = list(self.itermonthdates(year, month)) 200 return [ dates[i:i+7] for i in range(0, len(dates), 7) ]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
calendar.py | 155 dates outside the specified month. 199 dates = list(self.itermonthdates(year, month)) 200 return [ dates[i:i+7] for i in range(0, len(dates), 7) ]
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
date-format-tofte.js | 236 // work with dates outside 1900-2038, or something like that
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
date-format-tofte.js | 236 // work with dates outside 1900-2038, or something like that
|