/external/chromium_org/third_party/icu/source/test/compat/ |
tzone.pl | 8 print "Usage: tzone [year month day hour minute]\n"; 21 my $hour = 0; 26 ($year, $month, $day, $hour, $minute) = @ARGV; 27 print "The date we are using is: $month-$day-$year $hour:$minute.\n"; 52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
|
tzdate.c | 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime); 39 int year, month, day, hour, minute; local 54 hour = atoi(argv[4]); 61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); 109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { 122 ts.tm_hour = hour;
|
/external/icu/icu4c/source/test/compat/ |
tzone.pl | 8 print "Usage: tzone [year month day hour minute]\n"; 21 my $hour = 0; 26 ($year, $month, $day, $hour, $minute) = @ARGV; 27 print "The date we are using is: $month-$day-$year $hour:$minute.\n"; 52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
|
tzdate.c | 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime); 39 int year, month, day, hour, minute; local 54 hour = atoi(argv[4]); 61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); 109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { 122 ts.tm_hour = hour;
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
Utils.java | 22 public static long createTimeInMillis(int second, int minute, int hour, int monthDay, 25 t.set(second, minute, hour, monthDay, month, year);
|
/frameworks/base/core/java/android/hardware/hdmi/ |
HdmiTimerRecordSources.java | 51 * TimeOrDuration duration = HdmiTimerRecordSource.ofDuration(1, 00); // 1 hour duration. 52 * // For 1 hour from 6PM, August 10th every SaturDay and Sunday. 145 * @param hour hour in range of [0, 23] 148 * @throws IllegalArgumentException if hour or minute is out of range 150 public static Time timeOf(int hour, int minute) { 151 checkTimeValue(hour, minute); 152 return new Time(hour, minute); 155 private static void checkTimeValue(int hour, int minute) { 156 if (hour < 0 || hour > 23) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
TimePickerFragment.java | 38 final int hour, minute; local 41 hour = c.get(Calendar.HOUR_OF_DAY); 44 hour = mAlarm.hour; 48 return new TimePickerDialog(getActivity(), R.style.TimePickerTheme, mListener, hour, minute,
|
/system/core/logcat/tests/ |
logcat_benchmark.cpp | 36 int hour; member in class:timestamp 48 &month, &day, &hour, &minute, &second, &millisecond) == 6; 64 && ((hour < T.hour) 65 || ((hour == T.hour)
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
datefuncs.py | 11 hour, minute, second = tail[1:].split(":") 14 hour, minute, second = int(hour), int(minute), int(second) 15 return createDateClass(year, month, day, hour, minute, second) 22 def createDateClass(year, month, day, hour, minute, second): 23 return datetime(year, month, day, hour, minute, second) 50 def createDateClass(year, month, day, hour, minute, second): 53 c.set(year, month-1, day, hour, minute, second) 64 c.get(c.HOUR) #force refresh? 69 d.add(d.HOUR, hours [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
TimeStatsAggregator.java | 90 private static String getTimeOfDay(int hour) { 91 if (hour >= 5 && hour < 11) { 93 } else if (hour >= 11 && hour < 14) { 95 } else if (hour >= 14 && hour < 18) { 97 } else if (hour >= 18 && hour < 21) { 99 } else if ((hour >= 21 && hour < 24) | [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 37 private final int hour; field in class:DateTime 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) { 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); 47 this.hour = hour; 69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { 71 c.set(year, month - 1, day, hour, minute, second); 99 return hour;
|
/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser_unittest.h | 26 int hour; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData 56 EXPECT_EQ(test_case.hour, time_exploded.hour); 67 mock_current_time_exploded.hour = 12;
|
ftp_directory_listing_parser_unittest.cc | 37 mock_current_time_exploded.hour = 12; 75 int year, month, day_of_month, hour, minute; local 79 base::StringToInt(lines[9 * i + 6], &hour); 102 EXPECT_EQ(hour, time_exploded.hour);
|
/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...] |
/libcore/luni/src/main/java/java/util/ |
Date.java | 91 * @param hour 92 * the hour of day, 0 - 23. 94 * the minute of the hour, 0 - 59. 99 public Date(int year, int month, int day, int hour, int minute) { 101 cal.set(1900 + year, month, day, hour, minute); 115 * @param hour 116 * the hour of day, 0 - 23. 118 * the minute of the hour, 0 - 59. 126 public Date(int year, int month, int day, int hour, int minute, int second) { 128 cal.set(1900 + year, month, day, hour, minute, second) 388 int hour = -1, minute = -1, second = -1, zoneOffset = 0, minutesOffset = 0; local [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/ |
MultiFieldTimePickerDialog.java | 21 * hour, minute, second, milli, AM/PM. 24 * hour range is 0..23. Otherwise hour range is 1..12. 52 int hour, int minute, int second, int milli, 74 mHourSpinner = (NumberPicker) view.findViewById(R.id.hour); 87 hour = minHour; 95 int amPm = hour / 12; 103 hour %= 12; 104 if (hour == 0) { 105 hour = 12 249 int hour = mHourSpinner.getValue(); local [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPDateTimeImpl.java | 38 private int hour = 0; field in class:XMPDateTimeImpl 83 this.hour = intCalendar.get(Calendar.HOUR_OF_DAY); 105 this.hour = calendar.get(Calendar.HOUR_OF_DAY); 206 return hour; 213 public void setHour(int hour) 215 this.hour = Math.min(Math.abs(hour), 23); 322 calendar.set(Calendar.HOUR_OF_DAY, hour);
|
/external/lzma/CPP/Windows/ |
Time.h | 16 unsigned hour, unsigned min, unsigned sec, UInt64 &resSeconds);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTime.java | 25 * <li> hour - The time zone hour in the range 0..23. 55 /** @return Returns hour - The hour in the range 0..23. */ 58 /** @param hour Sets the hour in the range 0..23. */ 59 void setHour(int hour);
|
/frameworks/av/media/mtp/ |
MtpUtils.cpp | 33 hh is replaced by the hour (00-23), mm is replaced by the minute (00-59), and ss by the 38 int year, month, day, hour, minute, second; local 42 &year, &month, &day, &hour, &minute, &second) != 6) 57 tm.tm_hour = hour;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TimeTest.java | 37 assertEquals(t.hour, t2.hour); 52 assertEquals(t.hour, t2.hour); 75 assertEquals(t.hour, 1); 93 assertEquals(0, t.hour); 138 assertEquals(16, t.hour); 146 assertEquals(16, t.hour); 164 assertEquals(0, t.hour); 208 for (int hour = 0; hour < 24; hour++) [all...] |
/system/core/toolbox/ |
touch.c | 20 int hour = 0; local 28 hour = atoi(s); 34 tm.tm_hour = hour / 10000; 35 tm.tm_min = (hour % 10000) / 100; 36 tm.tm_sec = hour % 100;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
DateComponents.cpp | 161 static bool withinHTMLDateLimits(int year, int month, int monthDay, int hour, int minute, int second, int millisecond) 174 return !hour && !minute && !second && !millisecond; 254 int hour = m_hour + carry; local 255 if (hour > 23) { 256 carry = hour / 24; 257 hour = hour % 24; 258 } else if (hour < 0) { 259 carry = (23 - hour) / 24; 260 hour += carry * 24 299 int hour; local 398 int hour; local [all...] |
/frameworks/base/core/java/com/android/internal/http/ |
HttpDateTime.java | 75 this.hour = h; 80 int hour; field in class:HttpDateTime.TimeOfDay 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, 209 int hour = timeString.charAt(i++) - '0'; local 211 hour = hour * 10 + (timeString.charAt(i++) - '0'); 223 return new TimeOfDay(hour, minute, second);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
TimePicker.java | 121 protected boolean setTime(int hour, int minute, boolean isPm) { 127 if (hour < 0 || hour > 23) { 131 if (hour < 1 || hour > 12) { 136 updateSelection(mColumnOrder.mHours, mIs24hFormat ? hour : (hour - 1));
|