HomeSort by relevance Sort by last modified time
    Searched refs:Date (Results 101 - 125 of 661) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DerGeneralizedTimeEDTest.java 28 import java.util.Date;
53 Date myDate = getGmtDate(1101980374187L);
118 Date myDate = new Date(1101980374187L);
127 myDate = new Date(1101980374180L);
136 myDate = new Date(1101980374100L);
145 myDate = new Date(1101980374000L);
163 // date 100 ms
164 myDate = new Date(100L);
173 private static Date getGmtDate(long mills)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
TimeZoneTest.java 20 import java.util.Date;
42 stz.inDaylightTime(new Date());
61 Date date = sdf.parse("1902-11-01T00:00:00.000+0800"); local
62 assertEquals(-2119680000000L, date.getTime());
63 assertEquals(-28800000, tz.getOffset(date.getTime()));
64 assertFalse(tz.inDaylightTime(date));
65 assertEquals("Fri Oct 31 08:00:00 PST 1902", date.toString());
66 assertEquals("31 Oct 1902 16:00:00 GMT", date.toGMTString());
68 date = sdf.parse("1902-06-01T00:00:00.000+0800")
    [all...]
DateTest.java 20 import java.util.Date;
31 assertEquals("Wed Dec 31 18:00:00 CST 1969", new Date(0).toString());
  /cts/tests/tests/net/src/android/net/http/cts/
SslCertificateTest.java 32 import java.util.Date;
64 String date = DateFormat.getInstance().format(new Date()); local
65 new SslCertificate("c=129", "e=weji", date, date);
80 public void checkValidity(Date date) throws CertificateExpiredException,
105 public Date getNotAfter() {
106 return new Date(System.currentTimeMillis());
110 public Date getNotBefore()
    [all...]
  /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();
84 format.format(new Date(((long) Integer.MIN_VALUE + Integer.MIN_VALUE) * 1000L)));
86 format.format(new Date(Integer.MIN_VALUE * 1000L)));
88 format.format(new Date(0L)));
90 format.format(new Date(Integer.MAX_VALUE * 1000L)));
92 format.format(new Date((2L + Integer.MAX_VALUE + Integer.MAX_VALUE) * 1000L)));
97 return dateFormat.format(new Date(0))
115 String date = "2010-12-23 12:44:57.0 CET"; local
126 String date = "1970-01-01 01:00:00.000 CET"; local
164 Date date = sdf.parse("2010-07-08 02:44:48"); local
    [all...]
  /external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
