/frameworks/base/core/tests/coretests/src/android/text/format/ |
DateFormatTest.java | 34 assertTrue(DateFormat.hasDesignator("hh:mm:ss", DateFormat.MINUTE)); 35 assertTrue(DateFormat.hasDesignator("myyyy", DateFormat.MINUTE)); 36 assertTrue(DateFormat.hasDesignator("mmm", DateFormat.MINUTE)); 38 assertFalse(DateFormat.hasDesignator("hh:MM:ss", DateFormat.MINUTE)); 43 assertTrue(DateFormat.hasDesignator("hh:mm 'LOL'", DateFormat.MINUTE));
|
FormatterTest.java | 108 private static final long MINUTE = 60 * SECOND; 109 private static final long HOUR = 60 * MINUTE; 119 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 23 * HOUR + 59 * MINUTE)); 121 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 59 * MINUTE)); 123 assertEquals("24 hr", Formatter.formatShortElapsedTime(mContext, 23 * HOUR + 30 * MINUTE)); 124 assertEquals("3 hr", Formatter.formatShortElapsedTime(mContext, 2 * HOUR + 30 * MINUTE)); 128 Formatter.formatShortElapsedTime(mContext, 59 * MINUTE + 30 * SECOND)); 130 Formatter.formatShortElapsedTime(mContext, 59 * MINUTE)); 131 assertEquals("3 min", Formatter.formatShortElapsedTime(mContext, 2 * MINUTE + 30 * SECOND)); 132 assertEquals("2 min", Formatter.formatShortElapsedTime(mContext, 2 * MINUTE)); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
TimeUnitConstants.java | 33 /** Represents a minute. */ 34 public static final TimeUnit MINUTE = TimeUnit.MINUTE;
|
TimeUnit.java | 51 /** Represents a minute. */ 52 public static final TimeUnit MINUTE = new TimeUnit("minute", 5); 72 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
TimeUnitConstants.java | 31 /** Represents a minute. */ 32 public static final TimeUnit MINUTE = TimeUnit.MINUTE;
|
TimeUnit.java | 49 /** Represents a minute. */ 50 public static final TimeUnit MINUTE = new TimeUnit("minute", 5); 70 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
TimeUnit.java | 38 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; 52 return MINUTE;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
TimeUnit.java | 40 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; 54 return MINUTE;
|
/art/test/927-timers/src/art/ |
Test927.java | 51 final long MINUTE = 60l * 1000 * 1000 * 1000; 52 if (time4 < time3 || (time4 - time3 > MINUTE)) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/ |
1-1.c | 16 #define MINUTE 3 46 time_ptr.tm_min = MINUTE;
|
/cts/tests/app/src/android/app/cts/ |
TimePickerDialogTest.java | 45 private static final String MINUTE = "minute"; 62 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { 64 mCallbackMinute = minute; 99 assertEquals(TARGET_MINUTE, b.getInt(MINUTE)); 102 int minute = 13; local 105 mOnTimeSetListener, TARGET_HOUR, minute, false); 110 assertEquals(minute, b.getInt(MINUTE)); 127 final int minute = 34 local 136 int minute = 18; local 149 int minute = 27; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
PeriodBuilderFactoryTest.java | 44 pbf.setAvailableUnitRange(MINUTE, MONTH); 49 assertEquals(null, p.isSet(unit), unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()); 55 if (unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()) { 64 pbf.setAvailableUnitRange(MONTH, MINUTE); 100 assertEquals("minutes", 35.501f, p.getCount(MINUTE)); 106 assertEquals("minutes", 35f, p.getCount(MINUTE));
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
PeriodBuilderFactoryTest.java | 43 pbf.setAvailableUnitRange(MINUTE, MONTH); 48 assertEquals(null, p.isSet(unit), unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()); 54 if (unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()) { 63 pbf.setAvailableUnitRange(MONTH, MINUTE); 99 assertEquals("minutes", 35.501f, p.getCount(MINUTE)); 105 assertEquals("minutes", 35f, p.getCount(MINUTE));
|
/packages/apps/Stk/src/com/android/stk/ |
StkApp.java | 55 case MINUTE:
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
DosUtils.java | 46 cal.set(Calendar.MINUTE, (dosTime >> 5) & 0x3f); 65 return 2048 * cal.get(Calendar.HOUR_OF_DAY) + 32 * cal.get(Calendar.MINUTE) +
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneOffsetLocalTest.java | 38 final int MINUTE = 60*1000; 41 {2006, Calendar.APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, 43 {2006, Calendar.APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, 45 {2006, Calendar.APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, 46 {2006, Calendar.OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, 48 {2006, Calendar.OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, 50 {2006, Calendar.OCTOBER, 29, 2, 30, 2*HOUR+30*MINUTE},
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/languages/ |
Test_ja.java | 49 p.and(1, MINUTE).omit(SECOND); 59 Period p = Period.at(1, MINUTE).and(0, SECOND).and(1, MILLISECOND);
|
/external/testng/src/test/java/test/tmp/ |
TimeBombTest.java | 22 int minute = Integer.parseInt(string.substring(2)); local 25 result.set(Calendar.MINUTE, minute);
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
ContactInteractionUtilTest.java | 65 // Single digit minute & AM 67 calendar.set(Calendar.MINUTE, 8); 74 // Double digit minute & PM 76 calendar.set(Calendar.MINUTE, 18); 89 /* minute = */ 8);
|
/external/icu/icu4c/source/test/intltest/ |
tzoffloc.cpp | 47 const int32_t MINUTE = 60*1000; 50 {2006, UCAL_APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, 52 {2006, UCAL_APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, 54 {2006, UCAL_APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, 55 {2006, UCAL_OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, 57 {2006, UCAL_OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, 59 {2006, UCAL_OCTOBER, 29, 2, 30, 2*HOUR+30*MINUTE},
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneOffsetLocalTest.java | 37 final int MINUTE = 60*1000; 40 {2006, Calendar.APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, 42 {2006, Calendar.APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, 44 {2006, Calendar.APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, 45 {2006, Calendar.OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, 47 {2006, Calendar.OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, 49 {2006, Calendar.OCTOBER, 29, 2, 30, 2*HOUR+30*MINUTE},
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
PeriodicCallbackModel.java | 41 import static java.util.Calendar.MINUTE; 53 enum Period {MINUTE, QUARTER_HOUR, HOUR, MIDNIGHT} 75 * @param runnable to be called every minute 76 * @param offset an offset applied to the minute to control when the callback occurs 79 addPeriodicCallback(runnable, Period.MINUTE, offset); 142 case MINUTE: 162 nextMidnight.set(MINUTE, 0);
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/ |
IsoDate.java | 62 dd(buf, c.get(Calendar.MINUTE)); 94 c.set(Calendar.MINUTE, 0); 109 Calendar.MINUTE,
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPDateTimeImpl.java | 40 private int minute = 0; field in class:XMPDateTimeImpl 84 this.minute = intCalendar.get(Calendar.MINUTE); 106 this.minute = calendar.get(Calendar.MINUTE); 224 return minute; 231 public void setMinute(int minute) 233 this.minute = Math.min(Math.abs(minute), 59); 323 calendar.set(Calendar.MINUTE, minute) [all...] |
/frameworks/base/core/java/android/app/ |
TimePickerDialog.java | 43 private static final String MINUTE = "minute"; 64 * @param minute the minute that was set 66 void onTimeSet(TimePicker view, int hourOfDay, int minute); 75 * @param minute the initial minute 78 public TimePickerDialog(Context context, OnTimeSetListener listener, int hourOfDay, int minute, 80 this(context, 0, listener, hourOfDay, minute, is24HourView); 106 * @param minute the initial minut 203 final int minute = savedInstanceState.getInt(MINUTE); local [all...] |