/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
X509CertificateHolder.java | 6 import java.util.Date; 187 * Return the date before which this certificate is not valid. 191 public Date getNotBefore() 197 * Return the date after which this certificate is not valid. 201 public Date getNotAfter() 247 * Return whether or not this certificate is valid on a particular date. 249 * @param date the date of interest. 252 public boolean isValidOn(Date date) [all...] |
/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/text/ |
TimeZoneNamesTest.java | 51 long date = 1458385200000L; local 53 String uLocaleName = uLocaleInstance.getDisplayName(availableId, nameType, date); 54 String localeName = localeInstance.getDisplayName(availableId, nameType, date);
|
/external/icu/icu4c/source/test/intltest/ |
caltztst.cpp | 11 * Date Name Description 136 // Tries to mimic the Java Date.toString() format. 178 // Utility methods to create a date. This is useful for converting Java constructs 179 // which create a Date object. 181 CalendarTimeZoneTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:CalendarTimeZoneTest 186 cal->set(1900 + y, m, d, hr, min, sec); // Add 1900 to follow java.util.Date protocol 198 // Utility methods to create a date. The returned Date is UTC rather than local. 199 /*Date 205 Date dt = date(y, m, d, hr, min, sec) [all...] |
/external/libxml2/doc/ |
queries.py | 26 date = time.strftime("%Y%m%d") 27 f = open("searches/%s-%s.xml" % (base, date), "w") 39 f.write("<queries total='%d' uniq='%d' nr='%d' date='%s'>\n" % ( 40 total, uniq, number, date))
|
/external/vogar/src/vogar/ |
XmlReportReader.java | 28 import java.util.Date; 110 Date date; local 112 date = dateFormat.parse(timestamp); 116 outcomes.add(new Outcome(classname + "#" + name, result, resultOutput, date));
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
DumpDataIO.java | 29 import java.util.Date; 61 sb.append("<data package=\"" + d.packageName + "\" date=\"" + 62 DateFormat.getDateTimeInstance().format(d.date) +"\">\n"); 101 String dateString = attributes.getValue("date"); 108 Date date = DateFormat.getDateTimeInstance().parse(dateString); local 109 openData = new DumpData(pkg, new HashMap<String, String>(), date);
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 25 import java.util.Date; 55 Date originalDate = sdf.get2DigitYearStart(); 61 Date newDate = new Date(); 191 format.format(new Date(((long) Integer.MIN_VALUE + Integer.MIN_VALUE) * 1000L))); 193 format.format(new Date(Integer.MIN_VALUE * 1000L))); 195 format.format(new Date(0L))); 197 format.format(new Date(Integer.MAX_VALUE * 1000L))); 199 format.format(new Date((2L + Integer.MAX_VALUE + Integer.MAX_VALUE) * 1000L))); 209 return dateFormat.format(new Date(0)) 237 String date = "2010-12-23 12:44:57.0 CET"; local 302 Date date = sdf.parse("2010-07-08 02:44:48"); local 421 Date date = sdf.parse("2016-01-06T23:05:49.480+00:00"); local [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallDetailHistoryAdapter.java | 104 TextView dateView = (TextView) result.findViewById(R.id.date); 115 // Set the date. 116 CharSequence dateValue = DateUtils.formatDateRange(mContext, details.date, details.date,
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapStringTest.java | 30 import java.util.Date; 95 final ImapString date = new ImapSimpleString("01-Jan-2009 11:34:56 -0100"); local 97 assertTrue(date.isDate()); 98 Date d = date.getDateOrNull();
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountPreferenceBase.java | 43 import java.util.Date; 187 protected String formatSyncDate(Date date) { 189 return mDateFormat.format(date) + " " + mTimeFormat.format(date);
|
/frameworks/base/keystore/java/android/security/keystore/ |
KeyGenParameterSpec.java | 32 import java.util.Date; 83 * <li>signing/origination at this moment in time (see {@link Builder#setKeyValidityStart(Date)} 84 * and {@link Builder#setKeyValidityForOriginationEnd(Date)}),</li> 239 private static final Date DEFAULT_CERT_NOT_BEFORE = new Date(0L); // Jan 1 1970 240 private static final Date DEFAULT_CERT_NOT_AFTER = new Date(2461449600000L); // Jan 1 2048 248 private final Date mCertificateNotBefore; 249 private final Date mCertificateNotAfter; 250 private final Date mKeyValidityStart [all...] |
/art/tools/ |
setup-buildbot-device.sh | 20 echo -e "${green}Date on device${nc}" 21 adb shell date
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 30 import java.util.Date; 94 String date = dateFormat.format(new Date()); local 96 + "-" + date
|
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmUtil.java | 53 alarmTime.set(Calendar.DATE, alarm.date); 62 String.format("Alarm scheduled at (%2d:%02d) Date: %d, Month: %d", 64 alarm.month, alarm.date)); 93 alarmTime.add(Calendar.DATE, 1);
|
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmUtil.java | 53 alarmTime.set(Calendar.DATE, alarm.date); 62 String.format("Alarm scheduled at (%2d:%02d) Date: %d, Month: %d", 64 alarm.month, alarm.date)); 93 alarmTime.add(Calendar.DATE, 1);
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
AlarmUtil.java | 53 alarmTime.set(Calendar.DATE, alarm.date); 62 String.format("Alarm scheduled at (%2d:%02d) Date: %d, Month: %d", 64 alarm.month, alarm.date)); 93 alarmTime.add(Calendar.DATE, 1);
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
TimeSeriesActivity.java | 28 import java.util.Date;
102 // create a simple date format that draws on the year portion of our timestamp.
113 Date date = new Date(timestamp);
114 return dateFormat.format(date, toAppendTo, pos);
|
/external/autotest/site_utils/admin/scripts/ |
cli2hbs.sh | 18 DATESTAMP=$(date '+%Y%m%d')
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
datetime_utils.py | 4 date, 86 if isinstance(dt, (datetime, date)): 92 "You must pass in a datetime, date, time tuple, or integer object, "
|
/external/dng_sdk/source/ |
dng_iptc.cpp | 436 char date [9]; local 438 stream.Get (date, 8); 440 date [8] = 0; 442 fDateTimeCreated.Decode_IPTC_Date (date); 480 char date [9]; local 482 stream.Get (date, 8); 484 date [8] = 0; 486 fDigitalCreationDateTime.Decode_IPTC_Date (date); 818 DNG_ASSERT (dateString.Length () == 8, "Wrong length IPTC date"); 853 DNG_ASSERT (dateString.Length () == 8, "Wrong length IPTC date"); [all...] |
/external/dnsmasq/contrib/port-forward/ |
dnsmasq-portforward | 27 date +"%D %T $*" >>${LOGFILE}
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
SimpleDateRule.java | 11 import java.util.Date; 24 * Construct a rule for a fixed date within a month 27 * @param dayOfMonth The date in that month (1-based). 50 * @param dayOfMonth A date within that month (1-based). 66 * that is on or after the given start date. 68 * @param start Only occurrances on or after this date are returned. 70 * @return The date on which this event occurs, or null if it 71 * does not occur on or after the start date. 76 public Date firstAfter(Date start [all...] |
/external/icu/icu4c/source/i18n/ |
ethpccal.cpp | 138 * The system maintains a static default century start date and Year. They are 139 * initialized the first time they are used. Once the system default century date 197 EthiopicCalendar::ethiopicToJD(int32_t year, int32_t month, int32_t date) 199 return ceToJD(year, month, date, JD_EPOCH_OFFSET_AMETE_MIHRET);
|
/external/icu/icu4c/source/i18n/unicode/ |
tznames.h | 95 * to meta zones mapping data are stored by date range. 200 * Returns the meta zone ID for the given canonical time zone ID at the given date. 202 * @param date The date. 203 * @param mzID Receives the meta zone ID for the given time zone ID at the given date. If the time zone does not have a 204 * corresponding meta zone at the given date or the implementation does not support meta zones, "bogus" state 209 virtual UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const = 0; 275 * Returns the display name of the time zone at the given date. 283 * @param date The date [all...] |
ucurr.h | 305 * Queries if the given ISO 4217 3-letter code is available on the specified date range. 307 * Note: For checking availability of a currency on a specific date, specify the date on both 'from' and 'to' 310 * If 'from' and 'to' are same UDate value, this method checks if the specified currency is available on that date. 316 * The lower bound of the date range, inclusive. When 'from' is U_DATE_MIN, check the availability 317 * of the currency any date before 'to' 320 * The upper bound of the date range, inclusive. When 'to' is U_DATE_MAX, check the availability of 321 * the currency any date after 'from' 326 * @return TRUE if the given ISO 4217 3-letter code is supported on the specified date range. 338 * given locale and date [all...] |