Home
last modified time | relevance | path

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

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_SimpleDateFormat.java82 t_FormatWithField(7, format, date, null, Field.MINUTE, 77, 79); in t_format_with_FieldPosition()
102 t_FormatWithField(22, format, date, null, Field.MINUTE, 2, 4); in t_format_with_FieldPosition()
128 t_FormatWithField(41, format, date, null, Field.MINUTE, 2, 4); in t_format_with_FieldPosition()
165 v.add(new FieldContainer(10, 12, Field.MINUTE)); in getDateVector1()
186 v.add(new FieldContainer(2, 4, Field.MINUTE)); in getDateVector3()
195 v.add(new FieldContainer(2, 4, Field.MINUTE)); in getDateVector5()
229 v.add(new FieldContainer(77, 79, Field.MINUTE)); in getDateVector4()
230 v.add(new FieldContainer(80, 83, Field.MINUTE)); in getDateVector4()
DSupport_MessageFormat.java102 v.add(new FieldContainer(21, 23, DateFormat.Field.MINUTE)); in getMessageVector1()
DFieldPositionTest.java139 FieldPosition fpos2 = new FieldPosition(DateFormat.Field.MINUTE); in test_getField()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetGetterTests.java929 cal.set(Calendar.MINUTE, 35); in testGetTimeInt()
943 cal2.set(Calendar.MINUTE, 28); in testGetTimeInt()
988 cal1.set(Calendar.MINUTE, 35); in testGetTimeIntCalendar()
1000 cal2.set(Calendar.MINUTE, 28); in testGetTimeIntCalendar()
1053 cal.set(Calendar.MINUTE, 35); in testGetTimeString()
1073 cal2.set(Calendar.MINUTE, 28); in testGetTimeString()
1113 cal1.set(Calendar.MINUTE, 35); in testGetTimeStringCalendar()
1125 cal2.set(Calendar.MINUTE, 28); in testGetTimeStringCalendar()
1172 cal2.set(Calendar.MINUTE, 28); in testGetTimestampInt()
1185 cal3.set(Calendar.MINUTE, 11); in testGetTimestampInt()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DGregorianCalendarTest.java93 9, gc.get(Calendar.MINUTE)); in test_ConstructorIIIII()
122 9, gc.get(Calendar.MINUTE)); in test_ConstructorIIIIII()
171 c1.set(Calendar.MINUTE, 34); in test_ConstructorLjava_util_TimeZone()
173 assertEquals(34, c1.get(Calendar.MINUTE)); in test_ConstructorLjava_util_TimeZone()
175 assertEquals(35, c1.get(Calendar.MINUTE)); in test_ConstructorLjava_util_TimeZone()
233 gc1.add(Calendar.MINUTE, 24 * 60); in test_addII()
718 assertEquals(20, g1.get(Calendar.MINUTE)); in test_computeTime()
724 assertEquals(50, g1.get(Calendar.MINUTE)); in test_computeTime()
758 assertEquals(0, gc.get(Calendar.MINUTE)); in test_getI()
DDateTest.java448 cal.set(Calendar.MINUTE, 0); in test_toString()
/libcore/luni/src/test/java/libcore/libcore/icu/
DDateIntervalFormatTest.java31 private static final long MINUTE = 60 * 1000; field in DateIntervalFormatTest
32 private static final long HOUR = 60 * MINUTE;
45 c.set(Calendar.MINUTE, 30); in test_formatDateInterval()
53 c.set(Calendar.MINUTE, 0); in test_formatDateInterval()
232 assertEquals("00:00 – 16:01", formatDateRange(l, utc, midnight, teaTime + MINUTE, abbr24)); in test10318326()
233 assertEquals("12:00 AM – 4:01 PM", formatDateRange(l, utc, midnight, teaTime + MINUTE, abbr12)); in test10318326()
269 …:00 – January 2, 1970, 00:30", formatDateRange(l, utc, 22 * HOUR, 24 * HOUR + 30 * MINUTE, flags)); in test10560853_for_single_day_events()
287 … formatDateRange(l, utc, jan_1_1980 + 22 * HOUR, jan_1_1980 + 24 * HOUR + 30 * MINUTE, flags)); in test_single_day_events_later_than_epoch()
/libcore/luni/src/main/java/libcore/icu/
DDateUtilsBridge.java161 return c.get(Calendar.HOUR_OF_DAY) == 0 && c.get(Calendar.MINUTE) == 0; in isDisplayMidnightUsingSkeleton()
165 return c.get(Calendar.MINUTE) == 0 && c.get(Calendar.SECOND) == 0; in onTheHour()
DDateIntervalFormat.java93 c.get(Calendar.MINUTE) == 0 && in isExactlyMidnight()
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java160 assertEquals(minute, calendar.get(Calendar.MINUTE)); in testSetSelfConsistent()
219 assertEquals("minute", minute, calendar.get(Calendar.MINUTE)); in assertCalendarEquals()
249 cal.clear(Calendar.MINUTE); in checkClear()
DOldGregorianCalendarTest.java65 assertEquals(0, g.get(Calendar.MINUTE)); in test_computeFields()
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java316 public static final java.text.DateFormat.Field MINUTE; field in DateFormat.Field
319 MINUTE = null;
/libcore/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java209 public static final java.text.DateFormat.Field MINUTE; field in DateFormat.Field
210 static { MINUTE = null; }
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java983 public final static Field MINUTE =new Field("minute", Calendar.MINUTE); field in DateFormat.Field
/libcore/ojluni/src/main/java/java/util/
DCalendar.java525 public final static int MINUTE = 12; field in Calendar
1013 final static int MINUTE_MASK = (1 << MINUTE);
1266 return setFields(HOUR_OF_DAY, hourOfDay, MINUTE, minute, in setTimeOfDay()
1918 set(MINUTE, minute); in set()
1946 set(MINUTE, minute); in set()
2554 if (stamp[MINUTE] != UNSET) { in selectFields()
DGregorianCalendar.java723 this.set(MINUTE, minute); in GregorianCalendar()
1020 case MINUTE:
1069 timeOfDay += internalGet(MINUTE);
1189 case MINUTE: in roll()
2001 t += internalGet(MINUTE); in getYearOffsetInMillis()
2460 internalSet(MINUTE, r / ONE_MINUTE); in computeFields()
2468 internalSet(MINUTE, 0); in computeFields()
2708 timeOfDay += internalGet(MINUTE); in computeTime()
DFormatter.java3971 case DateTime.MINUTE: { // 'M' (00 - 59)
3972 int i = t.get(Calendar.MINUTE);
4111 print(sb, t, DateTime.MINUTE, l);
4121 print(sb, t, DateTime.MINUTE, l).append(sep);
4195 case DateTime.MINUTE: { // 'M' (00 - 59)
4344 print(sb, t, DateTime.MINUTE, l);
4354 print(sb, t, DateTime.MINUTE, l).append(sep);
4714 static final char MINUTE = 'M'; // (00 - 59)
4762 case MINUTE:
DJapaneseImperialCalendar.java454 case MINUTE: in add()
503 timeOfDay += internalGet(MINUTE); in add()
577 case MINUTE: in roll()
1672 internalSet(MINUTE, r / ONE_MINUTE); in computeFields()
1680 internalSet(MINUTE, 0); in computeFields()
1903 timeOfDay += internalGet(MINUTE); in computeTime()
/libcore/ojluni/annotations/sdk/nullability/java/text/
DDateFormat.annotated.java204 @libcore.util.NonNull public static final java.text.DateFormat.Field MINUTE; field in DateFormat.Field
205 static { MINUTE = null; }
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java364 assertEquals(0, calendar.get(Calendar.MINUTE)); in testDstZoneNameWithNonDstTimestamp()
372 assertEquals(0, calendar.get(Calendar.MINUTE)); in testNonDstZoneNameWithDstTimestamp()
381 assertEquals(30, calendar.get(Calendar.MINUTE)); in testDstZoneWithNonDstTimestampForNonHourDstZone()
389 assertEquals(0, calendar.get(Calendar.MINUTE)); in testNonDstZoneWithDstTimestampForNonHourDstZone()
474 assertEquals(5, calendar.get(Calendar.MINUTE)); in testLenientParsingForZ()
/libcore/support/src/test/java/tests/support/
DSupport_MessageFormat.java99 v.add(new FieldContainer(21, 23, DateFormat.Field.MINUTE)); in getMessageVector1()
/libcore/ojluni/src/main/java/java/util/logging/
DXMLFormatter.java69 a2(sb, cal.get(Calendar.MINUTE)); in appendISO8601()
/libcore/ojluni/src/main/java/java/time/temporal/
DChronoField.java637 return DateTimePatternGenerator.MINUTE; in getIcuFieldNumber()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore2Test.java685 int minuteExpected = Calendar.getInstance().get(Calendar.MINUTE); in test_getCreationDate()
692 int minuteActual1 = Calendar.getInstance().get(Calendar.MINUTE); in test_getCreationDate()
706 int minuteActual2 = Calendar.getInstance().get(Calendar.MINUTE); in test_getCreationDate()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java216 public static final int MINUTE = 12; // 0xc field in Calendar

12