/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(""));
|
KeyStoreTest.java | 41 import java.util.Date; 284 public void checkValidity(Date p) throws CertificateExpiredException, CertificateNotYetValidException {} 297 public Date getNotBefore() { 300 public Date getNotAfter() {
|
/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/chromium_org/chrome/browser/resources/ntp4/ |
logging.js | 23 eventLog.push([name, Date.now()]);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/cookies/ |
manager.js | 11 this.start_ = new Date(); 14 return (new Date()) - this.start_; 18 this.start_ = new Date(); 243 start = new Date();
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/notifications/ |
background.js | 11 var time = /(..)(:..)/.exec(new Date()); // The prettyprinted time.
|
/external/chromium_org/v8/test/mjsunit/ |
function-names.js | 51 // Date functions. 54 TestFunctionNames(Date, dateFunctions); 57 // Date.prototype functions. 71 TestFunctionNames(Date.prototype, datePrototypeFunctions);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2185-2.js | 47 var start = new Date(); 49 var end = new Date(); 123 var start = new Date(); 125 var end = new Date();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/ |
RSSFeedCreateFeedTask.java | 18 import java.util.Date; 122 return DateUtils.format(new Date(), DateUtils.ISO8601_DATETIME_PATTERN) + "Z"; //$NON-NLS-1$
|
/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/v8/test/mjsunit/ |
function-names.js | 51 // Date functions. 54 TestFunctionNames(Date, dateFunctions); 57 // Date.prototype functions. 71 TestFunctionNames(Date.prototype, datePrototypeFunctions);
|
/frameworks/base/core/java/com/android/internal/os/ |
SamplingProfilerIntegration.java | 31 import java.util.Date; 104 Log.e(TAG, "SamplingProfilerIntegration already started at " + new Date(startMillis));
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
GrainFilter.java | 33 import java.util.Date; 98 mRandom = new Random(new Date().getTime());
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
BatteryWaster.java | 33 import java.util.Date; 161 mLog.setText(mLog.getText() + "\n" + mDateFormat.format(new Date()) + ": " + s);
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
Tracer.java | 26 import java.util.Date; 72 mOut.printf("%s %s\n", mDateFormat.format(new Date()), message);
|
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
Tracer.java | 26 import java.util.Date; 72 mOut.printf("%s %s\n", mDateFormat.format(new Date()), message);
|
/libcore/luni/src/main/java/java/sql/ |
PreparedStatement.java | 307 * java.sql.Date} value. 313 * a {@code java.sql.Date} to which the parameter at {@code 318 public void setDate(int parameterIndex, Date theDate) throws SQLException; 322 * java.sql.Date} value, using a supplied {@code Calendar} to map the Date. 324 * to compute the SQL {@code DATE} in the database - without the supplied 332 * a {@code java.sql.Date} to which the parameter at {@code 335 * a {@code Calendar} to use to construct the SQL {@code DATE} 339 * @see Date 342 public void setDate(int parameterIndex, Date theDate, Calendar cal [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
XMLFormatter.java | 21 import java.util.Date; 52 // format to date 53 String date = MessageFormat.format("{0, date} {0, time}", new Object[] { new Date(time) }); local 58 append(sb, 1, "date", date);
|
/libcore/luni/src/test/java/libcore/java/text/ |
DateFormatSymbolsTest.java | 26 import java.util.Date; 80 return sdf.format(new Date(0)); 130 // that use icu4c's probably-out-of-date time zone transition data.
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldTimeZoneTest.java | 21 import java.util.Date; 40 public boolean inDaylightTime(Date date) {
|
/libcore/luni/src/test/java/tests/api/java/util/ |
SimpleTimeZoneTest.java | 21 import java.util.Date; 397 * java.util.SimpleTimeZone#inDaylightTime(java.util.Date) 401 // java.util.SimpleTimeZone.inDaylightTime(java.util.Date) 416 Date date = new Date(gc.getTime().getTime() + 1000); local 418 .inDaylightTime(date)); 422 date = new Date(gc.getTime().getTime() - 1000); 424 .inDaylightTime(date)); [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapStringTest.java | 30 import java.util.Date; 95 final ImapString date = new ImapSimpleString("01-Jan-2009 11:34:56 -0100"); local 97 assertTrue(date.isDate()); 98 Date d = date.getDateOrNull();
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountPreferenceBase.java | 20 import java.util.Date; 177 protected String formatSyncDate(Date date) { 179 return mDateFormat.format(date) + " " + mTimeFormat.format(date);
|
/packages/experimental/NotificationLog/src/com/android/notificationlog/ |
NotificationLogActivity.java | 22 import java.util.Date; 107 time.setText(new Date(evt.getTimeNanos()/1000000).toString());
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/idle/idle_simple/ |
history.js | 9 var now = new Date().getTime(); 45 var time = new Date();
|