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

1 2 3

  /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)
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...]
calregts.cpp 101 "HOUR",
163 logln(UnicodeString("HOUR=") + cal->get(UCAL_HOUR, status)); //prints 0
246 ": HOUR = " + cal->get(UCAL_HOUR,status));
368 logln("HOUR: " + Calendar::get(Calendar::HOUR));
394 logln("HOUR: " + Calendar::get(Calendar::HOUR));
459 logln(UnicodeString("Hour: ")+cal->get(UCAL_HOUR_OF_DAY, status));
461 logln(UnicodeString("Hour: ")+cal->get(UCAL_HOUR_OF_DAY, status));
763 cal1.set( Calendar::HOUR, 10 );
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
TimePickerDialogTest.java 36 private static final String HOUR = "hour";
98 assertEquals(TARGET_HOUR, b.getInt(HOUR));
108 assertEquals(TARGET_HOUR, b.getInt(HOUR));
156 assertEquals(TARGET_HOUR, b.getInt(HOUR));
168 b1.putInt(HOUR, TARGET_HOUR);
177 assertEquals(TARGET_HOUR, b2.getInt(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.
136 state.putInt(HOUR, mTimePicker.getCurrentHour());
145 int hour = savedInstanceState.getInt(HOUR); local
    [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));
  /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));
268 * @param hour
269 * the hour.
273 public GregorianCalendar(int year, int month, int day, int hour, int minute) {
275 set(year, month, day, hour, minute)
770 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));
  /packages/apps/DeskClock/src/com/android/deskclock/
HandleSetAlarm.java 52 final int hour = intent.getIntExtra(EXTRA_HOUR, local
63 long timeInMillis = Alarms.calculateAlarm(hour, minutes,
69 Alarm.Columns.HOUR + "=" + hour + " AND " +
85 values.put(Alarm.Columns.HOUR, hour);
Alarm.java 53 p.writeInt(hour);
77 * Hour in 24-hour localtime 0 - 23.
80 public static final String HOUR = "hour";
129 HOUR + ", " + MINUTES + " ASC";
135 _ID, HOUR, MINUTES, DAYS_OF_WEEK, ALARM_TIME,
159 public int hour; field in class:Alarm
171 hour = c.getInt(Columns.ALARM_HOUR_INDEX);
200 hour = p.readInt()
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
Duration.java 133 cal.add(Calendar.HOUR, sign*hours);
  /packages/apps/Exchange/src/com/android/exchange/utility/
Duration.java 113 cal.add(Calendar.HOUR, sign*hours);
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
Duration.java 131 cal.add(Calendar.HOUR, sign*hours);
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/build/
DebugKeyProviderTest.java 98 // however expiration date should be passed in 30 years + 1 hour
99 c.add(Calendar.HOUR, 1);
100 assertFalse("30 year and 1 hour expiration failed",
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 47 private static final int HOUR = 5;
140 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.5.30-1.js 24 ECMA Section: 15.9.5.30 Date.prototype.setHours(hour [, min [, sec [, ms ]]] )
32 2. Call ToNumber(hour).
51 writeHeaderToLog( SECTION + " Date.prototype.setHours( hour [, min, sec, ms] )");
203 function SetHours( t, hour, min, sec, ms ) {
205 var HOUR = Number(hour);
209 var RESULT6 = MakeTime( HOUR,
15.9.5.31-1.js 24 ECMA Section: 15.9.5.31 Date.prototype.setUTCHours(hour [, min [, sec [, ms ]]] )
31 2.Call ToNumber(hour).
47 writeHeaderToLog( SECTION + " Date.prototype.setUTCHours(hour [, min [, sec [, ms ]]] )");
201 function SetUTCHours( t, hour, min, sec, ms ) {
203 var HOUR = Number(hour);
207 var RESULT6 = MakeTime( HOUR,
  /external/v8/src/
dateparser.cc 92 int& hour = comp_[0]; local
98 if (!IsHour12(hour)) return false;
99 hour %= 12;
100 hour += hour_offset_;
103 if (!IsHour(hour) || !IsMinute(minute) ||
106 output->set(HOUR, Smi::FromInt(hour));
dateparser.h 45 // [3]: hour
55 YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, UTC_OFFSET, OUTPUT_SIZE
196 void SetAbsoluteHour(int hour) { hour_ = hour; }
  /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)));
  /frameworks/base/core/java/android/text/format/
DateFormat.java 57 fields such as <code>HOUR</code> adding more copies of the designator will
61 For 7 minutes past the hour:<br/>
87 This designator indicates whether the <code>HOUR</code> field is before
97 This designator indicates whether the <code>HOUR</code> field is before
125 This designator indicates the hour of the day in 12 hour format.
131 public static final char HOUR = 'h';
134 This designator indicates the hour of the day in 24 hour format.
146 This designator indicates the minute of the hour
    [all...]
Time.java 51 * True if this is an allDay event. The hour, minute, second fields are
67 * Hour of day [0-23]
69 public int hour; field in class:Time
122 public static final int HOUR = 3;
222 * @param field one of the constants for HOUR, MINUTE, SECOND, etc.
231 case HOUR:
273 this.hour = 0;
292 * hour}, {@code minute}, and {@code second} are not 0.
417 * field of this Time class is set to true and the <code>hour</code>,
471 * the {@link #allDay} field is set to true and the {@link #hour},
    [all...]

Completed in 1806 milliseconds

1 2 3