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

<<11121314151617181920>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Object/
class-002.js 20 * Date: 14 Mar 2001
74 status = 'Date';
75 actual = getJSClass(Date);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Operators/
11.4.1-001.js 37 * Date: 14 April 2003
76 actual = delete (new Date()).y;
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/
Number.js 27 Date: Fri Feb 13 09:58:28 PST 1998
43 date = new Date(2200);
45 testcases[count++] = new TestCase( SECTION, "Number(new Date(2200)) ",
46 2200, (Number(date)));
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
ObjectViewer.java 39 import java.util.Date;
141 Date date = new Date(info.getDateCreated() * 1000); local
142 view.setText(date.toString());
144 date = new Date(info.getDateModified() * 1000);
145 view.setText(date.toString());
  /libcore/luni/src/main/java/java/sql/
SQLInput.java 153 * java.sql.Date}.
155 * @return the next attribute as a {@code java.sql.Date}. {@code null} if
159 * @see Date
161 public Date readDate() throws SQLException;
SQLOutput.java 144 * Write a {@code java.sql.Date} value into the output stream.
147 * the {@code Date} value to write.
150 * @see Date
152 public void writeDate(Date theDate) throws SQLException;
Timestamp.java 22 import java.util.Date;
28 * addition to the regular date/time value which has millisecond resolution.
30 * The {@code Timestamp} class consists of a regular date/time value, where only
35 * makes it significantly different from the {@code java.util.Date} object which
37 * interchangable with {@code java.util.Date} objects when used outside the
40 * @see Date
42 * @see java.util.Date
44 public class Timestamp extends Date {
56 * supplied values for <i>Year</i>, <i>Month</i>, <i>Date</i>, <i>Hour</i>,
195 public int compareTo(Date theObject) throws ClassCastException
    [all...]
ResultSet.java 552 * java.sql.Date}.
556 * @return a {@code java.sql.Date} matching the column value. {@code null}
561 public Date getDate(int columnIndex) throws SQLException;
565 * java.sql.Date}. This method uses a supplied calendar to compute the Date.
570 * a {@code java.util.Calendar} to use in constructing the Date.
571 * @return a {@code java.sql.Date} matching the column value. {@code null}
576 public Date getDate(int columnIndex, Calendar cal) throws SQLException;
580 * java.sql.Date}.
584 * @return a {@code java.sql.Date} matching the column value. {@code null
    [all...]
  /libcore/luni/src/main/java/java/text/
SimpleDateFormat.java 26 import java.util.Date;
37 * manner. Formatting turns a {@link Date} into a {@link String}, and parsing turns a
38 * {@code String} into a {@code Date}.
52 * to the ISO 8601 international standard date format.
84 * <tr> <td>{@code '}</td> <td>escape for text</td> <td>(Delimiter)</td> <td>'Date='</td> </tr>
137 * System.err.println(df.format(new Date(0)));
160 * System.err.format("%30s %s\n", format, sdf.format(new Date(0)));
162 * System.err.format("%30s %s\n", format, sdf.format(new Date(0)));
181 * This is because it's called upon to format instances of {@code Date}, which represents an
182 * absolute time in UTC. That is, {@code Date} does not carry time zone information
    [all...]
  /libcore/luni/src/test/java/libcore/net/http/
ParsedHeadersTest.java 20 import java.util.Date;
35 headers.add("DATE", "Thu, 01 Jan 1970 00:00:01 UTC");
42 assertEquals(new Date(1000), parsedHeaders.getServedDate());
43 assertEquals(new Date(2000), parsedHeaders.getExpires());
44 assertEquals(new Date(3000), parsedHeaders.getLastModified());
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DownloadAdapter.java 38 import java.util.Date;
118 Date date = new Date(mCursor.getLong(mDateColumnId)); local
119 if (date.before(getStartOfToday())) {
120 return mDateFormat.format(date);
122 return mTimeFormat.format(date);
126 private Date getStartOfToday() {
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/
X509CertImplTest.java 38 import java.util.Date;
272 new Validity(new Date(notBefore), new Date(notAfter));
335 * checkValidity(Date date) method testing.
339 certificate.checkValidity(new Date(3000000000L));
346 certificate.checkValidity(new Date(100000000L));
353 certificate.checkValidity(new Date(1000000000L));
354 certificate.checkValidity(new Date(1500000000L));
355 certificate.checkValidity(new Date(2000000000L))
    [all...]
X509CertFactoryPerfTest.java 246 new Validity(new Date(notBefore), new Date(notAfter));
425 * checkValidity(Date date) method testing.
429 certificate.checkValidity(new Date(3000000000L));
436 certificate.checkValidity(new Date(100000000L));
443 certificate.checkValidity(new Date(1000000000L));
444 certificate.checkValidity(new Date(1500000000L));
445 certificate.checkValidity(new Date(2000000000L));
509 assertEquals("Incorrect notBefore date",
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldSimpleDateFormatTest.java 25 import java.util.Date;
54 public void parse(String pattern, String input, Date expected, int start, int end) {
57 Date result = pFormat.parse(input, position);
66 String expected2, Date date) {
70 format.format(date));
74 format.format(date));
92 f2.format(new Date()).getClass() == String.class);
119 f2.format(new Date()).getClass() == String.class);
210 format.format(new Date());
    [all...]
  /libcore/luni/src/main/java/javax/sql/
RowSet.java 27 import java.sql.Date;
831 * with the value of a supplied {@code java.sql.Date}.
837 * the date value to which the parameter is set
    [all...]
  /external/v8/test/mjsunit/
date-parse.js 35 var d = Date.parse(string);
43 var d = Date.parse("parse-local-time:" + string);
53 var d = Date.parse(string);
71 // Ignore prefix that is not part of a date.
235 // Test different version of the ES5 date time string format.
271 // ES5 date time string format compliance.
274 assertTrue(isNaN(Date.parse(s)), s + " is not NaN.");
278 // Test that we can parse our own date format.
282 var s = (new Date(ms)).toString();
283 assertEquals(ms, Date.parse(s), "parse own: " + s)
    [all...]
function-names.js 51 // Date functions.
54 TestFunctionNames(Date, dateFunctions);
57 // Date.prototype functions.
71 TestFunctionNames(Date.prototype, datePrototypeFunctions);
  /external/chromium/chrome/browser/resources/net_internals/
testview.js 42 (new Date()).toLocaleString());
78 startTime: (new Date()).getTime()
106 var endTime = (new Date()).getTime();
  /libcore/luni/src/main/java/java/security/cert/
X509CertSelector.java 27 import java.util.Date;
59 private Date certificateValid;
61 private Date privateKeyValid;
399 * Sets the criterion for the validity date of the certificate.
401 * The certificate must be valid at the specified date.
403 * the validity date or {@code null} to not check the date.
405 public void setCertificateValid(Date certificateValid) {
408 : (Date) certificateValid.clone();
412 * Returns the criterion for the validity date of the certificate
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsReport.java 32 import java.util.Date;
92 xml.attribute(null, "creation-time", DATE_FORMAT.format(new Date()));
  /cts/tools/signature-tools/src/signature/io/html/
HtmlDeltaExternalizer.java 35 import java.util.Date;
61 .format(new Date()));
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStoreSpiTest.java 33 import java.util.Date;
123 assertEquals("engineGetCreationDate(..) must return Date(0)",
124 new Date(0), ksSpi.engineGetCreationDate(""));
  /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
TimestampTest.java 21 import java.util.Date;
82 // ...this is accepted despite being a crazy date specification
83 // ...it is treated as the correct format date 3000-06-08 12:40:06.875 !!
375 String date = "1970-01-01 22:17:59.0 "; local
376 Timestamp t = Timestamp.valueOf(date);
632 * @tests java.sql.Timestamp#compareTo(java.util.Date)
635 Date theTest = new Timestamp(TIME_EARLY);
636 Date theTest2 = new Timestamp(TIME_LATE);
640 Date theTimestamp2 = new Timestamp(element);
648 Date date = new Date(1000000)
    [all...]
  /external/jsilver/src/org/clearsilver/
DelegatedHdf.java 21 import java.util.Date;
123 String hdfname, TimeZone timeZone, Date date) {
124 getHdf().exportDate(hdfname, timeZone, date);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.3.1-5.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...]

Completed in 486 milliseconds

<<11121314151617181920>>