HomeSort by relevance Sort by last modified time
    Searched refs:HOUR (Results 1 - 25 of 85) sorted by null

1 2 3 4

  /external/chromium_org/third_party/icu/source/test/intltest/
tzoffloc.cpp 44 const int32_t HOUR = 60*60*1000;
48 {2006, UCAL_APRIL, 2, 1, 30, 1*HOUR+30*MINUTE},
49 {2006, UCAL_APRIL, 2, 2, 00, 2*HOUR},
50 {2006, UCAL_APRIL, 2, 2, 30, 2*HOUR+30*MINUTE},
51 {2006, UCAL_APRIL, 2, 3, 00, 3*HOUR},
52 {2006, UCAL_APRIL, 2, 3, 30, 3*HOUR+30*MINUTE},
53 {2006, UCAL_OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE},
54 {2006, UCAL_OCTOBER, 29, 1, 00, 1*HOUR},
55 {2006, UCAL_OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE},
56 {2006, UCAL_OCTOBER, 29, 2, 00, 2*HOUR},
    [all...]
tzrulets.cpp 31 #define HOUR (60*60*1000)
153 SimpleTimeZone stz(-1*HOUR, "TestSTZ",
154 UCAL_SEPTEMBER, -30, -UCAL_SATURDAY, 1*HOUR, SimpleTimeZone::WALL_TIME,
155 UCAL_FEBRUARY, 2, UCAL_SUNDAY, 1*HOUR, SimpleTimeZone::WALL_TIME,
156 1*HOUR, status);
167 -1*HOUR, // Raw offset
168 1*HOUR); // DST saving amount
173 1*HOUR, DateTimeRule::WALL_TIME); // SUN<=30 in September, at 1AM wall time
175 -1*HOUR /*rawOffset*/, 1*HOUR /*dstSavings*/, dtr
    [all...]
  /external/icu4c/test/intltest/
tzoffloc.cpp 44 const int32_t HOUR = 60*60*1000;
48 {2006, UCAL_APRIL, 2, 1, 30, 1*HOUR+30*MINUTE},
49 {2006, UCAL_APRIL, 2, 2, 00, 2*HOUR},
50 {2006, UCAL_APRIL, 2, 2, 30, 2*HOUR+30*MINUTE},
51 {2006, UCAL_APRIL, 2, 3, 00, 3*HOUR},
52 {2006, UCAL_APRIL, 2, 3, 30, 3*HOUR+30*MINUTE},
53 {2006, UCAL_OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE},
54 {2006, UCAL_OCTOBER, 29, 1, 00, 1*HOUR},
55 {2006, UCAL_OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE},
56 {2006, UCAL_OCTOBER, 29, 2, 00, 2*HOUR},
    [all...]
