/external/apache-http/src/org/apache/http/protocol/ |
HttpDateGenerator.java | 4 * $Date: 2007-06-17 09:51:55 -0700 (Sun, 17 Jun 2007) $ 36 import java.util.Date; 42 * Generates a date in the format required by the HTTP protocol. 52 /** Date format pattern used to generate the header in RFC 1123 format. */ 56 /** The time zone to use in the date header. */ 74 // Generate new date string 75 this.dateAsText = this.dateformat.format(new Date(now));
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/hosted/ |
json2.js | 48 Date.prototype.toJSON = function (key) { 96 text = JSON.stringify([new Date()], function (key, value) { 97 return this[key] instanceof Date ? 98 'Date(' + this[key] + ')' : value; 100 // text is '["Date(---current time---)"]' 115 // Parse the text. Values that look like ISO date strings will 116 // be converted to Date objects. 124 return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4], 131 myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/resources/ |
sunspider-standalone-driver.js | 49 var startTime = new Date; 51 times[j] = new Date() - startTime;
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
RTCStatsReport.idl | 28 readonly attribute Date timestamp;
|
/external/chromium_org/third_party/mesa/src/docs/ |
MESA_release_buffers.spec | 19 Last Modified Date: 8 June 2000
|
/external/mesa3d/docs/ |
MESA_release_buffers.spec | 19 Last Modified Date: 8 June 2000
|
/external/smack/src/org/xbill/DNS/ |
TKEYRecord.java | 22 private Date timeInception; 23 private Date timeExpire; 65 Date timeInception, Date timeExpire, int mode, int error, 81 timeInception = new Date(1000 * in.readU32()); 82 timeExpire = new Date(1000 * in.readU32()); 162 public Date 171 public Date
|
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
EventsCommand.java | 26 import java.util.Date; 61 formatter.format(new Date()), event.toString()));
|
/frameworks/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
EventsCommand.java | 26 import java.util.Date; 61 formatter.format(new Date()), event.toString()));
|
/libcore/luni/src/main/java/java/security/cert/ |
X509CRLEntry.java | 22 import java.util.Date; 104 * Returns the date when the certificate is revoked. 106 * @return the date when the certificate is revoked. 108 public abstract Date getRevocationDate();
|
/libcore/luni/src/test/java/libcore/java/util/ |
DateTest.java | 20 import java.util.Date; 31 assertEquals("Wed Dec 31 18:00:00 CST 1969", new Date(0).toString());
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
DateTimeEditor.java | 39 import java.util.Date; 61 Date d = getDateTime(item); 69 // wire up date button 73 Date d = getDateTime(item); 77 Date d = getDateTime(item); 97 Date d = getDateTime(item); 101 Date d = getDateTime(item); 125 private static Date getDateTime(EditableItem item) { 127 return new Date(value);
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
MUCInitialPresence.java | 4 * $Date$ 26 import java.util.Date; 119 private Date since; 151 * Returns the since date to use to filter the messages received during that time. 155 * @return the since date to use to filter the messages received during that time. 157 public Date getSince() { 192 * Sets the since date to use to filter the messages received during that time. 196 * @param since the since date to use to filter the messages received during that time. 198 public void setSince(Date since) {
|
/external/apache-http/src/org/apache/http/impl/client/ |
BasicCookieStore.java | 4 * $Date: 2008-05-03 03:39:28 -0700 (Sat, 03 May 2008) $ 36 import java.util.Date; 94 if (!cookie.isExpired(new Date())) { 130 * that have expired by the specified {@link java.util.Date date}. 134 * @see Cookie#isExpired(Date) 136 public synchronized boolean clearExpired(final Date date) { 137 if (date == null) { 142 if (it.next().isExpired(date)) { [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
JmeFormatter.java | 38 import java.util.Date; 49 private Date calendar = new Date();
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpDate.java | 22 import java.util.Date; 44 /** If we fail to parse a date in a non-standard format, try each of these formats in sequence. */ 59 /** Returns the date for {@code value}. Returns null if the value couldn't be parsed. */ 60 public static Date parse(String value) { 82 public static String format(Date value) {
|
/external/smack/src/org/jivesoftware/smackx/provider/ |
DelayInformationProvider.java | 4 * $Date$ 24 import java.util.Date; 43 Date stamp = null; 50 * if date could not be parsed but XML is valid, don't shutdown 55 stamp = new Date(0);
|
/libcore/benchmarks/src/benchmarks/regression/ |
DateToStringBenchmark.java | 24 import java.util.Date; 28 Date date; field in class:DateToStringBenchmark 34 date = new Date(0); 36 calendar.setTime(date); 42 date.toString(); 48 new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy").format(date); 54 ((SimpleDateFormat) format.clone()).format(date);
|
/packages/apps/Camera/src/com/android/camera/ |
PanoUtil.java | 20 import java.util.Date; 24 Date date = new Date(dateTaken); local 26 return dateFormat.format(date);
|
/packages/apps/Camera2/src/com/android/camera/ |
PanoUtil.java | 20 import java.util.Date; 24 Date date = new Date(dateTaken); local 26 return dateFormat.format(date);
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoUtil.java | 20 import java.util.Date; 24 Date date = new Date(dateTaken); local 26 return dateFormat.format(date);
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 23 import java.util.Date; 37 Date originalDate = sdf.get2DigitYearStart(); 43 Date newDate = new Date(); 183 format.format(new Date(((long) Integer.MIN_VALUE + Integer.MIN_VALUE) * 1000L))); 185 format.format(new Date(Integer.MIN_VALUE * 1000L))); 187 format.format(new Date(0L))); 189 format.format(new Date(Integer.MAX_VALUE * 1000L))); 191 format.format(new Date((2L + Integer.MAX_VALUE + Integer.MAX_VALUE) * 1000L))); 197 return dateFormat.format(new Date(0)) 215 String date = "2010-12-23 12:44:57.0 CET"; local 226 String date = "1970-01-01 01:00:00.000 CET"; local 264 Date date = sdf.parse("2010-07-08 02:44:48"); local [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
TimerTest.java | 21 import java.util.Date; 303 * java.util.Timer#schedule(java.util.TimerTask, java.util.Date) 311 Date d = new Date(System.currentTimeMillis() + 100); 323 d = new Date(System.currentTimeMillis() + 100); 336 d = new Date(-100); 339 fail("Scheduling a task with negative date should throw IllegalArgumentException"); 346 d = new Date(System.currentTimeMillis() + 100); 354 // Ensure a Timer throws a NullPointerException if the date is null 359 fail("Scheduling a null date should throw NullPointerException") [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CRLImplTest.java | 34 import java.util.Date; 91 private static Date thisUpdate = new Date(); 92 private static Date nextUpdate; 94 nextUpdate = new Date(thisUpdate.getTime()+100000); 102 // Invalidity Date Extension 105 new InvalidityDate(new Date()))); 123 private static Date revocationDate = new Date(); 349 new Validity(new Date(), new Date()) [all...] |
/frameworks/base/keystore/tests/src/android/security/ |
KeyPairGeneratorSpecTest.java | 22 import java.util.Date; 36 private static final Date NOW = new Date(NOW_MILLIS - (NOW_MILLIS % 1000L)); 39 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1);
|