Home
last modified time | relevance | path

Searched defs:date (Results 1 – 25 of 42) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/text/
DOldDateFormatTest.java46 public StringBuffer format(Date date, StringBuffer toAppendTo, in format()
219 Date date = format.parse(format.format(current).toString()); in test_parseLString() local
252 Date date = format.parse(format.format(current).toString()); in test_parseLString() local
280 Date date = format.parse(format.format(current).toString()); in test_parseLString() local
294 Date date = format.parse(format.format(current).toString()); in test_parseLString() local
308 Date date = format.parse(format.format(current).toString()); in test_parseLString() local
327 Date date = format.parse(format.format(current).toString()); in test_parseLString() local
353 Date date = format.parse(formattedCurrent); in test_parseLString() local
DSimpleDateFormatTest.java207 String date = "2010-12-23 12:44:57.0 CET"; in testParsingUncommonTimeZoneAbbreviations() local
272 Date date = sdf.parse("2010-07-08 02:44:48"); in testTimeZoneFormatting() local
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DInvalidityDate.java36 private final Date date; field in InvalidityDate
49 public InvalidityDate(Date date) { in InvalidityDate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DGregorianCalendarTest.java118 Date date = new Date(); in test_ConstructorLjava_util_Locale() local
134 Date date = new Date(2008, 1, 1); in test_ConstructorLjava_util_TimeZone() local
169 Date date = new Date(2008, 1, 1); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale() local
316 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); in test_getActualMaximumI() local
432 Date date = new Date(Date.parse("Jan 1 00:00:01 GMT 2000")); in test_getLeastMaximumI() local
724 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); in test_getI() local
/libcore/support/src/test/java/tests/support/
DSupport_MessageFormat.java50 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); in t_format_with_FieldPosition() local
77 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); in t_formatToCharacterIterator() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_MessageFormat.java51 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); in t_format_with_FieldPosition() local
77 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); in t_formatToCharacterIterator() local
DSupport_SimpleDateFormat.java53 Date date = cal.getTime(); in t_format_with_FieldPosition() local
137 Date date = cal.getTime(); in t_formatToCharacterIterator() local
DMessageFormatTest.java256 Date date = new Date(12345678); in test_formatLjava_lang_StringLjava_lang_Object() local
332 Date date = new Date(); in test_ConstructorLjava_lang_String() local
391 Date date = new Date(); in test_applyPatternLjava_lang_String() local
544 SimpleDateFormat date = (SimpleDateFormat) DateFormat.getTimeInstance(); in test_equalsLjava_lang_Object() local
567 Date date = new Date(); in test_format$Ljava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local
DDateFormatTest.java202 SimpleDateFormat date = (SimpleDateFormat) DateFormat.getDateInstance( in testDateTime() local
251 SimpleDateFormat date = (SimpleDateFormat) DateFormat.getDateInstance( in testDateTimeLocale() local
DSimpleDateFormatTest.java497 Date date) { in verifyFormatTimezone()
510 Date date = f1.get2DigitYearStart(); in test_get2DigitYearStart() local
638 Date date = df.parse(output); in test_parseLjava_lang_StringLjava_text_ParsePosition() local
/libcore/benchmarks/src/benchmarks/regression/
DDateToStringBenchmark.java28 Date date; field in DateToStringBenchmark
/libcore/luni/src/main/java/java/util/
DDate.java165 public boolean after(Date date) { in after()
177 public boolean before(Date date) { in before()
206 public int compareTo(Date date) { in compareTo()
387 int year = -1, month = -1, date = -1; in parse() local
/libcore/luni/src/main/java/java/text/
DSimpleDateFormat.java469 private AttributedCharacterIterator formatToCharacterIteratorImpl(Date date) { in formatToCharacterIteratorImpl()
514 private StringBuffer formatImpl(Date date, StringBuffer buffer, in formatImpl()
818 public StringBuffer format(Date date, StringBuffer buffer, FieldPosition fieldPos) { in format()
1092 Date date; in parse() local
1274 public void set2DigitYearStart(Date date) { in set2DigitYearStart()
1357 Date date; in readObject() local
DDateFormat.java313 public final String format(Date date) { in format()
335 public abstract StringBuffer format(Date date, StringBuffer buffer, FieldPosition field); in format()
577 Date date = parse(string, position); in parse() local
/libcore/luni/src/main/java/java/security/cert/
DPKIXParameters.java50 private Date date; field in PKIXParameters
333 public void setDate(Date date) { in setDate()
DX509Certificate.java113 public abstract void checkValidity(Date date) in checkValidity()
/libcore/luni/src/main/java/java/sql/
DTimestamp.java385 private void format(int date, int digits, StringBuilder sb) { in format()
427 Date date; in valueOf() local
DDate.java194 private void format(int date, int digits, StringBuilder sb) { in format()
DTime.java202 private void format(int date, int digits, StringBuilder sb) { in format()
/libcore/luni/src/main/java/javax/security/cert/
DX509Certificate.java147 public void checkValidity(Date date) in getInstance()
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java64 Date date = sdf.parse("1902-11-01T00:00:00.000+0800"); in testPreHistoricInDaylightTime() local
98 Date date = sdf.parse(isoTime); in parseIsoTime() local
/libcore/luni/src/main/java/java/util/logging/
DXMLFormatter.java53 String date = MessageFormat.format("{0, date} {0, time}", new Object[] { new Date(time) }); in format() local
/libcore/luni/src/test/java/tests/security/cert/
DX509CRLSelector2Test.java422 Date date = new Date(200); in testGetDateAndTime() local
472 Date date = new Date(200); in testClone() local
498 Date date = new Date(200); in testToString() local
/libcore/luni/src/main/java/org/apache/harmony/security/utils/
DWrappedX509Certificate.java68 public void checkValidity(Date date) throws CertificateExpiredException, in checkValidity()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/
DX509CertificateTest.java268 Date date = new Date(); in testCheckValidity1() local
310 Date[] date = new Date[8]; in testCheckValidity2() local

12