/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,
|
/libcore/luni/src/main/java/java/text/ |
SimpleDateFormat.java | 67 * <tr> <td>{@code H}</td> <td>hour in day (0-23)</td> <td>(Number)</td> <td>0</td> </tr> 68 * <tr> <td>{@code K}</td> <td>hour in am/pm (0-11)</td> <td>(Number)</td> <td>0</td> </tr> 77 * <tr> <td>{@code h}</td> <td>hour in am/pm (1-12)</td> <td>(Number)</td> <td>12</td> </tr> 78 * <tr> <td>{@code k}</td> <td>hour in day (1-24)</td> <td>(Number)</td> <td>24</td> </tr> 79 * <tr> <td>{@code m}</td> <td>minute in hour</td> <td>(Number)</td> <td>30</td> </tr> 627 int hour = calendar.get(Calendar.HOUR_OF_DAY); local 628 appendNumber(buffer, count, hour == 0 ? 24 : hour); 677 hour = calendar.get(Calendar.HOUR); [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
XMLGregorianCalendar.java | 100 * <tr id="datetimefield-hour"> 101 * <td>hour</td> 199 * int hour, 208 * int hour, 314 * @param hour value constraints are summarized in 315 * <a href="#datetimefield-hour">hour field of date/time field mapping table</a>. 327 public void setTime(int hour, int minute, int second) { 330 hour, 342 * @param hour value constraints summarized in <a href="#datetimefield-hour">hour field of date/time field mappin (…) [all...] |
/frameworks/base/core/java/android/text/format/ |
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...] |
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 47 * {@link #getDSTSavings DST savings} (usually, but not necessarily, 1 hour). 218 * The base implementation returns {@code 3600000} (1 hour) for time zones 308 int hour = parseNumber(formattedName, 4, position); local 309 if (hour < 0 || hour > 23) { 316 int raw = hour * 3600000; 323 } else if (hour >= 30 || index > 6) { 324 raw = (hour / 100 * 3600000) + (hour % 100 * 60000);
|
/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/calendarcommon/ |
RecurrenceProcessor.java | 258 iterator.hour, 259 iterator.getActualMaximum(Time.HOUR)); 785 freqField = Time.HOUR; 954 int hour = usebyhour local 1139 int hour = date.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/icu4c/i18n/unicode/ |
dtitvinf.h | 82 * year, month, date, day-of-week, am-pm, hour, hour-of-day, and minute. 84 * year > month > date > am-pm > hour > minute 108 * For time skeleton, the interval patterns when am/pm, or hour, or minute is 145 * DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY, and MINUTE. 253 * DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY, and MINUTE. 351 * ERA, YEAR, MONTH, DAY, AM_PM, HOUR, and MINUTE 459 * AM_PM, HOUR, HOUR_OF_DAY, and MINUTE,
|
/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/wpa_supplicant_8/wpa_supplicant/examples/ |
udhcpd-p2p.conf | 39 #decline_time 3600 #default: 3600 (1 hour) 45 #conflict_time 3600 #default: 3600 (1 hour)
|
/frameworks/base/core/java/android/provider/ |
AlarmClock.java | 53 * Activity Extra: The hour of the alarm being set. 60 public static final String EXTRA_HOUR = "android.intent.extra.alarm.HOUR";
|
/external/icu4c/i18n/ |
timezone.cpp | 1131 int32_t sign, hour, min, sec; local 1147 int32_t sign, hour, min, sec; local [all...] |
/external/icu4c/test/cintltst/ |
ccaltst.h | 84 int32_t hour, int32_t min, int32_t sec, int32_t am_pm);
|
/external/v8/src/ |
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/wpa_supplicant/ |
os_internal.c | 50 int os_mktime(int year, int month, int day, int hour, int min, int sec, 56 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || 64 tm.tm_hour = hour;
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
os_internal.c | 50 int os_mktime(int year, int month, int day, int hour, int min, int sec, 56 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || 64 tm.tm_hour = hour;
|
/external/wpa_supplicant_8/src/utils/ |
os_internal.c | 50 int os_mktime(int year, int month, int day, int hour, int min, int sec, 56 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || 64 tm.tm_hour = hour;
|
os_unix.c | 67 int os_mktime(int year, int month, int day, int hour, int min, int sec, 75 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || 83 tm.tm_hour = hour;
|
/frameworks/base/core/java/android/net/ |
NetworkPolicyManager.java | 139 cycle.hour = cycle.minute = cycle.second = 0; 146 lastMonth.hour = lastMonth.minute = lastMonth.second = 0; 165 cycle.hour = cycle.minute = cycle.second = 0; 172 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;
|
/packages/apps/Settings/res/xml/ |
date_time_prefs.xml | 43 <CheckBoxPreference android:key="24 hour"
|
/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));
|
/external/chromium/base/i18n/ |
time_formatting.cc | 110 // Determine what hour clock type the current locale uses, by checking 112 // is used by all of 12-hour clock formats, but not any of 24-hour clock
|