tzrulets.cpp 31 #define HOUR (60*60*1000)
154 SimpleTimeZone stz(-1*HOUR, "TestSTZ",
155 UCAL_SEPTEMBER, -30, -UCAL_SATURDAY, 1*HOUR, SimpleTimeZone::WALL_TIME,
156 UCAL_FEBRUARY, 2, UCAL_SUNDAY, 1*HOUR, SimpleTimeZone::WALL_TIME,
157 1*HOUR, status);
168 -1*HOUR, // Raw offset
169 1*HOUR); // DST saving amount
174 1*HOUR, DateTimeRule::WALL_TIME); // SUN<=30 in September, at 1AM wall time
176 -1*HOUR /*rawOffset*/, 1*HOUR /*dstSavings*/, dtr
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
TimePickerDialogTest.java 31 private static final String HOUR = "hour";
72 assertEquals(TARGET_HOUR, b.getInt(HOUR));
82 assertEquals(TARGET_HOUR, b.getInt(HOUR));
115 assertEquals(TARGET_HOUR, b.getInt(HOUR));
122 b1.putInt(HOUR, TARGET_HOUR);
131 assertEquals(TARGET_HOUR, b2.getInt(HOUR));
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
ClockContract.java 98 * Hour in 24-hour localtime 0 - 23.
101 public static final String HOUR = "hour";
228 * Alarm hour in 24-hour localtime 0 - 23.
231 public static final String HOUR = "hour";
ClockDatabaseHelper.java 74 ClockContract.AlarmsColumns.HOUR + " INTEGER NOT NULL, " +
91 ClockContract.InstancesColumns.HOUR + " INTEGER NOT NULL, " +
130 ClockContract.AlarmsColumns.HOUR + cs +
161 "hour",
175 alarm.hour = cursor.getInt(1);
Alarm.java 47 HOUR + ", " +
53 HOUR,
86 values.put(HOUR, alarm.hour);
222 public int hour; field in class:Alarm
235 public Alarm(int hour, int minutes) {
237 this.hour = hour;
249 hour = c.getInt(HOUR_INDEX);
268 hour = p.readInt()
    [all...]
AlarmInstance.java 68 HOUR,
105 values.put(HOUR, instance.mHour);
352 calendar.add(Calendar.HOUR, MISSED_TIME_TO_LIVE_HOUR_OFFSET);
  /frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/
TimePickerHelper.java 31 public static final int HOUR = 0;
36 return getNumberPickerField(HOUR).getText();
54 getNumberPickerIncrementButton(HOUR).click();
63 getNumberPickerDecrementButton(HOUR).click();
135 // Adjust hour - increment or decrement using the shortest path
137 int calHour = cal.get(Calendar.HOUR);
  /frameworks/base/core/java/android/app/
TimePickerDialog.java 47 * @param hourOfDay The hour that was set.
53 private static final String HOUR = "hour";
67 * @param hourOfDay The initial hour.
69 * @param is24HourView Whether this is a 24 hour view, or AM/PM.
81 * @param hourOfDay The initial hour.
83 * @param is24HourView Whether this is a 24 hour view, or AM/PM.
144 state.putInt(HOUR, mTimePicker.getCurrentHour());
153 int hour = savedInstanceState.getInt(HOUR); local
    [all...]
  /libcore/luni/src/test/java/libcore/icu/
DateIntervalFormatTest.java 30 private static final long HOUR = 60 * MINUTE;
31 private static final long DAY = 24 * HOUR;
62 assertEquals("Monday", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_WEEKDAY));
63 assertEquals("January 19", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_SHOW_DATE));
65 assertEquals("January 19, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_YEAR));
66 assertEquals("January 19", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_NO_YEAR));
67 assertEquals("January", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_NO_MONTH_DAY));
77 assertEquals("Mon", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_WEEKDAY | FORMAT_ABBREV_WEEKDAY));
78 assertEquals("Jan 19", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_SHOW_DATE | FORMAT_ABBREV_MONTH));
79 assertEquals("Jan 19", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_SHOW_DATE | FORMAT_ABBREV_ALL))
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/utils/
dateFuncs.py 9 hour, minute, second = tail[1:].split(":")
12 hour, minute, second = int(hour), int(minute), int(second)
13 return createDateClass(year, month, day, hour, minute, second)
20 def createDateClass(year, month, day, hour, minute, second):
21 return datetime(year, month, day, hour, minute, second)
48 def createDateClass(year, month, day, hour, minute, second):
51 c.set(year, month-1, day, hour, minute, second)
62 c.get(c.HOUR) #force refresh?
67 d.add(d.HOUR, hours
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldGregorianCalendarTest.java 37 // CST is 1 hour before EST, add 1 to the CST time and convert to 0-12 value
38 assertTrue(gc2.get(Calendar.HOUR) == ((gc1.get(Calendar.HOUR) + 1) % 12));
CalendarTest.java 64 * drop an hour to keep the hour+minute constant unless that prevents the
108 calendar.add(Calendar.HOUR, 24);
147 int hour = 0; local
151 calendar.set(year, month, day, hour, minute);
155 assertEquals(hour, calendar.get(Calendar.HOUR_OF_DAY));
196 int year, int month, int day, int hour, int minute) {
200 assertEquals(hour, calendar.get(Calendar.HOUR_OF_DAY));
216 cal.clear(Calendar.HOUR);
  /frameworks/base/core/jni/
TimeUtils.h 49 HOUR = 3,
69 inline void set(int sec, int min, int hour, int mday, int mon, int year,
74 this->t.tm_hour = hour;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
GregorianCalendarTest.java 70 assertEquals("Incorrect calendar constructed", 7, gc.get(Calendar.HOUR));
99 assertEquals("Incorrect calendar constructed", 7, gc.get(Calendar.HOUR));
139 // CST is 1 hour before EST, add 1 to the CST time and convert to 0-12
142 gc1.get(Calendar.HOUR) == ((gc2.get(Calendar.HOUR) + 1) % 12));
154 c1.set(Calendar.HOUR,15);
181 // CST is 1 hour before EST, add 1 to the CST time and convert to 0-12
184 gc1.get(Calendar.HOUR) == ((gc3.get(Calendar.HOUR) + 1) % 12));
226 gc1.add(Calendar.HOUR, 24)
    [all...]
  /libcore/luni/src/main/java/java/util/
