Home
last modified time | relevance | path

Searched refs:Date (Results 1 – 25 of 654) sorted by relevance

12345678910>>...27

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DDateTest.java21 import java.util.Date;
27 static class MockDate extends Date{
51 long now = new Date().getTime(); in test_Constructor()
61 Date d1 = new Date(70, 0, 1); // the epoch + local time in test_ConstructorIII()
64 Date d2 = new Date(0 + d1.getTimezoneOffset() * 60 * 1000); in test_ConstructorIII()
68 Date date = new Date(99, 5, 22); in test_ConstructorIII()
80 Date d1 = new Date(70, 0, 1, 1, 1); in test_ConstructorIIIII()
83 Date d2 = new Date(0 + d1.getTimezoneOffset() * 60 * 1000 + 60 * 60 in test_ConstructorIIIII()
96 Date d1 = new Date(70, 0, 1, 1, 1, 1); in test_ConstructorIIIIII()
99 Date d2 = new Date(0 + d1.getTimezoneOffset() * 60 * 1000 + 60 * 60 in test_ConstructorIIIIII()
[all …]
DTimerTest.java20 import java.util.Date;
350 Date d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date()
366 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date()
383 d = new Date(-100); in test_scheduleLjava_util_TimerTaskLjava_util_Date()
398 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date()
425 d = new Date(-100); in test_scheduleLjava_util_TimerTaskLjava_util_Date()
441 d = new Date(System.currentTimeMillis() + 200); in test_scheduleLjava_util_TimerTaskLjava_util_Date()
455 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date()
459 d = new Date(System.currentTimeMillis() + 150); in test_scheduleLjava_util_TimerTaskLjava_util_Date()
463 d = new Date(System.currentTimeMillis() + 70); in test_scheduleLjava_util_TimerTaskLjava_util_Date()
[all …]
DFormatterTest.java37 import java.util.Date;
922 f.format("head%1$n%2$n", 1, new Date()); in test_formatLjava_lang_String$Ljava_lang_Object_LineSeparator()
1397 new Double(1.1d), "string content", new Float(1.1f), new Date() }; in test_formatLjava_lang_String$Ljava_lang_Object_CharacterConversion()
1720 Date now = new Date(1147327147578L); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
1735 {new Date(1147327147578L), 'a', "Do."}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
1741 {new Date(1147327147578L), 'b', "Mai"}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
1747 … {new Date(1147327147578L), 'c', "Do. Mai 11 13:59:07 GMT+08:00 2006"}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
1753 {new Date(1147327147578L), 'd', "11"}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
1759 {new Date(1147327147578L), 'e', "11"}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
1765 {new Date(1147327147578L), 'h', "Mai"}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
[all …]
/external/chromium_org/v8/test/webkit/
Ddate-parse-comments-test-expected.txt29 PASS Date.parse("Dec ((27) 26 (24)) 25 1995 1:30 PM UTC") == 819898200000 is true
30 PASS Date.parse("DEC ((27) 26 (24)) 25 1995 1:30 PM UTC") == 819898200000 is true
31 PASS Date.parse("dec ((27) 26 (24)) 25 1995 1:30 pm utc") == 819898200000 is true
32 PASS Date.parse("Dec 25 1995 1:30 PM UTC (") == 819898200000 is true
33 PASS Date.parse("DEC 25 1995 1:30 PM UTC (") == 819898200000 is true
34 PASS Date.parse("dec 25 1995 1:30 pm utc (") == 819898200000 is true
35 PASS Date.parse("Dec 25 1995 1:30 (PM)) UTC") is NaN
36 PASS Date.parse("DEC 25 1995 1:30 (PM)) UTC") is NaN
37 PASS Date.parse("dec 25 1995 1:30 (pm)) utc") is NaN
38 PASS Date.parse("(Nov) Dec (24) 25 (26) 1995 (1996) GMT (EST)") == 819849600000 is true
[all …]
Ddate-constructor-expected.txt24 …s test case tests the Date constructor. In particular, it tests many cases of creating a Date from…
29 PASS isNaN(new Date("")) is true
30 PASS new Date(1111).getTime() is 1111
31 PASS new Date(object).getTime() is 1111
32 PASS new Date(new Date(1111)).getTime() is 1111
33 PASS new Date(new Date(1111).toString()).getTime() is 1000
34 PASS new Date(1111, 1).getTime() - timeZoneOffset is -27104803200000
35 PASS new Date(1111, 1, 1).getTime() - timeZoneOffset is -27104803200000
36 PASS new Date(1111, 1, 1, 1).getTime() - timeZoneOffset is -27104799600000
37 PASS new Date(1111, 1, 1, 1, 1).getTime() - timeZoneOffset is -27104799540000
[all …]
Ddate-utc-timeclip-expected.txt24 Date.UTC() should apply TimeClip operation according to ECMA-262.
29 PASS Date.UTC(275760, 8, 12, 23, 59, 59, 999) is 8639999999999999
30 PASS Date.UTC(275760, 8, 13) is 8640000000000000
31 PASS isNaN(Date.UTC(275760, 8, 13, 0, 0, 0, 1)) is true
32 PASS isNaN(Date.UTC(275760, 8, 14)) is true
33 PASS Date.UTC(-271821, 3, 20, 0, 0, 0, 1) is -8639999999999999
34 PASS Date.UTC(-271821, 3, 20) is -8640000000000000
35 PASS isNaN(Date.UTC(-271821, 3, 19, 23, 59, 59, 999)) is true
36 PASS isNaN(Date.UTC(-271821, 3, 19)) is true
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DDateTest.java20 import java.sql.Date;
118 Date theDate = new Date(init1[i], init2[i], init3[i]); in testDateintintint()
134 Date theDate = new Date(element); in testDatelong()
146 Date theDate = new Date(TIME_TESTDATE1); in testGetHours()
161 Date theDate = new Date(TIME_TESTDATE1); in testGetMinutes()
176 Date theDate = new Date(TIME_TESTDATE1); in testGetSeconds()
191 Date theDate = new Date(TIME_TESTDATE1); in testSetHours()
206 Date theDate = new Date(TIME_TESTDATE1); in testSetMinutes()
222 Date theDate = new Date(TIME_TESTDATE1); in testSetSeconds()
250 Date theDate = new Date(theDates[i]); in testToString()
[all …]
/external/chromium_org/v8/test/webkit/fast/js/kde/
Dinbuilt_function_proto-expected.txt73 PASS Date.prototype.toString.__proto__ is Function.prototype
74 PASS Date.prototype.toUTCString.__proto__ is Function.prototype
75 PASS Date.prototype.toDateString.__proto__ is Function.prototype
76 PASS Date.prototype.toTimeString.__proto__ is Function.prototype
77 PASS Date.prototype.toLocaleString.__proto__ is Function.prototype
78 PASS Date.prototype.toLocaleDateString.__proto__ is Function.prototype
79 PASS Date.prototype.toLocaleTimeString.__proto__ is Function.prototype
80 PASS Date.prototype.valueOf.__proto__ is Function.prototype
81 PASS Date.prototype.getTime.__proto__ is Function.prototype
82 PASS Date.prototype.getFullYear.__proto__ is Function.prototype
[all …]
/external/libusb/
DChangeLog3 Date: Tue May 4 19:01:59 2010 -0300
9 Date: Thu Apr 22 18:12:51 2010 -0300
18 Date: Tue Apr 20 20:14:09 2010 -0300
24 Date: Tue Apr 20 19:43:06 2010 -0300
33 Date: Mon Apr 19 19:36:55 2010 -0300
39 Date: Mon Apr 19 19:31:12 2010 -0300
45 Date: Mon Apr 19 19:22:46 2010 -0300
54 Date: Mon Apr 5 17:11:32 2010 +0200
76 Date: Tue Mar 23 16:22:08 2010 -0600
82 Date: Mon Mar 8 10:50:51 2010 +0000
[all …]
/external/libusb-compat/
DChangeLog3 Date: Thu Jul 9 22:15:32 2009 +0100
9 Date: Thu Jul 9 22:13:45 2009 +0100
20 Date: Fri Jun 19 22:11:02 2009 +0100
43 Date: Thu Jun 11 23:50:59 2009 +0100
49 Date: Fri May 29 12:28:05 2009 -0400
55 Date: Thu May 28 09:28:50 2009 -0400
61 Date: Wed May 27 15:39:54 2009 -0400
71 Date: Sat Dec 13 20:30:54 2008 +0000
77 Date: Sat Dec 13 20:25:27 2008 +0000
94 Date: Fri Nov 21 16:52:42 2008 +0000
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
DTrackMetaData.java18 import java.util.Date;
26 private Date modificationTime = new Date();
27 private Date creationTime = new Date();
59 public Date getModificationTime() { in getModificationTime()
63 public void setModificationTime(Date modificationTime) { in setModificationTime()
67 public Date getCreationTime() { in getCreationTime()
71 public void setCreationTime(Date creationTime) { in setCreationTime()
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/
DUNCOVERED51 Date.toDateString
52 Date.toTimeString
53 Date.getUTCFullYear
54 Date.getUTCMonth
55 Date.getUTCDate
56 Date.getUTCDay
57 Date.getUTCSeconds
58 Date.getMilliseconds
59 Date.getUTCMilliseconds
60 Date.set*
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/
DTranscripts.java114 private Date joinTime;
115 private Date leftTime;
118 …public TranscriptSummary(String sessionID, Date joinTime, Date leftTime, List<AgentDetail> agentDe… in TranscriptSummary()
140 public Date getJoinTime() { in getJoinTime()
149 public Date getLeftTime() { in getLeftTime()
192 private Date joinTime;
193 private Date leftTime;
195 public AgentDetail(String agentJID, Date joinTime, Date leftTime) { in AgentDetail()
215 public Date getJoinTime() { in getJoinTime()
224 public Date getLeftTime() { in getLeftTime()
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
DX509CRLSelectorTest.java36 import java.util.Date;
59 private Date thisUpdate = null;
60 private Date nextUpdate = null;
66 public TestCRL(Date thisUpdate, Date nextUpdate) { in TestCRL()
74 public void setUpdateDates(Date thisUpdate, Date nextUpdate) { in setUpdateDates()
142 public Date getThisUpdate() { in getThisUpdate()
146 public Date getNextUpdate() { in getNextUpdate()
401 TestCRL crl = new TestCRL(new Date(200), new Date(300)); in testSetDateAndTime()
405 selector.setDateAndTime(new Date(200)); in testSetDateAndTime()
408 selector.setDateAndTime(new Date(250)); in testSetDateAndTime()
[all …]
/external/chromium_org/v8/test/webkit/fast/js/
Ddate-toisostring-expected.txt24 Tests for Date.toISOString
29 PASS Date.toISOString.call({}) threw exception TypeError: Cannot call method 'call' of undefined.
30 PASS Date.toISOString.call(0) threw exception TypeError: Cannot call method 'call' of undefined.
31 PASS new Date(-400).toISOString() is '1969-12-31T23:59:59.600Z'
32 PASS new Date(0).toISOString() is '1970-01-01T00:00:00.000Z'
33 PASS new Date('1 January 1500 UTC').toISOString() is '1500-01-01T00:00:00.000Z'
34 PASS new Date('1 January 2000 UTC').toISOString() is '2000-01-01T00:00:00.000Z'
35 PASS new Date('1 January 4000 UTC').toISOString() is '4000-01-01T00:00:00.000Z'
36 PASS new Date('1 January 100000 UTC').toISOString() is '+100000-01-01T00:00:00.000Z'
37 FAIL new Date('1 January -1 UTC').toISOString() should be -000001-01-01T00:00:00.000Z. Threw except…
[all …]
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/serialization/
DKerberosTicketTest.java23 import java.util.Date;
54 private static final Date authTime = new Date(0);
56 private static final Date startTime = new Date(1);
58 private static final Date endTime = new Date(2);
60 private static final Date renewTill = new Date(3);
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/
DKerberosTicketTest.java23 import java.util.Date;
66 private static final Date authTime = new Date(AUTH_TIME);
70 private static final Date startTime = new Date(START_TIME);
74 private static final Date endTime = new Date(END_TIME);
76 private static final Date renewTill = new Date(3);
93 Date newAuthTime = new Date(AUTH_TIME); in test_getAuthTime()
190 Date newEndTime = new Date(END_TIME); in test_getEndTime()
362 Date newStartTime = new Date(START_TIME); in test_getStartTime()
456 Date newRenewTill = new Date((new Date()).getTime() - 3600000); in test_refresh()
472 newRenewTill = new Date((new Date()).getTime() + 3600000); in test_refresh()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DDerGeneralizedTimeEDTest.java28 import java.util.Date;
53 Date myDate = getGmtDate(1101980374187L); in testGeneralizedEncoder()
118 Date myDate = new Date(1101980374187L); in runTest()
127 myDate = new Date(1101980374180L); in runTest()
136 myDate = new Date(1101980374100L); in runTest()
145 myDate = new Date(1101980374000L); in runTest()
164 myDate = new Date(100L); in runTest()
173 private static Date getGmtDate(long mills) { in getGmtDate()
174 return new Date(mills); in getGmtDate()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/
DX509CRLImplTest.java34 import java.util.Date;
91 private static Date thisUpdate = new Date();
92 private static Date nextUpdate;
94 nextUpdate = new Date(thisUpdate.getTime()+100000);
105 new InvalidityDate(new Date()))); in crlEntryExtensions.addExtension() argument
123 private static Date revocationDate = new Date();
349 new Validity(new Date(), new Date()), in testGetRevokedCertificate1()
358 new Validity(new Date(), new Date()), in testGetRevokedCertificate1()
367 new Validity(new Date(), new Date()), in testGetRevokedCertificate1()
496 new Validity(new Date(), new Date()), in testIsRevoked()
[all …]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DDateFormatTest.java25 import java.util.Date;
56 f1.format(new Date()).getClass() == String.class); in test_getAvailableLocales()
82 f2.format(new Date()).getClass() == String.class); in test_getDateInstance()
100 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI()
109 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI()
118 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI()
127 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI()
148 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceILjava_util_Locale()
156 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceILjava_util_Locale()
164 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceILjava_util_Locale()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
DPrivateKeyUsagePeriodTest.java24 import java.util.Date;
34 Date notBeforeDate = new Date(200000000); in testEncodeDecode()
35 Date notAfterDate = new Date(300000000); in testEncodeDecode()
/external/smack/asmack-master/static-src/custom/de/measite/smack/
DAndroidDebugger.java15 import java.util.Date;
59 dateFormatter.format(new Date()) + " RCV (" + connection.hashCode() + in createDebug()
71 dateFormatter.format(new Date()) + " SENT (" + connection.hashCode() + in createDebug()
90 dateFormatter.format(new Date()) + " RCV PKT (" + in createDebug()
101 dateFormatter.format(new Date()) + " Connection closed (" + in createDebug()
108 dateFormatter.format(new Date()) + in createDebug()
116 dateFormatter.format(new Date()) + in createDebug()
124 dateFormatter.format(new Date()) + " Connection reconnected (" + in createDebug()
130 dateFormatter.format(new Date()) + " Connection (" + in createDebug()
/external/smack/src/org/jivesoftware/smack/debugger/
DConsoleDebugger.java29 import java.util.Date;
73 dateFormatter.format(new Date()) + " RCV (" + connection.hashCode() + in createDebug()
85 dateFormatter.format(new Date()) + " SENT (" + connection.hashCode() + in createDebug()
104 dateFormatter.format(new Date()) + " RCV PKT (" + in createDebug()
115 dateFormatter.format(new Date()) + " Connection closed (" + in createDebug()
122 dateFormatter.format(new Date()) + in createDebug()
130 dateFormatter.format(new Date()) + in createDebug()
138 dateFormatter.format(new Date()) + " Connection reconnected (" + in createDebug()
144 dateFormatter.format(new Date()) + " Connection (" + in createDebug()
/external/smack/src/de/measite/smack/
DAndroidDebugger.java15 import java.util.Date;
59 dateFormatter.format(new Date()) + " RCV (" + connection.hashCode() + in createDebug()
71 dateFormatter.format(new Date()) + " SENT (" + connection.hashCode() + in createDebug()
90 dateFormatter.format(new Date()) + " RCV PKT (" + in createDebug()
101 dateFormatter.format(new Date()) + " Connection closed (" + in createDebug()
108 dateFormatter.format(new Date()) + in createDebug()
116 dateFormatter.format(new Date()) + in createDebug()
124 dateFormatter.format(new Date()) + " Connection reconnected (" + in createDebug()
130 dateFormatter.format(new Date()) + " Connection (" + in createDebug()
/external/smack/src/org/jivesoftware/smackx/packet/
DTime.java28 import java.util.Date;
90 utc = utcFormat.format(new Date( in Time()
99 public Date getTime() { in getTime()
103 Date date = null; in getTime()
107 cal.setTime(new Date(utcFormat.parse(utc).getTime() + in getTime()
122 public void setTime(Date time) { in setTime()
124 utc = utcFormat.format(new Date( in setTime()

12345678910>>...27