/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 81 private int hour; field in class:DateTimeParser.Time 86 public Time(int hour, int minute, int second, int zone) { 87 this.hour = hour; 93 public int getHour() { return hour; } 285 h = hour(); 302 final public int hour() throws ParseException { method in class:DateTimeParser
|
/external/chromium_org/chrome/browser/resources/memory_internals/ |
memory_internals.js | 156 var hour = Math.floor(totalSeconds / 3600); 159 return (hour > 0 ? (hour + (hour > 1 ? ' hours ' : ' hour ')) : '') +
|
/external/chromium_org/ash/system/date/ |
date_view.cc | 243 base::string16 hour = current_time.substr(0, colon_pos); local 247 if (hour.length() == 1 && 250 hour = base::ASCIIToUTF16("0") + hour; 252 vertical_label_hours_->SetText(hour);
|
/external/wpa_supplicant_8/src/utils/ |
os_internal.c | 55 int os_mktime(int year, int month, int day, int hour, int min, int sec, 61 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || 69 tm.tm_hour = hour; 88 tm->hour = tm2->tm_hour;
|
/external/chromium_org/chrome/browser/ui/ash/ |
screenshot_taker.cc | 326 "%02d.%02d.%02d", now.hour, now.minute, now.second)); 328 int hour = now.hour; local 329 if (hour > 12) { 330 hour -= 12; 331 } else if (hour == 0) { 332 hour = 12; 335 "%d.%02d.%02d ", hour, now.minute, now.second)); 336 file_name.append((now.hour >= 12) ? "PM" : "AM");
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
themeInputMultipleFields.css | 37 input::-webkit-datetime-edit-hour-field, 54 input::-webkit-datetime-edit-hour-field:focus, 71 input::-webkit-datetime-edit-hour-field[disabled],
|
/external/chromium_org/base/time/ |
time_unittest.cc | 28 // must be a time guaranteed to be outside of a DST fallback hour in 33 12, // hour 74 EXPECT_EQ(tms.tm_hour, exploded.hour); 156 EXPECT_EQ(0, exploded.hour); 369 EXPECT_EQ(23, exploded.hour); 381 EXPECT_EQ(23, exploded.hour); 393 EXPECT_EQ(23, exploded.hour); 405 EXPECT_EQ(23, exploded.hour); 417 EXPECT_EQ(23, exploded.hour); 430 EXPECT_EQ(0, exploded.hour); [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeSettings.java | 272 public boolean onSetTime(int hour, int minute) { 274 if (!ZenModeConfig.isValidHour(hour)) return false; 276 if (hour == mConfig.sleepStartHour && minute == mConfig.sleepStartMinute) { 279 if (DEBUG) Log.d(TAG, "onPrefChange sleepStart h=" + hour + " m=" + minute); 281 newConfig.sleepStartHour = hour; 294 public boolean onSetTime(int hour, int minute) { 296 if (!ZenModeConfig.isValidHour(hour)) return false; 298 if (hour == mConfig.sleepEndHour && minute == mConfig.sleepEndMinute) { 301 if (DEBUG) Log.d(TAG, "onPrefChange sleepEnd h=" + hour + " m=" + minute); 303 newConfig.sleepEndHour = hour; 744 final int hour = usePref ? pref.mHourOfDay : c.get(Calendar.HOUR_OF_DAY); local [all...] |
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
DigitalWatchFaceService.java | 402 private String formatTwoDigitNumber(int hour) { 403 return String.format("%02d", hour); 406 private int convertTo12Hour(int hour) { 407 int result = hour % 12; 411 private String getAmPmString(int hour) { 412 return (hour < 12) ? mAmString : mPmString; 428 String hourString = String.valueOf(convertTo12Hour(mTime.hour)); 448 canvas.drawText(getAmPmString(mTime.hour), x, mYOffset, mAmPmPaint);
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
DigitalWatchFaceService.java | 402 private String formatTwoDigitNumber(int hour) { 403 return String.format("%02d", hour); 406 private int convertTo12Hour(int hour) { 407 int result = hour % 12; 411 private String getAmPmString(int hour) { 412 return (hour < 12) ? mAmString : mPmString; 428 String hourString = String.valueOf(convertTo12Hour(mTime.hour)); 448 canvas.drawText(getAmPmString(mTime.hour), x, mYOffset, mAmPmPaint);
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
DigitalWatchFaceService.java | 402 private String formatTwoDigitNumber(int hour) { 403 return String.format("%02d", hour); 406 private int convertTo12Hour(int hour) { 407 int result = hour % 12; 411 private String getAmPmString(int hour) { 412 return (hour < 12) ? mAmString : mPmString; 428 String hourString = String.valueOf(convertTo12Hour(mTime.hour)); 448 canvas.drawText(getAmPmString(mTime.hour), x, mYOffset, mAmPmPaint);
|
/external/bison/build-aux/ |
update-b4-copyright | 29 my ($sec, $min, $hour, $mday, $month, $year) = localtime (time ());
|
/external/chromium_org/net/ftp/ |
ftp_util_unittest.cc | 181 EXPECT_EQ(kTestCases[i].expected_hour, time_exploded.hour); 222 EXPECT_EQ(kTestCases[i].expected_hour, time_exploded.hour);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
gregocal.h | 109 * cout << "HOUR: " << calendar->get( UCAL_HOUR, success ) << endl; 117 * cout << "Current Time, with hour reset to 3" << endl; 131 * cout << "HOUR: " << calendar->get( UCAL_HOUR, success ) << endl; 252 * @param hour The value used to set the HOUR_OF_DAY time field in the calendar. 258 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, UErrorCode& success); 268 * @param hour The value used to set the HOUR_OF_DAY time field in the calendar. 275 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, UErrorCode& success);
|
/external/icu/icu4c/source/i18n/unicode/ |
gregocal.h | 109 * cout << "HOUR: " << calendar->get( UCAL_HOUR, success ) << endl; 117 * cout << "Current Time, with hour reset to 3" << endl; 131 * cout << "HOUR: " << calendar->get( UCAL_HOUR, success ) << endl; 252 * @param hour The value used to set the HOUR_OF_DAY time field in the calendar. 258 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, UErrorCode& success); 268 * @param hour The value used to set the HOUR_OF_DAY time field in the calendar. 275 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, UErrorCode& success);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 129 * Set the time field. This has the format hour:minute:second 134 int hour = Integer.parseInt(s); local 135 calendar.set(Calendar.HOUR_OF_DAY, hour);
|
/external/pdfium/fpdfsdk/include/javascript/ |
JS_Value.h | 149 CJS_Date(v8::Isolate* isolate,int year, int mon, int day,int hour, int min, int sec);
176 static double MakeDate(int year, int mon, int mday,int hour, int min, int sec,int ms);
|
/frameworks/base/core/java/android/app/ |
TimePickerDialog.java | 42 private static final String HOUR = "hour"; 61 * @param hourOfDay The hour that was set. 70 * @param hourOfDay The initial hour. 72 * @param is24HourView Whether this is a 24 hour view, or AM/PM. 94 * @param hourOfDay The initial hour. 96 * @param is24HourView Whether this is a 24 hour view, or AM/PM. 146 * @param hourOfDay The current hour within the day. 147 * @param minuteOfHour The current minute within the hour. 157 state.putInt(HOUR, mTimePicker.getCurrentHour()) 166 final int hour = savedInstanceState.getInt(HOUR); local [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
DowntimeCalendar.java | 66 private long getTime(long millis, int hour, int min) { 68 mCalendar.set(Calendar.HOUR_OF_DAY, hour);
|
/libcore/luni/src/test/java/libcore/java/util/ |
FormatterTest.java | 165 private static void checkFormat(String expected, String pattern, int hour) { 169 c.set(2013, Calendar.JANUARY, 1, hour, 00);
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
TextTime.java | 148 public void setTime(int hour, int minute) { 149 mHour = hour;
|
/packages/providers/CalendarProvider/ |
maketests.py | 62 hour = int(m.group(4)) + (sign * int(m.group(8)))
63 return m.group(1) + m.group(2) + m.group(3) + "T" + fmt(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/chromium_org/chrome/browser/resources/net_internals/ |
cros_log_entry.js | 33 var hour = timeTokens[3]; 37 this.time = new Date(year, month, day, hour, minute,
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
DateComponents.h | 45 // * Time type: hour-minute-second-millisecond 46 // * DateTime or DateTimeLocal type: year-month-day hour-minute-second-millisecond 75 int hour() const { return m_hour; } function in class:blink::DateComponents 112 // Sets hour, minute, second and millisecond. 114 // Sets year, month, monthDay, hour, minute, second and millisecond. 116 // Sets year, month, monthDay, hour, minute, second and millisecond, and adjusts timezone.
|