X509CRLSelectorTest.java 36 import java.util.Date;
59 private Date thisUpdate = null;
60 private Date nextUpdate = null;
66 public TestCRL(Date thisUpdate, Date nextUpdate) {
74 public void setUpdateDates(Date thisUpdate, Date nextUpdate) {
142 public Date getThisUpdate() {
146 public Date getNextUpdate() {
394 * setDateAndTime(Date dateAndTime) method testing
533 Date date = new Date(200); local
562 Date date = new Date(200); local
589 Date date = new Date(200); local
    [all...]
  /external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
timestamp.js 1 description("Tests that Geoposition timestamps are well-formed (non-zero and in the same units as Date.getTime).");
12 var now = new Date().getTime();
19 var d = new Date();
  /external/apache-http/src/org/apache/http/impl/cookie/
BasicClientCookie2.java 4 * $Date: 2008-05-22 11:26:53 -0700 (Thu, 22 May 2008) $
34 import java.util.Date;
89 public boolean isExpired(final Date date) {
90 return this.discard || super.isExpired(date);
DateUtils.java 4 * $Date: 2008-07-16 04:25:47 -0700 (Wed, 16 Jul 2008) $
38 import java.util.Date;
55 * Date format pattern used to parse HTTP date headers in RFC 1123 format.
60 * Date format pattern used to parse HTTP date headers in RFC 1036 format.
65 * Date format pattern used to parse HTTP date headers in ANSI C
76 private static final Date DEFAULT_TWO_DIGIT_YEAR_START;
89 * Parses a date value. The formats used for parsing the date value are retrieved fro
    [all...]
  /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/mesa3d/docs/
MESA_release_buffers.spec 19 Last Modified Date: 8 June 2000
  /external/webkit/LayoutTests/fast/js/resources/
json2-es5-compat.js 40 Date.prototype.toJSON = function (key) {
88 text = JSON.stringify([new Date()], function (key, value) {
89 return this[key] instanceof Date ?
90 'Date(' + this[key] + ')' : value;
92 // text is '["Date(---current time---)"]'
107 // Parse the text. Values that look like ISO date strings will
108 // be converted to Date objects.
116 return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
123 myData = JSON.parse('["Date(09/09/2001)"]', function (key, value)
    [all...]
  /external/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/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.5.2-2-n.js 24 ECMA Section: 15.9.5.2 Date.prototype.toString
27 implementation dependent, but are intended to represent the Date in a
31 this value is not a Date object. Therefore it cannot be transferred to
39 Date: 12 november 1997
45 var TITLE = "Date.prototype.toString";
51 var OBJ = new MyObject( new Date(0) );
54 "var OBJ = new MyObject( new Date(0) ); OBJ.toString()",
62 this.toString = Date.prototype.toString;
15.9.5.21-1.js 25 Description: Date.prototype.getUTCMilliseconds
32 Date: 12 november 1997
38 var TITLE = "Date.prototype.getUTCMilliseconds()";
47 var now = (new Date()).valueOf();
69 "(new Date(NaN)).getUTCMilliseconds()",
71 (new Date(NaN)).getUTCMilliseconds() );
74 "Date.prototype.getUTCMilliseconds.length",
76 Date.prototype.getUTCMilliseconds.length );
81 "(new Date("+t+")).getUTCMilliseconds()",
83 (new Date(t)).getUTCMilliseconds() )
    [all...]
15.9.5.21-2.js 25 Description: Date.prototype.getUTCMilliseconds
32 Date: 12 november 1997
38 var TITLE = "Date.prototype.getUTCMilliseconds()";
47 var now = (new Date()).valueOf();
67 "(new Date(NaN)).getUTCMilliseconds()",
69 (new Date(NaN)).getUTCMilliseconds() );
72 "Date.prototype.getUTCMilliseconds.length",
74 Date.prototype.getUTCMilliseconds.length );
79 "(new Date("+t+")).getUTCMilliseconds()",
81 (new Date(t)).getUTCMilliseconds() )
    [all...]
15.9.5.21-3.js 25 Description: Date.prototype.getUTCMilliseconds
32 Date: 12 november 1997
38 var TITLE = "Date.prototype.getUTCMilliseconds()";
47 var now = (new Date()).valueOf();
62 "(new Date("+t+")).getUTCMilliseconds()",
64 (new Date(t)).getUTCMilliseconds() );
15.9.5.21-4.js 25 Description: Date.prototype.getUTCMilliseconds
32 Date: 12 november 1997
38 var TITLE = "Date.prototype.getUTCMilliseconds()";
47 var now = (new Date()).valueOf();
62 "(new Date("+t+")).getUTCMilliseconds()",
64 (new Date(t)).getUTCMilliseconds() );
15.9.5.21-5.js 25 Description: Date.prototype.getUTCMilliseconds
32 Date: 12 november 1997
38 var TITLE = "Date.prototype.getUTCMilliseconds()";
47 var now = (new Date()).valueOf();
62 "(new Date("+t+")).getUTCMilliseconds()",
64 (new Date(t)).getUTCMilliseconds() );
15.9.5.21-6.js 25 Description: Date.prototype.getUTCMilliseconds
32 Date: 12 november 1997
38 var TITLE = "Date.prototype.getUTCMilliseconds()";
47 var now = (new Date()).valueOf();
63 "(new Date("+t+")).getUTCMilliseconds()",
65 (new Date(t)).getUTCMilliseconds() );
15.9.5.21-7.js 25 Description: Date.prototype.getUTCMilliseconds
32 Date: 12 november 1997
38 var TITLE = "Date.prototype.getUTCMilliseconds()";
47 var now = (new Date()).valueOf();
62 "(new Date("+t+")).getUTCMilliseconds()",
64 (new Date(t)).getUTCMilliseconds() );
15.9.5.3-1-n.js 24 ECMA Section: 15.9.5.3-1 Date.prototype.valueOf
30 its this value is not a Date object. Therefore it cannot be transferred
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.valueOf";
46 var OBJ = new MyObject( new Date(0) );
49 "var OBJ = new MyObject( new Date(0) ); OBJ.valueOf()",
56 this.valueOf = Date.prototype.valueOf;
  /external/webkit/Source/WebCore/fileapi/
File.idl 35 readonly attribute Date lastModifiedDate;
  /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();
  /packages/apps/DeskClock/src/com/android/deskclock/
Log.java 26 import java.util.Date;
54 return new SimpleDateFormat("HH:mm:ss.SSS aaa").format(new Date(millis));

Completed in 303 milliseconds

1 2 3 45 6 7 8 91011>>