Home
last modified time | relevance | path

Searched refs:SECOND (Results 1 – 22 of 22) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_SimpleDateFormat.java83 t_FormatWithField(8, format, date, null, Field.SECOND, 84, 85); in t_format_with_FieldPosition()
112 t_FormatWithField(30, format, date, null, Field.SECOND, 0, 0); in t_format_with_FieldPosition()
166 v.add(new FieldContainer(12, 14, Field.SECOND)); in getDateVector1()
231 v.add(new FieldContainer(84, 85, Field.SECOND)); in getDateVector4()
232 v.add(new FieldContainer(86, 88, Field.SECOND)); in getDateVector4()
233 v.add(new FieldContainer(89, 92, Field.SECOND)); in getDateVector4()
DSupport_MessageFormat.java100 v.add(new FieldContainer(24, 26, DateFormat.Field.SECOND)); in getMessageVector1()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetGetterTests.java930 cal.set(Calendar.SECOND, 45); in testGetTimeInt()
944 cal2.set(Calendar.SECOND, 02); in testGetTimeInt()
989 cal1.set(Calendar.SECOND, 45); in testGetTimeIntCalendar()
1001 cal2.set(Calendar.SECOND, 02); in testGetTimeIntCalendar()
1054 cal.set(Calendar.SECOND, 45); in testGetTimeString()
1074 cal2.set(Calendar.SECOND, 02); in testGetTimeString()
1114 cal1.set(Calendar.SECOND, 45); in testGetTimeStringCalendar()
1126 cal2.set(Calendar.SECOND, 02); in testGetTimeStringCalendar()
1173 cal2.set(Calendar.SECOND, 02); in testGetTimestampInt()
1186 cal3.set(Calendar.SECOND, 55); in testGetTimestampInt()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DASN1Time.java50 c.set(Calendar.SECOND, in.times[5]); in getDecodedObject()
/libcore/luni/src/main/java/java/util/
DGregorianCalendar.java413 case SECOND: in add()
539 fields[SECOND] = (millis % 60); in fullFieldsCalc()
619 if (isSet[SECOND] && (fields[SECOND] < 0 || fields[SECOND] > 59)) { in computeTime()
673 if (isSet[SECOND]) { in computeTime()
674 timeVal += ((long) fields[SECOND]) * 1000; in computeTime()
1228 case SECOND: in roll()
DDate.java303 return new GregorianCalendar(milliseconds).get(Calendar.SECOND); in getSeconds()
634 cal.set(Calendar.SECOND, second); in setSeconds()
717 appendTwoDigits(result, cal.get(Calendar.SECOND)); in toString()
DCalendar.java634 public static final int SECOND = 13; field in Calendar
1165 set(SECOND, second); in set()
DFormatter.java1891 appendLocalized(result, calendar.get(Calendar.SECOND), 2); in appendT()
/libcore/luni/src/main/java/libcore/icu/
DDateIntervalFormat.java200 c.get(Calendar.SECOND) == 0 && in isMidnight()
205 return c.get(Calendar.MINUTE) == 0 && c.get(Calendar.SECOND) == 0; in onTheHour()
/libcore/luni/src/main/java/java/text/
DDateFormat.java729 public static final Field SECOND = new Field("second", Calendar.SECOND); field in DateFormat.Field
DSimpleDateFormat.java622 dateFormatField = Field.SECOND; in append()
623 field = Calendar.SECOND; in append()
907 field = Calendar.SECOND; in parse()
/libcore/support/src/test/java/tests/support/
DSupport_MessageFormat.java102 v.add(new FieldContainer(24, 26, DateFormat.Field.SECOND)); in getMessageVector1()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java474 cal.set(Calendar.SECOND, 0); in test_getTimeInMillis()
581 fields[5] = Calendar.SECOND; in test_clear()
905 cal.set(Calendar.SECOND, 999); in test_getDisplayNameIILjava_util_Locale()
928 cal.set(Calendar.SECOND, 999); in test_getDisplayNameIILjava_util_Locale()
1045 cal.set(Calendar.SECOND, 999); in test_getDisplayNamesIILjava_util_Locale()
1052 cal.set(Calendar.SECOND, 999); in test_getDisplayNamesIILjava_util_Locale()
DGregorianCalendarTest.java108 59, gc.get(Calendar.SECOND)); in test_ConstructorIIIIII()
156 c1.set(Calendar.SECOND, 16); in test_ConstructorLjava_util_TimeZone()
213 gc1.add(Calendar.SECOND, 24 * 60 * 60); in test_addII()
749 assertEquals(0, gc.get(Calendar.SECOND)); in test_getI()
DDateTest.java448 cal.set(Calendar.SECOND, 0); in test_toString()
/libcore/luni/src/main/java/java/util/zip/
DZipEntry.java299 time = cal.get(Calendar.SECOND) >> 1; in setTime()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java816 calendar.set(Calendar.SECOND, second);
825 second = calendar.get(Calendar.SECOND);
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java221 cal.clear(Calendar.SECOND); in test_clear_45877()
/libcore/luni/src/test/java/libcore/icu/
DDateIntervalFormatTest.java40 c.set(Calendar.SECOND, 15); in test_formatDateInterval()
48 c.set(Calendar.SECOND, 0); in test_formatDateInterval()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java411 cal.add(Calendar.SECOND, -1); in checkValidity()
416 cal.add(Calendar.SECOND, -1); in checkValidity()
432 cal.add(Calendar.SECOND, 1); in checkValidity()
DX509CRLTest.java330 c.add(Calendar.SECOND, -2); in assertDateSlightlyBefore()
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...