/cts/tests/tests/net/src/android/net/http/cts/ |
SslCertificate_DNameTest.java | 20 import java.util.Date; 69 Date date1 = new Date(System.currentTimeMillis() - 1000); 70 Date date2 = new Date(System.currentTimeMillis());
|
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/ |
DateTimeField.java | 31 import java.util.Date;
34 private Date date;
field in class:DateTimeField 37 protected DateTimeField(String name, String body, String raw, Date date, ParseException parseException) {
39 this.date = date;
43 public Date getDate() {
44 return date;
55 Date date = null; local [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TimeUtil.java | 19 import java.util.Date; 68 return dateFormat.format(new Date(time)); 78 return dateFormat.format(new Date());
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
CodeSigner_ImplTest.java | 27 import java.util.Date; 39 private Date now = new Date();
|
/libcore/luni/src/main/java/libcore/net/http/ |
HttpDate.java | 22 import java.util.Date; 45 * If we fail to parse a date in a non-standard format, try each of these formats in sequence. 68 * Returns the date for {@code value}. Returns null if the value couldn't be 71 public static Date parse(String value) { 88 public static String format(Date value) {
|
/packages/apps/Email/emailcommon/src/org/apache/commons/io/filefilter/ |
AgeFileFilter.java | 21 import java.util.Date;
78 * a certain cutoff date.
82 public AgeFileFilter(Date cutoffDate) {
88 * of a certain cutoff date.
94 public AgeFileFilter(Date cutoffDate, boolean acceptOlder) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.4-1.js | 24 ECMA Section: 15.9.5.4-1 Date.prototype.getTime 27 1. If the this value is not an object whose [[Class]] property is "Date", 31 Date: 12 november 1997 36 var TITLE = "Date.prototype.getTime"; 43 var now = (new Date()).valueOf(); 59 "(new Date("+t+").getTime()", 61 (new Date(t)).getTime() ); 64 "(new Date("+(t+1)+").getTime()", 66 (new Date(t+1)).getTime() ); 69 "(new Date("+(t-1)+").getTime()" [all...] |
15.9.5.1.js | 24 ECMA Section: 15.9.5.1 Date.prototype.constructor 26 The initial value of Date.prototype.constructor is the built-in Date 30 Date: 12 november 1997 36 var TITLE = "Date.prototype.constructor"; 43 "Date.prototype.constructor == Date", 45 Date.prototype.constructor == Date );
|
15.9.5.10-1.js | 25 Description: Date.prototype.getDate 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getDate()"; 47 var now = (new Date()).valueOf(); 85 "(new Date(NaN)).getDate()", 87 (new Date(NaN)).getDate() ); 90 "Date.prototype.getDate.length", 92 Date.prototype.getDate.length ); 98 "(new Date("+t+")).getDate()", 100 (new Date(t)).getDate() ) [all...] |
15.9.5.10-10.js | 25 Description: Date.prototype.getDate 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getDate()"; 47 var now = (new Date()).valueOf(); 72 "(new Date(NaN)).getDate()", 74 (new Date(NaN)).getDate() ); 77 "Date.prototype.getDate.length", 79 Date.prototype.getDate.length ); 85 "(new Date("+t+")).getDate()", 87 (new Date(t)).getDate() ) [all...] |
15.9.5.10-11.js | 25 Description: Date.prototype.getDate 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getDate()"; 47 var now = (new Date()).valueOf(); 71 "(new Date(NaN)).getDate()", 73 (new Date(NaN)).getDate() ); 76 "Date.prototype.getDate.length", 78 Date.prototype.getDate.length ); 84 "(new Date("+t+")).getDate()", 86 (new Date(t)).getDate() ) [all...] |
15.9.5.10-12.js | 25 Description: Date.prototype.getDate 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getDate()"; 47 var now = (new Date()).valueOf(); 70 "(new Date(NaN)).getDate()", 72 (new Date(NaN)).getDate() ); 75 "Date.prototype.getDate.length", 77 Date.prototype.getDate.length ); 83 "(new Date("+t+")).getDate()", 85 (new Date(t)).getDate() ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
15.9.5.3.js | 24 ECMA Section: 15.9.5.3 Date.prototype.toDateString() 27 implementation dependent, but are intended to represent the "date" 28 portion of the Date in the current time zone in a convenient, 30 but can verify that the string is parsable by Date.parse 33 if its 'this' value is not a Date object. Therefore it cannot be transferred 37 Date: 14 november 2000 (adapted from ecma/Date/15.9.5.2.js) 42 var TITLE = "Date.prototype.toDateString()"; 65 status = "Date.prototype.toDateString.length"; 66 actual = Date.prototype.toDateString.length [all...] |
15.9.5.6.js | 24 ECMA Section: 15.9.5.6 Date.prototype.toLocaleDateString() 27 implementation dependent, but are intended to represent the "date" 28 portion of the Date in the current time zone in a convenient, 30 but can verify that the string is parsable by Date.parse 33 if its 'this' value is not a Date object. Therefore it cannot be transferred 37 Date: 14 november 2000 42 var TITLE = "Date.prototype.toLocaleDateString()"; 65 status = "Date.prototype.toLocaleDateString.length"; 66 actual = Date.prototype.toLocaleDateString.length; 70 /* Date.parse is accurate to the second; valueOf() to the millisecond [all...] |
/libcore/luni/src/main/java/java/sql/ |
Date.java | 21 * A class which can consume and produce dates in SQL {@code Date} format. 23 * Dates are represented in SQL as {@code yyyy-MM-dd}. Note that this date 27 * This is unlike the familiar {@code java.util.Date} object, which also includes 32 * java.sql.Date} class are "normalized" to the time 00:00:00.000 GMT on the 33 * date implied by the time value. 36 public class Date extends java.util.Date { 41 * Constructs a {@code Date} object corresponding to the supplied year, 44 * @deprecated Use the constructor {@link #Date(long)}. 55 public Date(int theYear, int theMonth, int theDay) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
CodeSignerTest.java | 27 import java.util.Date; 45 Timestamp ts = new Timestamp(new Date(1146633204309L), cpath);
|
TimestampTest.java | 26 import java.util.Date; 44 return new Object[] { new Timestamp(new Date(1146633251341L), cpath) };
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicMaxAgeHandler.java | 4 * $Date: 2007-10-04 08:53:50 -0700 (Thu, 04 Oct 2007) $ 33 import java.util.Date; 63 cookie.setExpiryDate(new Date(System.currentTimeMillis() + age * 1000L));
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/ |
date-001.js | 2 File Name: date-001.js 4 ECMA Section: 15.9.5.2 Date.prototype.toString 7 implementation dependent, but are intended to represent the Date in a 11 this value is not a Date object. Therefore it cannot be transferred to 19 Date: 12 november 1997 21 var SECTION = "date-001"; 23 var TITLE = "Date.prototype.toString"; 36 var OBJ = new MyObject( new Date(0) ); 45 "OBJECT = new MyObject( new Date(0)) ; result = OBJ.toString()" + 55 this.toString = Date.prototype.toString [all...] |
date-003.js | 2 File Name: date-003.js 4 ECMA Section: 15.9.5.3-1 Date.prototype.valueOf 10 its this value is not a Date object. Therefore it cannot be transferred 14 Date: 12 november 1997 16 var SECTION = "date-003"; 18 var TITLE = "Date.prototype.valueOf"; 31 var OBJ = new MyObject( new Date(0) ); 40 "OBJ = new MyObject( new Date(0)); OBJ.valueOf()" + 49 this.valueOf = Date.prototype.valueOf;
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/kerberos/ |
KerberosUtilsTest.java | 20 import java.util.Date; 48 new Date(1000), null, new Date(new Date().getTime() + 1000), null, null);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 25 import java.util.Date; 39 private Date now = new Date(); 73 Timestamp two1 = new Timestamp(new Date(9999), cpath);
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509AttributeCertificate.java | 14 import java.util.Date; 37 * Return the date before which the certificate is not valid. 39 * @return the "not valid before" date. 41 public Date getNotBefore(); 44 * Return the date after which the certificate is not valid. 46 * @return the "not valid afer" date. 48 public Date getNotAfter(); 84 public void checkValidity(Date date)
|
/external/chromium/chrome/browser/debugger/manual_tests/resources/ |
fib.js | 6 var started = Date.now(); 10 if (Date.now() - started >= 100) {
|
/external/v8/test/mjsunit/ |
to_number_order.js | 61 var date = { valueOf: function() { x += 3; return 4; } }; 68 new Date(year, month, date, hours, minutes, seconds, ms); 70 assertEquals("1234567", x, "Date"); 73 Date(year, month, date, hours, minutes, seconds, ms); 74 assertEquals("", x, "Date not constructor"); 77 Date.UTC(year, month, date, hours, minutes, seconds, ms); 79 assertEquals("1234567", x, "Date.UTC") [all...] |