/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DateTest.java | 20 import java.sql.Date; 27 * JUnit Testcase for the java.sql.Date class 56 // Date strings 72 // Date string array for London (GMT) 76 // Date string array for New York - sometimes a day earlier than London 80 // Date string for Tokyo 97 * Helper method to create a long milliseconds time from a supplied date and 100 static private long getTime(int year, int month, int date, int hour, 102 aCal.set(year, month, date, hour, minute, second); 107 * Test of the Date(int, int, int) constructor - now deprecated but stil [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyUtils.java | 26 private static final java.util.Date DATE = new java.util.Date(); 37 DATE.setTime(time); 38 return DATE_FORMATTER.format(DATE);
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssItem.java | 19 import java.util.Date; 27 public Date lastUpdated;
|
/external/apache-http/src/org/apache/http/client/ |
CookieStore.java | 4 * $Date: 2007-12-15 06:45:48 -0800 (Sat, 15 Dec 2007) $ 33 import java.util.Date; 65 * the specified {@link java.util.Date date}. 69 boolean clearExpired(Date date);
|
/external/apache-http/src/org/apache/http/cookie/ |
SetCookie.java | 4 * $Date: 2008-01-31 11:26:47 -0800 (Thu, 31 Jan 2008) $ 34 import java.util.Date; 59 * Sets expiration date. 64 * @param expiryDate the {@link Date} after which this cookie is no longer valid. 69 void setExpiryDate (Date expiryDate);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.2.2-1.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(1970,0,1,0,0,0)", (new Date()).toString(), Date(1970,0,1,0,0,0) ); 55 array[item++] = new TestCase( SECTION, "Date(1969,11,31,15,59,59)", (new Date()).toString(), Date(1969,11,31,15,59,59) [all...] |
15.9.2.2-3.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(1899,11,31,23,59,59)", (new Date()).toString(), Date(1899,11,31,23,59,59)); 55 array[item++] = new TestCase( SECTION, "Date(1900,0,1,0,0,0)", (new Date()).toString(), Date(1900,0,1,0,0,0) ) [all...] |
15.9.2.2-5.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(2004,11,31,23,59,59)", (new Date()).toString(), Date(2004,11,31,23,59,59)); 54 array[item++] = new TestCase( SECTION, "Date(2005,0,1,0,0,0)", (new Date()).toString(), Date(2005,0,1,0,0,0) ) [all...] |
15.9.2.2-6.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(2031,11,31,23,59,59)", (new Date()).toString(), Date(2031,11,31,23,59,59)); 54 array[item++] = new TestCase( SECTION, "Date(2032,0,1,0,0,0)", (new Date()).toString(), Date(2032,0,1,0,0,0) ) [all...] |
15.9.4.3.js | 26 var TITLE = "Date.UTC( year, month, date, hours, minutes, seconds, ms )"; 34 this.date = 0; 41 function utc( year, month, date, hours, minutes, seconds, ms ) { 47 if (date) 48 d.date = Number(date); 62 if (isNaN(month) || isNaN(year) || isNaN(date) || isNaN(hours) || 66 d.date = Number.NaN; 77 d.day = MakeDay( d.year, d.month, d.date ); [all...] |
15.9.3.1-1.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 26 object is set to the original Date prototype object, 27 the one that is the initial value of Date.prototype. 33 3. Call ToNumber(date) 50 Date object. 53 Date: 7 july 1997 59 var TITLE = "new Date( year, month, date, hours, minutes, seconds, ms )"; 73 var DATE = 11 [all...] |
15.9.5.js | 24 ECMA Section: 15.9.5 Properties of the Date prototype object 27 The Date prototype object is itself a Date object (its [[Class]] is 28 "Date") whose value is NaN. 30 The value of the internal [[Prototype]] property of the Date prototype 33 In following descriptions of functions that are properties of the Date 34 prototype object, the phrase "this Date object" refers to the object that 37 [[Class]] property is "Date". Also, the phrase "this time value" refers 38 to the number value for the time represented by this Date object, that is, 39 the value of the internal [[Value]] property of this Date object [all...] |
15.9.5.5.js | 25 Description: Date.prototype.getYear 36 Date: 12 november 1997 42 var TITLE = "Date.prototype.getYear()"; 51 var now = (new Date()).valueOf(); 65 "(new Date(NaN)).getYear()", 67 (new Date(NaN)).getYear() ); 70 "Date.prototype.getYear.length", 72 Date.prototype.getYear.length ); 77 "(new Date("+t+")).getYear()", 79 (new Date(t)).getYear() ) [all...] |
15.9.5.6.js | 25 Description: Date.prototype.getFullYear 31 Date: 12 november 1997 37 var TITLE = "Date.prototype.getFullYear()"; 46 var now = (new Date()).valueOf(); 66 "(new Date(NaN)).getFullYear()", 68 (new Date(NaN)).getFullYear() ); 71 "Date.prototype.getFullYear.length", 73 Date.prototype.getFullYear.length ); 78 "(new Date("+t+")).getFullYear()", 80 (new Date(t)).getFullYear() ) [all...] |
15.9.5.7.js | 25 Description: Date.prototype.getUTCFullYear 31 Date: 12 november 1997 37 var TITLE = "Date.prototype.getUTCFullYear()"; 46 var now = (new Date()).valueOf(); 66 "(new Date(NaN)).getUTCFullYear()", 68 (new Date(NaN)).getUTCFullYear() ); 71 "Date.prototype.getUTCFullYear.length", 73 Date.prototype.getUTCFullYear.length ); 78 "(new Date("+t+")).getUTCFullYear()", 80 (new Date(t)).getUTCFullYear() ) [all...] |
15.9.5.8.js | 25 Description: Date.prototype.getMonth 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getMonth()"; 47 var now = (new Date()).valueOf(); 67 "(new Date(NaN)).getMonth()", 69 (new Date(NaN)).getMonth() ); 72 "Date.prototype.getMonth.length", 74 Date.prototype.getMonth.length ); 82 "(new Date("+t+")).getMonth()", 84 (new Date(t)).getMonth() ) [all...] |
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
Condition.java | 9 import java.util.Date; 385 * boolean aMethod(Date deadline) { 421 boolean awaitUntil(Date deadline) throws InterruptedException;
|
/cts/tests/tests/net/src/android/net/http/cts/ |
SslCertificate_DNameTest.java | 20 import java.util.Date; 32 Date date1 = new Date(System.currentTimeMillis() - 1000); 33 Date date2 = new Date(System.currentTimeMillis());
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
Timestamp_ImplTest.java | 26 import java.util.Date; 40 private Date now = new Date();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
TimeTest.java | 20 import java.util.Date; 40 // verify that date before 2050 encoded as UTCTime 41 byte[] enc = Time.ASN1.encode(new Date(march2006)); 44 // verify that date after 2050 encoded as GeneralizedTime 45 enc = Time.ASN1.encode(new Date(march2332));
|
/external/smack/src/org/jivesoftware/smackx/muc/ |
DiscussionHistory.java | 6 * $Date$ 25 import java.util.Date; 53 private Date since; 85 * Returns the since date to use to filter the messages received during that time. 89 * @return the since date to use to filter the messages received during that time. 91 public Date getSince() { 126 * Sets the since date to use to filter the messages received during that time. 130 * @param since the since date to use to filter the messages received during that time. 132 public void setSince(Date since) {
|
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
RevokedOffer.java | 3 * $Date$
22 import java.util.Date;
37 private Date timestamp;
49 String reason, Date timestamp) {
95 public Date getTimestamp() {
|
QueueUsersListener.java | 3 * $Date$
22 import java.util.Date;
46 * The date of oldest entry waiting in the queue was updated.
49 * @param oldestEntry the date of the oldest entry waiting in the queue.
51 public void oldestEntryUpdated(WorkgroupQueue queue, Date oldestEntry);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
InvalidityDate.java | 21 import java.util.Date; 26 * CRL Entry's Invalidity Date Extension (OID = 2.5.29.24). 35 /** invalidity date value */ 36 private final Date date; field in class:InvalidityDate 43 date = (Date) ASN1.decode(encoding); 47 * Returns the invalidity date. 49 public Date getDate() { 50 return date; [all...] |
/frameworks/base/keystore/java/android/security/ |
KeyPairGeneratorSpec.java | 26 import java.util.Date; 61 private final Date mStartDate; 63 private final Date mEndDate; 81 * {@code serialNumber}, and the validity date starting at {@code startDate} 90 * @param endDate the end date of the self-signed certificate validity 97 X500Principal subjectDN, BigInteger serialNumber, Date startDate, Date endDate, 156 * Gets the start date to be used on the X.509 certificate that will be put 159 public Date getStartDate() { 164 * Gets the end date to be used on the X.509 certificate that will be put i [all...] |