HomeSort by relevance Sort by last modified time
    Searched refs:Date (Results 1 - 25 of 801) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.4.2-1.js 25 * Description: Date parsing gets 12:30 AM wrong.
27 * js> d = new Date('1/1/1999 13:30 AM')
28 * Invalid Date
29 * js> d = new Date('1/1/1999 13:30 PM')
30 * Invalid Date
31 * js> d = new Date('1/1/1999 12:30 AM')
33 * js> d = new Date('1/1/1999 12:30 PM')
40 var TITLE = "Regression Test for Date.parse"; // Provide ECMA section title or a description
45 AddTestCase( "new Date('1/1/1999 12:30 AM').toString()",
46 new Date(1999,0,1,0,30).toString()
    [all...]
15.9.2.1.js 24 ECMA Section: 15.9.2.1 Date constructor used as a function
25 Date( year, month, date, hours, minutes, seconds, ms )
28 expression (new Date()).toString().
31 Date: 28 october 1997
37 var TITLE = "Date Constructor used as a function";
41 writeHeaderToLog("15.9.2.1 The Date Constructor Called as a Function: " +
42 "Date( year, month, date, hours, minutes, seconds, ms )" );
53 var TODAY = new Date();
    [all...]
15.9.4.2.js 24 ECMA Section: 15.9.4.2 Date.parse()
27 a date. It returns a number, the UTC time value
28 corresponding to the date.
38 so for any Date object x, all of these things should
43 Date.parse(x.toString()) test_tostring()
44 Date.parse(x.toGMTString()) test_togmt()
46 Date.parse(x.toLocaleString()) is not required to
49 Date.parse is implementation dependent when given any
54 Date.parse( x.toLocaleString()) test_tolocale()
57 Date: 10 july 199
    [all...]
15.9.5.2-1.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
35 Date: 12 november 1997
41 var TITLE = "Date.prototype.toString";
48 "Date.prototype.toString.length",
50 Date.prototype.toString.length );
52 var now = new Date();
55 // parsable by Date.parse
58 "Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000"
    [all...]
15.9.5.2.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
35 Date: 12 november 1997
41 var TITLE = "Date.prototype.toString";
48 "Date.prototype.toString.length",
50 Date.prototype.toString.length );
52 var now = new Date();
55 // parsable by Date.parse
58 "Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000"
    [all...]
15.9.2.2-2.js 24 ECMA Section: 15.9.2.2 Date constructor used as a function
25 Date( year, month, date, hours, minutes, seconds )
28 expression (new Date()).toString().
31 Date: 28 october 1997
39 var TITLE = "The Date Constructor Called as a Function";
53 array[item++] = new TestCase( SECTION, "Date(1999,11,15,59,59)", (new Date()).toString(), Date(1999,11,15,59,59));
54 array[item++] = new TestCase( SECTION, "Date(1999,11,16,0,0,0)", (new Date()).toString(), Date(1999,11,16,0,0,0))
    [all...]
15.9.2.2-4.js 24 ECMA Section: 15.9.2.2 Date constructor used as a function
25 Date( year, month, date, hours, minutes, seconds )
28 expression (new Date()).toString().
31 Date: 28 october 1997
39 var TITLE = "The Date Constructor Called as a Function";
54 array[item++] = new TestCase( SECTION, "Date( 2000,1,29,0,0,0)", (new Date()).toString(), Date(2000,1,29,0,0,0));
55 array[item++] = new TestCase( SECTION, "Date( 2000,1,28,23,59,59)", (new Date()).toString(), Date( 2000,1,28,23,59,59))
    [all...]
  /frameworks/base/media/java/android/drm/mobile1/
