Home
last modified time | relevance | path

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

12

/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.java109 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/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java214 public static final java.text.DateFormat.Field SECOND; field in DateFormat.Field
215 static { SECOND = null; }
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java328 public static final java.text.DateFormat.Field SECOND; field in DateFormat.Field
331 SECOND = null;
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java1037 public static final Field SECOND =new Field("second", Calendar.SECOND); field in DateFormat.Field
DSimpleDateFormat.java1173 Calendar.SECOND,
1239 Field.SECOND,
/libcore/ojluni/annotations/sdk/nullability/java/text/
DDateFormat.annotated.java210 @libcore.util.NonNull public static final java.text.DateFormat.Field SECOND; field in DateFormat.Field
211 static { SECOND = null; }
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java725 this.set(SECOND, second); in GregorianCalendar()
1025 case SECOND:
1072 timeOfDay += internalGet(SECOND);
1191 case SECOND: in roll()
1964 t += internalGet(SECOND); in getYearOffsetInMillis()
2423 internalSet(SECOND, r / ONE_SECOND); in computeFields()
2430 internalSet(SECOND, 0); in computeFields()
2671 timeOfDay += internalGet(SECOND); in computeTime()
DCalendar.java539 public static final int SECOND = 13; field in Calendar
1022 static final int SECOND_MASK = (1 << SECOND);
1275 SECOND, second, MILLISECOND, millis); in setTimeOfDay()
2030 set(SECOND, second); in set()
2631 if (stamp[SECOND] != UNSET) { in selectFields()
DFormatter.java4221 case DateTime.SECOND: { // 'S' (00 - 60 - leap second)
4222 int i = t.get(Calendar.SECOND);
4317 print(sb, t, DateTime.SECOND, l);
4325 print(sb, t, DateTime.SECOND, l).append(' ');
4448 case DateTime.SECOND: { // 'S' (00 - 60 - leap second)
4552 print(sb, t, DateTime.SECOND, l);
4560 print(sb, t, DateTime.SECOND, l).append(' ');
4969 static final char SECOND = 'S'; // (00 - 60 - leap second)
4999 AM_PM, SECONDS_SINCE_EPOCH, SECOND, TIME, ZONE_NUMERIC, ZONE -> true;
DJapaneseImperialCalendar.java460 case SECOND: in add()
507 timeOfDay += internalGet(SECOND); in add()
582 case SECOND: in roll()
1639 internalSet(SECOND, r / ONE_SECOND);
1646 internalSet(SECOND, 0);
1870 timeOfDay += internalGet(SECOND);
/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()
1042 cal.set(Calendar.SECOND, 999); in test_getDisplayNamesIILjava_util_Locale()
1049 cal.set(Calendar.SECOND, 999); in test_getDisplayNamesIILjava_util_Locale()
DGregorianCalendarTest.java124 59, gc.get(Calendar.SECOND)); in test_ConstructorIIIIII()
172 c1.set(Calendar.SECOND, 16); in test_ConstructorLjava_util_TimeZone()
229 gc1.add(Calendar.SECOND, 24 * 60 * 60); in test_addII()
759 assertEquals(0, gc.get(Calendar.SECOND)); in test_getI()
DDateTest.java451 cal.set(Calendar.SECOND, 0); in test_toString()
/libcore/support/src/test/java/tests/support/
DSupport_MessageFormat.java102 v.add(new FieldContainer(24, 26, DateFormat.Field.SECOND)); in getMessageVector1()
/libcore/ojluni/src/test/java/util/GregorianCalendar/
DGregorianCalendarTest.java68 gc.get(java.util.Calendar.SECOND) == date.getSeconds())) { in testGregorianCalendar()
/libcore/ojluni/src/main/java/java/util/logging/
DXMLFormatter.java71 a2(sb, cal.get(Calendar.SECOND)); in appendISO8601()
/libcore/ojluni/src/main/java/java/time/temporal/
DChronoField.java667 return DateTimePatternGenerator.SECOND; in getIcuFieldNumber()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java234 public static final int SECOND = 13; // 0xd field in Calendar
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java250 cal.clear(Calendar.SECOND); in checkClear()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java435 cal.add(Calendar.SECOND, -1); in checkValidity()
440 cal.add(Calendar.SECOND, -1); in checkValidity()
456 cal.add(Calendar.SECOND, 1); in checkValidity()
DX509CRLTest.java380 c.add(Calendar.SECOND, -2); in assertDateSlightlyBefore()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java515 public static final int SECOND = 13; // 0xd field in Calendar
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java476 assertEquals(49, calendar.get(Calendar.SECOND)); in testLenientParsingForZ()

12