Home
last modified time | relevance | path

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

/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()
716 assertEquals(20, g1.get(Calendar.MINUTE)); in test_computeTime()
722 assertEquals(50, g1.get(Calendar.MINUTE)); in test_computeTime()
756 assertEquals(0, gc.get(Calendar.MINUTE)); in test_getI()
DDateTest.java448 cal.set(Calendar.MINUTE, 0); in test_toString()
DCalendarTest.java473 cal.set(Calendar.MINUTE, 0); in test_getTimeInMillis()
580 fields[4] = Calendar.MINUTE; in test_clear()
/libcore/luni/src/test/java/libcore/icu/
DDateIntervalFormatTest.java27 private static final long MINUTE = 60 * 1000; field in DateIntervalFormatTest
28 private static final long HOUR = 60 * MINUTE;
41 c.set(Calendar.MINUTE, 30); in test_formatDateInterval()
49 c.set(Calendar.MINUTE, 0); in test_formatDateInterval()
228 assertEquals("00:00 – 16:01", formatDateRange(l, utc, midnight, teaTime + MINUTE, abbr24)); in test10318326()
229 assertEquals("12:00 AM – 4:01 PM", formatDateRange(l, utc, midnight, teaTime + MINUTE, abbr12)); in test10318326()
265 …:00 – January 2, 1970, 00:30", formatDateRange(l, utc, 22 * HOUR, 24 * HOUR + 30 * MINUTE, flags)); in test10560853_for_single_day_events()
283 … 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/test/java/libcore/java/text/
DSimpleDateFormatTest.java312 assertEquals(0, calendar.get(Calendar.MINUTE)); in testDstZoneNameWithNonDstTimestamp()
320 assertEquals(0, calendar.get(Calendar.MINUTE)); in testNonDstZoneNameWithDstTimestamp()
329 assertEquals(30, calendar.get(Calendar.MINUTE)); in testDstZoneWithNonDstTimestampForNonHourDstZone()
337 assertEquals(0, calendar.get(Calendar.MINUTE)); in testNonDstZoneWithDstTimestampForNonHourDstZone()
421 assertEquals(5, calendar.get(Calendar.MINUTE)); in testLenientParsingForZ()
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java157 assertEquals(minute, calendar.get(Calendar.MINUTE)); in testSetSelfConsistent()
204 assertEquals("minute", minute, calendar.get(Calendar.MINUTE)); in assertCalendarEquals()
234 cal.clear(Calendar.MINUTE); in checkClear()
DOldGregorianCalendarTest.java65 assertEquals(0, g.get(Calendar.MINUTE)); in test_computeFields()
/libcore/ojluni/src/main/java/java/util/
DCalendar.java527 public final static int MINUTE = 12; field in Calendar
925 final static int MINUTE_MASK = (1 << MINUTE);
1253 set(MINUTE, minute); in set()
1281 set(MINUTE, minute); in set()
1832 if (stamp[MINUTE] != UNSET) { in selectFields()
DGregorianCalendar.java717 this.set(MINUTE, minute); in GregorianCalendar()
986 case MINUTE:
1035 timeOfDay += internalGet(MINUTE);
1152 case MINUTE: in roll()
1939 t += internalGet(MINUTE); in getYearOffsetInMillis()
2389 internalSet(MINUTE, r / ONE_MINUTE); in computeFields()
2397 internalSet(MINUTE, 0); in computeFields()
2636 timeOfDay += internalGet(MINUTE); in computeTime()
DFormatter.java3939 case DateTime.MINUTE: { // 'M' (00 - 59)
3940 int i = t.get(Calendar.MINUTE);
4079 print(sb, t, DateTime.MINUTE, l);
4089 print(sb, t, DateTime.MINUTE, l).append(sep);
4437 static final char MINUTE = 'M'; // (00 - 59)
4485 case MINUTE:
/libcore/luni/src/main/java/libcore/icu/
DDateIntervalFormat.java100 c.get(Calendar.MINUTE) == 0 && in isMidnight()
DDateUtilsBridge.java155 return c.get(Calendar.MINUTE) == 0 && c.get(Calendar.SECOND) == 0; in onTheHour()
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java939 public final static Field MINUTE =new Field("minute", Calendar.MINUTE); field in DateFormat.Field
DSimpleDateFormat.java1026 Calendar.HOUR_OF_DAY, Calendar.HOUR_OF_DAY, Calendar.MINUTE,
1062 Field.HOUR_OF_DAY1, Field.HOUR_OF_DAY0, Field.MINUTE,
/libcore/support/src/test/java/tests/support/
DSupport_MessageFormat.java99 v.add(new FieldContainer(21, 23, DateFormat.Field.MINUTE)); in getMessageVector1()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java1145 calendar.set(Calendar.MINUTE, minute);
1155 minute = calendar.get(Calendar.MINUTE);
/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/src/main/java/sun/net/ftp/impl/
DFtpClient.java266 now.set(Calendar.MINUTE, Integer.parseInt(time.substring(c + 1))); in parseLine()