/packages/apps/DeskClock/src/com/android/deskclock/ |
Log.java | 24 import java.util.Date; 62 return new SimpleDateFormat("HH:mm:ss.SSS/E").format(new Date(millis));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 35 Date = datetime.date 42 return Date(*time.localtime(ticks)[:3]) 63 return datetime.date(*map(int, val.split("-"))) 79 register_adapter(datetime.date, adapt_date) 81 register_converter("date", convert_date)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 35 Date = datetime.date 42 return Date(*time.localtime(ticks)[:3]) 63 return datetime.date(*map(int, val.split("-"))) 79 register_adapter(datetime.date, adapt_date) 81 register_converter("date", convert_date)
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyPairGeneratorSpecTest.java | 23 import java.util.Date; 37 private static final Date NOW = new Date(NOW_MILLIS - (NOW_MILLIS % 1000L)); 40 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
GeneralizedTimeTest.java | 25 import java.util.Date; 47 // data for testing with format: date string/DER encoding/Date object 88 // fill values for Date objects by parsing date string 123 // encoding date object 127 assertTrue("Encoding date for " + validGeneralizedTimes[i][0], 134 * Tests milliseconds result of encoding/decoding on the date after 2050. 139 long new_date = ((Date) gtime.decode(gtime.encode(new Date(old_date))) [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicClientCookie.java | 4 * $Date: 2008-05-22 11:26:53 -0700 (Thu, 22 May 2008) $ 34 import java.util.Date; 139 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt> 144 * @return Expiration {@link Date}, or <tt>null</tt>. 146 * @see #setExpiryDate(java.util.Date) 149 public Date getExpiryDate() { 154 * Sets expiration date. 159 * @param expiryDate the {@link Date} after which this cookie is no longer valid. 164 public void setExpiryDate (Date expiryDate) { 291 * @param date Current tim [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
TranscriptsProvider.java | 3 * $Date$
31 import java.util.Date;
76 Date joinTime = null;
77 Date leftTime = null;
111 Date joinTime = null;
112 Date leftTime = null;
|
/external/smack/src/org/xbill/DNS/ |
TSIGRecord.java | 24 private Date timeSigned; 54 TSIGRecord(Name name, int dclass, long ttl, Name alg, Date timeSigned, 75 timeSigned = new Date(time * 1000); 139 sb.append(new Date(time * 1000)); 160 public Date
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPDateTimeImpl.java | 13 import java.util.Date; 68 // extract the date and timezone from the calendar provided 69 Date date = calendar.getTime(); local 72 // put that date into a calendar the pretty much represents ISO8601 76 intCalendar.setGregorianChange(new Date(Long.MIN_VALUE)); 78 intCalendar.setTime(date); 93 * a <code>Date</code> and a <code>TimeZone</code>. 95 * @param date a date describing an absolute point in tim [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
ContactPhotoUtils.java | 40 import java.util.Date; 78 final Date date = new Date(System.currentTimeMillis()); local 80 return "ContactPhoto-" + dateFormat.format(date) + ".jpg"; 84 final Date date = new Date(System.currentTimeMillis()); local 86 return "ContactPhoto-" + dateFormat.format(date) + "-cropped.jpg";
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertImpl.java | 42 import java.util.Date; 135 public void checkValidity(Date date) 137 checkValidity(date.getTime()); 143 throw new CertificateNotYetValidException("current time: " + new Date(time) 144 + ", validation time: " + new Date(getNotBeforeInternal())); 147 throw new CertificateExpiredException("current time: " + new Date(time) 148 + ", expiration time: " + new Date(getNotAfterInternal())); 190 public Date getNotBefore() { 191 return new Date(getNotBeforeInternal()) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimerTest.java | 20 import java.util.Date; 342 * @tests java.util.Timer#schedule(java.util.TimerTask, java.util.Date) 350 Date d = new Date(System.currentTimeMillis() + 100); 366 d = new Date(System.currentTimeMillis() + 100); 383 d = new Date(-100); 391 "Scheduling a task with negative date should throw IllegalArgumentException", 398 d = new Date(System.currentTimeMillis() + 100); 409 // Ensure a Timer throws a NullPointerException if the date is null 419 "Scheduling a null date should throw NullPointerException" [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
SimpleDateFormatTest.java | 26 import java.util.Date; 81 public void parse(String pattern, String input, Date expected, 85 Date result = pFormat.parse(input, position); 94 String expected2, Date date) { 98 format.format(date)); 102 format.format(date)); 118 f2.format(new Date()).getClass() == String.class); 134 f2.format(new Date()).getClass() == String.class); 139 "this is an invalid simple date format") 552 Date date = f1.get2DigitYearStart(); local 712 Date date = df.parse(output); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509V2AttributeCertificate.java | 18 import java.util.Date; 43 private Date notBefore; 44 private Date notAfter; 114 public Date getNotBefore() 119 public Date getNotAfter() 147 this.checkValidity(new Date()); 151 Date date) 154 if (date.after(this.getNotAfter())) 159 if (date.before(this.getNotBefore()) [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
X509CRLSelector.java | 26 import java.util.Date; 243 * date and the {@code nextUpdate} value must be after the specified date. 246 * the date to search for valid CRL's or {@code null} to not 247 * check the date. 249 public void setDateAndTime(Date dateAndTime) { 338 * date and the {@code nextUpdate} value must be after the returned date. 340 * @return the date to search for valid CRL's or {@code null} if the date i [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
TSTInfoTest.java | 23 import java.util.Date; 48 Date genTime = new Date();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCRLUtil.java | 9 import java.util.Date; 22 public Set findCRLs(X509CRLStoreSelector crlselect, ExtendedPKIXParameters paramsPKIX, Date currentDate) 40 Date validityDate = currentDate;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
Amf0Track.java | 26 import java.util.Date; 46 trackMetaData.setCreationTime(new Date()); 47 trackMetaData.setModificationTime(new Date());
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
SslContextBuilder.java | 30 import java.util.Date; 106 generator.setNotBefore(new Date(notBefore)); 107 generator.setNotAfter(new Date(notAfter));
|
/external/smack/src/org/jivesoftware/smackx/provider/ |
StreamInitiationProvider.java | 4 * $Date$
23 import java.util.Date;
54 String date = null; local 74 date = parser.getAttributeValue("", "date"); 97 Date fileDate = new Date(); 98 if (date != null) { 100 fileDate = StringUtils.parseXEP0082Date(date);
102 // couldn't parse date, use current date-tim [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DateView.java | 32 import java.util.Date; 40 private final Date mCurrentTime = new Date(); 55 // need to get a fresh date format
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
AsciiHprofWriter.java | 25 import java.util.Date; 69 Date now = new Date(data.getStartMillis());
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldGregorianCalendarTest.java | 21 import java.util.Date; 31 Date now = new Date();
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
CodeSignerTest.java | 28 import java.util.Date; 39 private Date now = new Date();
|
/libcore/luni/src/test/java/tests/api/javax/security/cert/ |
X509CertificateTest.java | 50 import java.util.Date; 271 Date date = new Date(); local 272 Date nb_date = tbt_cert.getNotBefore(); 273 Date na_date = tbt_cert.getNotAfter(); 276 assertFalse("CertificateExpiredException expected", date 278 assertFalse("CertificateNotYetValidException expected", date 282 date.compareTo(na_date) > 0); 285 date.compareTo(nb_date) < 0) 313 Date[] date = new Date[8]; local [all...] |