/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. 57 /** Date format pattern used to generate the header in RFC 1123 format. */ 61 /** The time zone to use in the date header. */ 79 // Generate new date string 80 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/core/fileapi/ |
File.idl | 31 [MeasureAs=FileGetLastModifiedDate] readonly attribute Date lastModifiedDate;
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
RTCStatsReport.idl | 29 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/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
EventsCommand.java | 26 import java.util.Date; 61 formatter.format(new Date()), event.toString()));
|
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
FileUtil.java | 26 import java.util.Date; 45 fos.write(sDateFormat.format(new Date()).getBytes()); 50 Log.e("FileUtil", "exception writing date to file", ioe);
|
/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);
|
/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(); 168 format.format(new Date(((long) Integer.MIN_VALUE + Integer.MIN_VALUE) * 1000L))); 170 format.format(new Date(Integer.MIN_VALUE * 1000L))); 172 format.format(new Date(0L))); 174 format.format(new Date(Integer.MAX_VALUE * 1000L))); 176 format.format(new Date((2L + Integer.MAX_VALUE + Integer.MAX_VALUE) * 1000L))); 182 return dateFormat.format(new Date(0)) 207 String date = "2010-12-23 12:44:57.0 CET"; local 272 Date date = sdf.parse("2010-07-08 02:44:48"); local [all...] |
/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) {
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
ObexTime.java | 20 import java.util.Date; 28 private Date mDate; 78 public ObexTime(Date date) { 79 mDate = date; 82 public Date getTime() { 98 cal.get(Calendar.DATE), cal.get(Calendar.HOUR_OF_DAY),
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/ |
ObexTime.java | 20 import java.util.Date; 28 private Date mDate; 78 public ObexTime(Date date) { 79 mDate = date; 82 public Date getTime() { 98 cal.get(Calendar.DATE), cal.get(Calendar.HOUR_OF_DAY),
|
/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; 99 if (!cookie.isExpired(new Date())) { 135 * that have expired by the specified {@link java.util.Date date}. 139 * @see Cookie#isExpired(Date) 141 public synchronized boolean clearExpired(final Date date) { 142 if (date == null) { 147 if (it.next().isExpired(date)) { [all...] |
/external/okhttp/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. */ 67 /** Returns the date for {@code value}. Returns null if the value couldn't be parsed. */ 68 public static Date parse(String value) { 90 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);
|
/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()); 39 assertEquals("Wed Dec 31 18:00:00 GMT-06:00 1969", new Date(0).toString());
|
/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/harmony-tests/src/test/java/org/apache/harmony/tests/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/google-tv-pairing-protocol/java/src/com/google/polo/ssl/ |
SslUtil.java | 48 import java.util.Date; 103 Date startDate = new Date(calendar.getTimeInMillis()); 105 Date expiryDate = new Date(calendar.getTimeInMillis()); 129 * @param notBefore not valid before this date 130 * @param notAfter not valid after this date 137 String name, Date notBefore, Date notAfter, BigInteger serialNumber) 224 * Wrapper for {@link SslUtil#generateX509V3Certificate(KeyPair, String, Date, Date, BigInteger) [all...] |