/development/samples/browseable/CustomNotifications/src/com.example.android.customnotifications/ |
MainActivity.java | 30 import java.util.Date; 79 final String time = DateFormat.getTimeInstance().format(new Date()).toString();
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
X509CRLEntryTest.java | 27 import java.util.Date; 69 public Date getRevocationDate() {
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_DummyPKCS12Keystore.java | 30 import java.util.Date; 59 public Date engineGetCreationDate(String arg0) {
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/ |
common.js | 149 var d = new Date(); 177 var d = new Date();
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
TrustedCertificateKeyStoreSpi.java | 25 import java.util.Date; 57 public Date engineGetCreationDate(String alias) {
|
/external/smack/src/org/xbill/DNS/ |
FormattedTime.java | 31 * Converts a Date into a formatted string. 32 * @param date The Date to convert. 36 format(Date date) { 40 c.setTime(date); 51 * Parses a formatted time string into a Date. 53 * @return The Date object. 56 public static Date 67 int date = Integer.parseInt(s.substring(6, 8)) local [all...] |
DNSSEC.java | 244 private Date when, now; 246 SignatureExpiredException(Date when, Date now) { 255 public Date 263 public Date 273 private Date when, now; 275 SignatureNotYetValidException(Date when, Date now) { 284 public Date 292 public Date [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTimeFactory.java | 13 import java.util.Date; 82 * @param strValue The ISO 8601 string representation of the date/time. 93 * Obtain the current date and time. 106 * the other date/time fields are not adjusted in any way. 132 cal.setGregorianChange(new Date(Long.MIN_VALUE));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ObjectStreamFieldTest.java | 32 import java.util.Date; 261 public Date d; 268 d = new Date(); 274 o.putFields().put("d", new Date()); 282 d = (Date) getField.get("d", null); 324 new ObjectStreamField("d", Date.class, false), 329 public static Date today = new Date(1172632429156l);
|
/libcore/luni/src/main/java/java/sql/ |
Time.java | 20 import java.util.Date; 26 public class Time extends Date { 33 * <i>Day</i> elements of the {@code Time} object are set to the date 70 * {@code Time} object does not have a date component. 126 * {@code Time} object does not have a date component. 202 private void format(int date, int digits, StringBuilder sb) { 203 String str = String.valueOf(date);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalMediaItem.java | 24 import java.util.Date; 89 formater.format(new Date(dateModifiedInSec * 1000)));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
PrivateLog.java | 25 import java.util.Date; 39 private static final String COLUMN_DATE = "date"; 90 c.put(COLUMN_DATE, sDateFormat.format(new Date(System.currentTimeMillis())));
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyKeyStore.java | 36 import java.util.Date; 83 public Date engineGetCreationDate(String alias) { 85 return (Date) Dates.get(alias); 99 Dates.put(alias, new Date()); 119 Dates.put(alias, new Date()); 126 Dates.put(alias, new Date());
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-280531.js | 29 var date1 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')"); 30 new Date('Thu, 29 Aug 2013 00:00:01 UTC'); 31 var date2 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')");
|
/libcore/luni/src/main/java/java/security/cert/ |
PKIXParameters.java | 25 import java.util.Date; 50 private Date date; field in class:PKIXParameters 321 public Date getDate() { 322 return date == null ? null : (Date)date.clone(); 329 * @param date 333 public void setDate(Date date) { [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyKeyStore.java | 37 import java.util.Date; 85 public Date engineGetCreationDate(String alias) { 87 return (Date) Dates.get(alias); 101 Dates.put(alias, new Date()); 121 Dates.put(alias, new Date()); 128 Dates.put(alias, new Date());
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertSelectorTest.java | 38 import java.util.Date; 96 protected Date date = null; field in class:X509CertSelectorTest.TestCert 97 protected Date notBefore = null; 98 protected Date notAfter = null; 141 public TestCert(Date date) { 142 setDate(date); 145 public TestCert(Date notBefore, Date notAfter) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
GregorianCalendarTest.java | 22 import java.util.Date; 118 Date date = new Date(); local 120 gcJapan.setTime(date); 122 gcJapan2.setTime(date); 124 gcItaly.setTime(date); 134 Date date = new Date(2008, 1, 1) local 169 Date date = new Date(2008, 1, 1); local 316 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); local 432 Date date = new Date(Date.parse("Jan 1 00:00:01 GMT 2000")); local 724 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); local [all...] |
/external/chromium_org/v8/test/mjsunit/ |
mirror-date.js | 54 assertEquals('Date', fromJSON.className); 58 // Test Date values. 59 testDateMirror(new Date(Date.parse("Dec 25, 1995 1:30 UTC")), 61 d = new Date();
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateUtilsTest.java | 24 import java.util.Date; 170 Date date = new Date(109, 0, 19, 3, 30, 15); local 171 long fixedTime = date.getTime(); 174 Date dateWithCurrentYear = new Date(currentYear - 1900, 0, 19, 3, 30, 15); 210 Date date = new Date(109, 0, 19, 3, 30, 15) local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CertSelectorTest.java | 49 import java.util.Date; 314 Date date1 = new Date(100); 315 Date date2 = new Date(200); 316 Date date3 = Calendar.getInstance().getTime(); 322 assertTrue("The returned date should be equal to specified", 325 assertTrue("The returned date should be equal to specified", 327 assertFalse("The returned date should differ", 330 assertTrue("The returned date should be equal to specified" 1567 protected Date date = null; field in class:X509CertSelectorTest.TestCert [all...] |
X509Certificate2Test.java | 33 import java.util.Date; 75 s.checkValidity(new Date()); 173 public void checkValidity(Date date) { 192 public Date getNotBefore() { 196 public Date getNotAfter() {
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
MimeMessageTest.java | 34 import java.util.Date; 71 * Confirms that setSentDate() correctly set the "Date" header of a Mime message. 74 * MimeMessage depends on the date formatter, which may emit wrong date format 92 Date date = new Date(expectedTime); local 94 message.setSentDate(date); 95 String[] headers = message.getHeader("Date"); 101 Date result = format.parse(headers[0]) [all...] |
/frameworks/base/core/java/android/widget/ |
DateTimeView.java | 36 import java.util.Date; 41 // - listen for date format pref changed 60 Date mTime; 103 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0); 115 Date time = mTime; 176 // Currently showing the date 188 Log.d(TAG, "update needed for '" + time + "' at '" + new Date(mUpdateTimeMillis)
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
TSTInfo.java | 23 import java.util.Date; 74 private final Date genTime; 87 BigInteger serialNumber, Date genTime, int[] accuracy, 149 public Date getGenTime() { 276 (Date) values[4],
|