Home
last modified time | relevance | path

Searched refs:MILLISECOND (Results 1 – 18 of 18) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_SimpleDateFormat.java52 cal.set(Calendar.MILLISECOND, 0); in t_format_with_FieldPosition()
84 t_FormatWithField(9, format, date, null, Field.MILLISECOND, 93, 94); in t_format_with_FieldPosition()
113 t_FormatWithField(31, format, date, null, Field.MILLISECOND, 0, 0); in t_format_with_FieldPosition()
136 cal.set(Calendar.MILLISECOND, 0); in t_formatToCharacterIterator()
234 v.add(new FieldContainer(93, 94, Field.MILLISECOND)); in getDateVector4()
235 v.add(new FieldContainer(95, 97, Field.MILLISECOND)); in getDateVector4()
236 v.add(new FieldContainer(98, 101, Field.MILLISECOND)); in getDateVector4()
DDataFormatFieldTest.java185 dfield = DateFormat.Field.MILLISECOND; in test_readResolve()
DSimpleDateFormatTest.java327 temp.set(Calendar.MILLISECOND, 961); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
566 cal.set(Calendar.MILLISECOND, 999); in test_parseLjava_lang_StringLjava_text_ParsePosition()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetGetterTests.java931 cal.set(Calendar.MILLISECOND, 0); in testGetTimeInt()
945 cal2.set(Calendar.MILLISECOND, 0); in testGetTimeInt()
990 cal1.set(Calendar.MILLISECOND, 0); in testGetTimeIntCalendar()
1002 cal2.set(Calendar.MILLISECOND, 0); in testGetTimeIntCalendar()
1055 cal.set(Calendar.MILLISECOND, 0); in testGetTimeString()
1075 cal2.set(Calendar.MILLISECOND, 0); in testGetTimeString()
1115 cal1.set(Calendar.MILLISECOND, 0); in testGetTimeStringCalendar()
1127 cal2.set(Calendar.MILLISECOND, 0); in testGetTimeStringCalendar()
1174 cal2.set(Calendar.MILLISECOND, 0); in testGetTimestampInt()
1187 cal3.set(Calendar.MILLISECOND, 0); in testGetTimestampInt()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DASN1Time.java51 c.set(Calendar.MILLISECOND, in.times[6]); in getDecodedObject()
/libcore/luni/src/main/java/java/util/
DGregorianCalendar.java410 case MILLISECOND: in add()
537 fields[MILLISECOND] = (millis % 1000); in fullFieldsCalc()
622 if (isSet[MILLISECOND] in computeTime()
623 && (fields[MILLISECOND] < 0 || fields[MILLISECOND] > 999)) { in computeTime()
676 if (isSet[MILLISECOND]) { in computeTime()
677 timeVal += fields[MILLISECOND]; in computeTime()
1229 case MILLISECOND: in roll()
DCalendar.java641 public static final int MILLISECOND = 14; field in Calendar
DFormatter.java1874 appendLocalized(result, calendar.get(Calendar.MILLISECOND), 3); in appendT()
1880 appendLocalized(result, calendar.get(Calendar.MILLISECOND) * 1000000L, 9); in appendT()
/libcore/luni/src/main/java/java/text/
DDateFormat.java734 public static final Field MILLISECOND = new Field("millisecond", Calendar.MILLISECOND); field in DateFormat.Field
DSimpleDateFormat.java626 dateFormatField = Field.MILLISECOND; in append()
627 appendMilliseconds(buffer, count, calendar.get(Calendar.MILLISECOND)); in append()
976 calendar.set(Calendar.MILLISECOND, (int) ((result / divisor) * 1000)); in parseFractionalSeconds()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DGregorianCalendarTest.java209 gc1.add(Calendar.MILLISECOND, 24 * 60 * 60 * 1000); in test_addII()
654 gCalend.set(Calendar.MILLISECOND, 0); in test_clone()
662 gCalend.set(Calendar.MILLISECOND, 0);//changes nothing in test_clone()
742 gc.set(Calendar.MILLISECOND, 0); in test_getI()
743 assertEquals(0, gc.get(Calendar.MILLISECOND)); in test_getI()
DCalendarTest.java475 cal.set(Calendar.MILLISECOND, 0); in test_getTimeInMillis()
DFormatterTest.java1724 paris.set(Calendar.MILLISECOND, 453); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
1728 china.set(Calendar.MILLISECOND, 609); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
/libcore/luni/src/main/java/libcore/icu/
DDateIntervalFormat.java201 c.get(Calendar.MILLISECOND) == 0; in isMidnight()
/libcore/luni/src/main/java/java/util/zip/
DZipEntry.java177 cal.set(Calendar.MILLISECOND, 0); in getTime()
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java222 cal.clear(Calendar.MILLISECOND); in test_clear_45877()
/libcore/luni/src/test/java/libcore/icu/
DDateIntervalFormatTest.java41 c.set(Calendar.MILLISECOND, 0); in test_formatDateInterval()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest.java181 CALENDAR.set(Calendar.MILLISECOND, 553); in CALENDAR.set() argument