/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 148 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 150 * year, month, day, hour, minute, and second. 177 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 179 * year, month, day, hour, minute, and second. 312 * whose lexical representation contains only day, hour, minute, and second components. 352 * whose lexical representation contains only day, hour, minute, and second components. 374 * <p>Any remaining milliseconds after determining the day, hour, minute and second are discarded.</p> 411 int minutes = (int) (val % 60L); // 60 minutes per hour 428 BigInteger minutes = BigInteger.valueOf(val % 60L); // 60 minutes per hour 438 * <code>day</code>, <code>hour</code>, <code>minute</code> and <code>second</code> as defined i [all...] |
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 85 public static final char HOUR = 'h'; 126 * Returns true if user preference is set to 24-hour format. 128 * @return true if 24 hour time format is selected, false otherwise. 203 * to the current locale and the user's 12-/24-hour clock preference. 213 * to the current locale and the user's 12-/24-hour clock preference. 497 case 'K': // hour in am/pm (0-11) 498 case 'h': // hour in am/pm (1-12) 500 int hour = inDate.get(Calendar.HOUR); local 501 if (c == 'h' && hour == 0) 510 int hour = inDate.get(Calendar.HOUR_OF_DAY); local [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
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);
|
/libcore/luni/src/main/java/java/text/ |
SimpleDateFormat.java | 73 * <tr> <td>{@code H}</td> <td>hour in day (0-23)</td> <td>(Number)</td> <td>0</td> </tr> 74 * <tr> <td>{@code K}</td> <td>hour in am/pm (0-11)</td> <td>(Number)</td> <td>0</td> </tr> 83 * <tr> <td>{@code h}</td> <td>hour in am/pm (1-12)</td> <td>(Number)</td> <td>12</td> </tr> 84 * <tr> <td>{@code k}</td> <td>hour in day (1-24)</td> <td>(Number)</td> <td>24</td> </tr> 85 * <tr> <td>{@code m}</td> <td>minute in hour</td> <td>(Number)</td> <td>30</td> </tr> 618 int hour = calendar.get(Calendar.HOUR_OF_DAY); local 619 appendNumber(buffer, count, hour == 0 ? 24 : hour); 668 hour = calendar.get(Calendar.HOUR); 901 int hour = result.intValue(); local 1174 int hour = result.intValue(); local [all...] |
/external/chromium/chrome/browser/chromeos/status/ |
power_menu_button.cc | 79 int hour = time.InHours(); local 80 int min = (time - base::TimeDelta::FromHours(hour)).InMinutes(); 81 string16 hour_str = base::IntToString16(hour);
|
/external/chromium/base/ |
time.cc | 93 exploded.hour = 0; 126 is_in_range(hour, 0, 23) &&
|
/external/iptables/extensions/ |
libxt_time.c | 90 unsigned int month = 1, day = 1, hour = 0, minute = 0, second = 0; local 118 hour = strtoul(s, &e, 10); 119 if ((*e != ':' && *e != '\0') || hour > 23) 140 tm.tm_hour = hour; 164 unsigned int hour, minute, second = 0; local 167 hour = strtoul(s, &e, 10); 168 if (*e != ':' || hour > 23) 184 return 60 * 60 * hour + 60 * minute + second;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 49 time.hour = other.hour; 95 time.hour = 0; 123 public void set(int second, int minute, int hour, int monthDay, int month, int year) { 126 time.hour = hour; 150 time.hour = 0; 260 c.set(time.year, time.month, time.monthDay, time.hour, time.minute, time.second);
|
/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...] |
/frameworks/base/media/libdrm/mobile1/src/parser/ |
parser_rel.c | 52 int32_t hour, int32_t min, int32_t sec) 56 hour >= 0 && hour <= 23 && 66 int32_t year, mon, day, hour, min, sec; local 105 /** get hour */ 111 hour = atoi((char *)pHead); 128 if (0 != drm_checkDate(year, mon, day, hour, min, sec)) 131 YMD_HMS_2_INT(year, mon, day, dateTime->date, hour, min, sec, 238 int32_t year, mon, day, hour, min, sec; local 374 /** get hour */ [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
DateMath.cpp | 316 static inline double timeToMS(double hour, double min, double sec, double ms) 318 return (((hour * minutesPerHour + min) * secondsPerMinute + sec) * msPerSecond + ms); 490 static inline double ymdhmsToSeconds(long year, int mon, int day, int hour, int minute, double second) 497 return ((days * hoursPerDay + hour) * minutesPerHour + minute) * secondsPerMinute + second; 850 long hour = 0; local 860 // There was no year; the number was the hour. 868 parseLong(dateString, &newPosStr, 10, &hour); 877 if (hour < 0 || hour > 23) 913 if (hour > 12 [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 258 iterator.hour, 259 iterator.getActualMaximum(Time.HOUR)); 785 freqField = Time.HOUR; 956 int hour = usebyhour local 1141 int hour = date.hour; local [all...] |
/external/icu4c/i18n/ |
timezone.cpp | 1319 int32_t sign, hour, min, sec; local 1335 int32_t sign, hour, min, sec; local [all...] |
zonemeta.h | 101 static UnicodeString& formatCustomID(uint8_t hour, uint8_t min, uint8_t sec, UBool negative, UnicodeString& id);
|
/device/generic/goldfish/camera/fake-pipeline2/ |
Scene.h | 51 // Set time of day (24-hour clock). This controls the general light levels 53 void setHour(int hour); 54 // Get current hour 61 // Calculate scene information for current hour and the time offset since 62 // the hour. Must be called at least once before calling getLuminousExposure. 151 // Sun, moon illuminance levels in 2-hour increments. These don't match any
|
/external/icu4c/test/intltest/ |
tzbdtest.h | 82 void verifyMapping(Calendar& cal, int year, int month, int dom, int hour,
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
date-format-tofte.js | 84 // 12-hour format of an hour without leading zeros 88 // 24-hour format of an hour without leading zeros 92 // 12-hour format of an hour with leading zeros 104 // 24-hour format of an hour with leading zeros
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
date-format-tofte.js | 84 // 12-hour format of an hour without leading zeros 88 // 24-hour format of an hour without leading zeros 92 // 12-hour format of an hour with leading zeros 104 // 24-hour format of an hour with leading zeros
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ |
runtests.pl | 422 $now = $year ."/". $mon ."/". $mday ." ". $hour .":". 428 ( $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst ) = 436 $hour = &zero_pad($hour);
|
/frameworks/base/core/java/android/net/ |
NetworkPolicyManager.java | 166 cycle.hour = cycle.minute = cycle.second = 0; 173 lastMonth.hour = lastMonth.minute = lastMonth.second = 0; 196 cycle.hour = cycle.minute = cycle.second = 0; 203 nextMonth.hour = nextMonth.minute = nextMonth.second = 0;
|
/frameworks/base/core/java/android/widget/ |
DateTimeView.java | 99 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0); 117 t.hour -= 12; 119 t.hour += 12; 121 t.hour = 0;
|
/hardware/ti/omap4xxx/camera/inc/ |
NV12_resize.h | 43 mmInt32 hour; member in struct:__anon21869
|
/packages/apps/Email/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/wpa_supplicant_8/src/utils/ |
os_internal.c | 44 int os_mktime(int year, int month, int day, int hour, int min, int sec, 50 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || 58 tm.tm_hour = hour; 77 tm->hour = tm2->tm_hour;
|
os_unix.c | 63 int os_mktime(int year, int month, int day, int hour, int min, int sec, 71 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || 79 tm.tm_hour = hour; 113 tm->hour = tm2->tm_hour;
|