Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/
DSimpleTimeZoneTest.java251 cal.add(Calendar.MILLISECOND, -1); in findDstEntryAndExit()
253 cal.add(Calendar.MILLISECOND, 1); in findDstEntryAndExit()
264 cal.add(Calendar.MILLISECOND, -1); in findDstEntryAndExit()
266 cal.add(Calendar.MILLISECOND, 1); in findDstEntryAndExit()
293 calendar.set(Calendar.MILLISECOND, 0); in checkDstTransitionTimes()
DGregorianCalendarTest.java322 calendar.set(Calendar.MILLISECOND, 0); in test_toZonedDateTime()
329 cal.set(Calendar.MILLISECOND, 0); in getDstLosAngeles2014()
338 cal.set(Calendar.MILLISECOND, 0); in checkDstLosAngeles2014()
378 cal.set(Calendar.MILLISECOND, 999); in checkDstLosAngeles2014()
387 cal.set(Calendar.MILLISECOND, 999); in checkDstLosAngeles2014()
DCalendarBuilderTest.java102 expected.set(Calendar.MILLISECOND, 13); in test_setTimeOfDay()
DCalendarTest.java251 cal.clear(Calendar.MILLISECOND); in checkClear()
/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.java322 temp.set(Calendar.MILLISECOND, 961); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
564 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/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java205 public static final java.text.DateFormat.Field MILLISECOND; field in DateFormat.Field
206 static { MILLISECOND = null; }
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java310 public static final java.text.DateFormat.Field MILLISECOND; field in DateFormat.Field
313 MILLISECOND = null;
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java1042 public static final Field MILLISECOND = new field in DateFormat.Field
1043 Field("millisecond", Calendar.MILLISECOND);
DSimpleDateFormat.java1174 Calendar.MILLISECOND,
1240 Field.MILLISECOND,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DGregorianCalendarTest.java225 gc1.add(Calendar.MILLISECOND, 24 * 60 * 60 * 1000); in test_addII()
664 gCalend.set(Calendar.MILLISECOND, 0); in test_clone()
672 gCalend.set(Calendar.MILLISECOND, 0);//changes nothing in test_clone()
752 gc.set(Calendar.MILLISECOND, 0); in test_getI()
753 assertEquals(0, gc.get(Calendar.MILLISECOND)); in test_getI()
DCalendarTest.java475 cal.set(Calendar.MILLISECOND, 0); in test_getTimeInMillis()
DFormatterTest.java1727 paris.set(Calendar.MILLISECOND, 453); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
1731 china.set(Calendar.MILLISECOND, 609); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
/libcore/ojluni/annotations/sdk/nullability/java/text/
DDateFormat.annotated.java201 @libcore.util.NonNull public static final java.text.DateFormat.Field MILLISECOND; field in DateFormat.Field
202 static { MILLISECOND = null; }
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java728 this.internalSet(MILLISECOND, millis); in GregorianCalendar()
1029 case MILLISECOND:
1074 timeOfDay += internalGet(MILLISECOND);
1192 case MILLISECOND: in roll()
1966 return t + internalGet(MILLISECOND) - in getYearOffsetInMillis()
2424 internalSet(MILLISECOND, r % ONE_SECOND); in computeFields()
2431 internalSet(MILLISECOND, 0); in computeFields()
2673 timeOfDay += internalGet(MILLISECOND); in computeTime()
DCalendar.java546 public static final int MILLISECOND = 14; field in Calendar
1023 static final int MILLISECOND_MASK = (1 << MILLISECOND);
1275 SECOND, second, MILLISECOND, millis); in setTimeOfDay()
2634 if (stamp[MILLISECOND] != UNSET) { in selectFields()
DJapaneseImperialCalendar.java464 case MILLISECOND: in add()
509 timeOfDay += internalGet(MILLISECOND); in add()
583 case MILLISECOND: in roll()
1640 internalSet(MILLISECOND, r % ONE_SECOND);
1647 internalSet(MILLISECOND, 0);
1872 timeOfDay += internalGet(MILLISECOND);
DFormatter.java4186 int i = t.get(Calendar.MILLISECOND) * 1000000;
4191 case DateTime.MILLISECOND: { // 'L' (000 - 999)
4192 int i = t.get(Calendar.MILLISECOND);
4417 case DateTime.MILLISECOND: { // 'L' (000 - 999)
4965 static final char MILLISECOND = 'L'; // jdk, not in gnu (000 - 999)
4998 …case HOUR_OF_DAY_0, HOUR_0, HOUR_OF_DAY, HOUR, MINUTE, NANOSECOND, MILLISECOND, MILLISECOND_SINCE_…
DDate.java1263 gc.set(GregorianCalendar.MILLISECOND, ms); in normalize()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java214 public static final int MILLISECOND = 14; // 0xe field in Calendar
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java487 public static final int MILLISECOND = 14; // 0xe field in Calendar
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest.java181 CALENDAR.set(Calendar.MILLISECOND, 553); in CALENDAR.set() argument
/libcore/api/
Dcurrent.txt11088 field @NonNull public static final java.text.DateFormat.Field MILLISECOND;
13540 field public static final int MILLISECOND = 14; // 0xe