DrmConstraintInfo.java 19 import java.util.Date;
31 * The constraint of start date.
36 * The constraint of end date.
65 * Get the start date constraint.
67 * @return the start date or null if no limit.
69 public Date getStartDate() {
73 return new Date(startDate);
77 * Get the end date constraint.
79 * @return the end date or null if no limit.
81 public Date getEndDate()
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DateTest.java 21 import java.util.Date;
27 static class MockDate extends Date{
44 * @tests java.util.Date#Date()
47 // Test for method java.util.Date()
51 long now = new Date().getTime();
52 assertTrue("Created incorrect date: " + oldTime + " now: " + now,
57 * @tests java.util.Date#Date(int, int, int)
60 // Test for method java.util.Date(int, int, int
68 Date date = new Date(99, 5, 22); local
110 Date date = new MockDate(1000L); local
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
DateTest.java 21 import java.util.Date;
29 * java.util.Date#Date()
32 // Test for method java.util.Date()
36 long now = new Date().getTime();
37 assertTrue("Created incorrect date: " + oldTime + " now: " + now,
42 * java.util.Date#Date(int, int, int)
45 // Test for method java.util.Date(int, int, int)
46 Date d1 = new Date(70, 0, 1); // the epoch + local tim
53 Date date = new Date(99, 5, 22); local
    [all...]
  /external/v8/test/mjsunit/
date.js 28 // Test date construction from other dates.
29 var date0 = new Date(1111);
30 var date1 = new Date(date0);
33 var date2 = new Date(date0.toString());
37 var date0 = Date.parse("Dec 25 1995 1:30");
38 var date1 = Date.parse("Dec 25, 1995 1:30");
39 var date2 = Date.parse("Dec 25 1995, 1:30");
40 var date3 = Date.parse("Dec 25, 1995, 1:30");
47 var dMax = new Date(8.64e15);
53 var dOverflow = new Date(8.64e15+1)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
CertStatus.java 3 import java.util.Date;
13 Date revocationDate = null;
18 public Date getRevocationDate()
26 public void setRevocationDate(Date revocationDate)
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
DateHelper.java 18 import java.util.Date;
21 * Converts ISO Dates (seconds since 1/1/1904) to Date and vice versa.
25 * Converts a long value with seconds since 1/1/1904 to Date.
28 * @return date the corresponding <code>Date</code>
30 static public Date convert(long secondsSince) {
31 return new Date((secondsSince - 2082844800L) * 1000L);
36 * Converts a date as long to a mac date as long
38 * @param date date to conver
    [all...]
TrackMetaData.java 18 import java.util.Date;
26 private Date modificationTime = new Date();
27 private Date creationTime = new Date();
59 public Date getModificationTime() {
63 public void setModificationTime(Date modificationTime) {
67 public Date getCreationTime() {
71 public void setCreationTime(Date creationTime) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1GeneralizedTime.java 3 import java.util.Date;
13 public ASN1GeneralizedTime(Date time)
ASN1UTCTime.java 3 import java.util.Date;
13 public ASN1UTCTime(Date time)
  /external/webkit/Source/WebCore/fileapi/
Metadata.idl 36 readonly attribute Date modificationTime;
  /external/smack/src/org/jivesoftware/smackx/workgroup/
QueueUser.java 3 * $Date$
22 import java.util.Date;
37 private Date joinDate;
45 public QueueUser (String uid, int position, int time, Date joinedAt) {
81 public Date getQueueJoinTimestamp () {
  /external/apache-http/src/org/apache/http/cookie/
Cookie.java 4 * $Date: 2007-09-22 03:56:04 -0700 (Sat, 22 Sep 2007) $
34 import java.util.Date;
76 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt>
81 * @return Expiration {@link Date}, or <tt>null</tt>.
83 Date getExpiryDate();
132 * @param date Current time
136 boolean isExpired(final Date date);
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
PrivateKeyUsagePeriodTest.java 24 import java.util.Date;
34 Date notBeforeDate = new Date(200000000);
35 Date notAfterDate = new Date(300000000);
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
PrivateKeyUsagePeriod.java 25 import java.util.Date;
49 private final Date notBeforeDate;
51 private final Date notAfterDate;
55 public PrivateKeyUsagePeriod(Date notBeforeDate, Date notAfterDate) {
59 private PrivateKeyUsagePeriod(Date notBeforeDate, Date notAfterDate, byte[] encoding) {
68 public Date getNotBefore() {
75 public Date getNotAfter() {
102 return new PrivateKeyUsagePeriod((Date) values[0], (Date) values[1], in.getEncoded())
    [all...]
Validity.java 25 import java.util.Date;
47 private final Date notBefore;
49 private final Date notAfter;
53 public Validity(Date notBefore, Date notAfter) {
61 public Date getNotBefore() {
68 public Date getNotAfter() {
90 return new Validity((Date) values[0], (Date) values[1]);
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
date-format-xparb.js 14 Date.parseFunctions = {count:0};
15 Date.parseRegexes = [];
16 Date.formatFunctions = {count:0};
18 Date.prototype.dateFormat = function(format) {
19 if (Date.formatFunctions[format] == null) {
20 Date.createNewFormat(format);
22 var func = Date.formatFunctions[format];
26 Date.createNewFormat = function(format) {
27 var funcName = "format" + Date.formatFunctions.count++;
28 Date.formatFunctions[format] = funcName
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
date-format-xparb.js 14 Date.parseFunctions = {count:0};
15 Date.parseRegexes = [];
16 Date.formatFunctions = {count:0};
18 Date.prototype.dateFormat = function(format) {
19 if (Date.formatFunctions[format] == null) {
20 Date.createNewFormat(format);
22 var func = Date.formatFunctions[format];
26 Date.createNewFormat = function(format) {
27 var funcName = "format" + Date.formatFunctions.count++;
28 Date.formatFunctions[format] = funcName
    [all...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
DateSerializer.java 38 import java.util.Date;
41 * Date serializer.
48 public Date readObject(ByteBuffer data, Class c) throws IOException {
49 return new Date(data.getLong());
53 buffer.putLong(((Date)object).getTime());

Completed in 411 milliseconds

1 2 3 4 5 6 7 8 91011>>