GregorianCalendar.java 143 * System.out.println("HOUR: " + calendar.get(Calendar.HOUR));
153 * System.out.println("Current Time, with hour reset to 3");
155 * calendar.set(Calendar.HOUR, 3);
168 * System.out.println("HOUR: " + calendar.get(Calendar.HOUR));
260 * @param hour
261 * the hour.
265 public GregorianCalendar(int year, int month, int day, int hour, int minute) {
267 set(year, month, day, hour, minute)
636 long hour = 0; local
    [all...]
Calendar.java 33 * {@code HOUR}, and so on. (A {@code Date} object represents a
131 * AM_PM + HOUR</pre>
205 * A smaller field represents a smaller unit of time. {@code HOUR} is a
236 * a larger field than {@code HOUR}.
594 * whether the {@code HOUR} is before or after noon. E.g., at
599 * @see #HOUR
605 * hour of the morning or afternoon. {@code HOUR} is used for the
606 * 12-hour clock. E.g., at 10:04:15.250 PM the {@code HOUR} is 10
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DataFormatFieldTest.java 116 Calendar.HOUR, Field.HOUR0.getCalendarField());
137 assertSame("ofCalendarField(Calendar.HOUR) returned the wrong value",
138 Field.HOUR0, Field.ofCalendarField(Calendar.HOUR));
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
Duration.java 133 cal.add(Calendar.HOUR, sign*hours);
  /external/chromium_org/v8/src/
dateparser.cc 94 int& hour = comp_[0]; local
100 if (!IsHour12(hour)) return false;
101 hour %= 12;
102 hour += hour_offset_;
105 if (!IsHour(hour) || !IsMinute(minute) ||
108 output->set(HOUR, Smi::FromInt(hour));
  /external/v8/src/
dateparser.cc 94 int& hour = comp_[0]; local
100 if (!IsHour12(hour)) return false;
101 hour %= 12;
102 hour += hour_offset_;
105 if (!IsHour(hour) || !IsMinute(minute) ||
108 output->set(HOUR, Smi::FromInt(hour));
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 44 private static final int HOUR = 5;
128 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE);
191 private static void checkFormat(String expected, String pattern, int hour) {
195 c.set(2013, Calendar.JANUARY, 1, hour, 00);
200 if (pattern.equals("k") && (hour == 0 || hour == 24)) {
  /external/jsilver/src/org/clearsilver/jni/
JniHdf.java 228 setValue(hdfname + ".24hour",
231 setValue(hdfname + ".hour",
233 cal.get(Calendar.HOUR) == 0 ? 12 : cal.get(Calendar.HOUR)));

Completed in 1153 milliseconds

1 2 3 4