Searched refs:hour (Results 1 - 25 of 245) sorted by relevance

12345678910

/external/chromium_org/chrome/common/extensions/docs/examples/api/notifications/
H A Dbackground.js12 var hour = time[1] % 12 || 12; // The prettyprinted hour.
14 new Notification(hour + time[2] + ' ' + period, {
/external/chromium_org/third_party/icu/source/test/compat/
H A Dtzone.pl8 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`;
H A Dtzdate.c32 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) { argument
122 ts.tm_hour = hour;
/external/icu/icu4c/source/test/compat/
H A Dtzone.pl8 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`;
H A Dtzdate.c32 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) { argument
122 ts.tm_hour = hour;
/external/chromium_org/v8/test/intl/overrides/
H A Ddate.js36 [], {hour: 'numeric', minute: 'numeric', second: 'numeric'});
39 hour: 'numeric', minute: 'numeric', second: 'numeric'});
49 locale, {hour: 'numeric', minute: 'numeric', second: 'numeric'});
52 hour: 'numeric', minute: 'numeric', second: 'numeric'});
61 hour: 'numeric', minute: '2-digit', second: 'numeric'};
/external/chromium_org/third_party/tlslite/tlslite/utils/
H A Ddatefuncs.py11 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)
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/
H A DMultiFieldTimePickerDialog.java21 * 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
49 MultiFieldTimePickerDialog( Context context, int theme, int hour, int minute, int second, int milli, int min, int max, int step, boolean is24hourFormat, OnMultiFieldTimeSetListener listener) argument
[all...]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPDateTimeImpl.java38 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) argument
215 this.hour = Math.min(Math.abs(hour), 23);
322 calendar.set(Calendar.HOUR_OF_DAY, hour);
/external/chromium_org/net/ftp/
H A Dftp_directory_listing_parser_unittest.h26 int hour; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData
56 EXPECT_EQ(test_case.hour, time_exploded.hour);
67 mock_current_time_exploded.hour = 12;
H A Dftp_directory_listing_parser_unittest.cc37 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);
/external/lzma/CPP/Windows/
H A DTime.h16 unsigned hour, unsigned min, unsigned sec, UInt64 &resSeconds);
H A DTime.cpp58 unsigned year, mon, day, hour, min, sec;
69 hour = (unsigned)(v64 % 24);
113 dosTime = (year << 25) | (mon << 21) | (day << 16) | (hour << 11) | (min << 5) | (sec >> 1);
144 unsigned hour, unsigned min, unsigned sec, UInt64 &resSeconds)
148 day < 1 || day > 31 || hour > 23 || min > 59 || sec > 59)
159 resSeconds = ((UInt64)(numDays * 24 + hour) * 60 + min) * 60 + sec;
143 GetSecondsSince1601(unsigned year, unsigned month, unsigned day, unsigned hour, unsigned min, unsigned sec, UInt64 &resSeconds) argument
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
H A DXMPDateTime.java25 * <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); argument
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DTimeTest.java37 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
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDateComponents.cpp161 static bool withinHTMLDateLimits(int year, int month, int monthDay, int hour, int minute, int second, int millisecond) argument
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
299 int hour; local
398 int hour; local
[all...]
/external/chromium_org/google_apis/drive/
H A Dtime_util.cc30 int hour = 0; local
31 if (!base::StringToInt(parts[0], &hour))
38 *out_offset_to_utc_in_minutes = (hour * 60 + minute) * (ahead ? +1 : -1);
109 if (!base::StringToInt(parts[0], &exploded.hour) ||
154 exploded.hour, exploded.minute, exploded.second, exploded.millisecond);
166 exploded.hour, exploded.minute, exploded.second, exploded.millisecond);
/external/chromium_org/v8/src/
H A Ddateparser.cc71 int& hour = comp_[0]; local
77 if (!IsHour12(hour)) return false;
78 hour %= 12;
79 hour += hour_offset_;
82 if (!IsHour(hour) || !IsMinute(minute) ||
85 output->set(HOUR, Smi::FromInt(hour));
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DSIPDate.java116 /** hour member
118 protected int hour; field in class:SIPDate
143 this.hour == other.hour &&
156 hour = -1;
246 hour = javaCal.get(Calendar.HOUR_OF_DAY);
264 if (hour < 10) {
265 hourString = "0" + hour;
267 hourString = "" + hour;
329 /** get the hour
[all...]
/external/pdfium/fpdfsdk/src/
H A Dfsdk_baseannot.cpp103 dt.hour = newtime->tm_hour;
123 dt.hour = (FX_BYTE)st.wHour;
146 int d2 = (((int)dt1.dt.hour) << 16) | (((int)dt1.dt.minute) << 8) | (int)dt1.dt.second;
148 int d4 = (((int)dt2.dt.hour) << 16) | (((int)dt2.dt.minute) << 8) | (int)dt2.dt.second;
160 int d2 = (((int)dt1.dt.hour) << 16) | (((int)dt1.dt.minute) << 8) | (int)dt1.dt.second;
162 int d4 = (((int)dt2.dt.hour) << 16) | (((int)dt2.dt.minute) << 8) | (int)dt2.dt.second;
174 int d2 = (((int)dt1.dt.hour) << 16) | (((int)dt1.dt.minute) << 8) | (int)dt1.dt.second;
176 int d4 = (((int)dt2.dt.hour) << 16) | (((int)dt2.dt.minute) << 8) | (int)dt2.dt.second;
188 int d2 = (((int)dt1.dt.hour) << 16) | (((int)dt1.dt.minute) << 8) | (int)dt1.dt.second;
190 int d4 = (((int)dt2.dt.hour) << 1
[all...]
/external/chromium_org/ash/system/chromeos/power/
H A Dpower_status.cc46 base::string16 GetBatteryTimeAccessibilityString(int hour, int min) { argument
47 DCHECK(hour || min);
48 if (hour && !min) {
51 base::TimeDelta::FromHours(hour));
53 if (min && !hour) {
62 base::TimeDelta::FromHours(hour)),
266 int hour = 0, min = 0; local
267 PowerStatus::SplitTimeIntoHoursAndMinutes(time, &hour, &min);
276 GetBatteryTimeAccessibilityString(hour, min));
/external/chromium_org/chrome/browser/resources/memory_internals/
H A Dmemory_internals.js156 var hour = Math.floor(totalSeconds / 3600);
159 return (hour > 0 ? (hour + (hour > 1 ? ' hours ' : ' hour ')) : '') +
/external/chromium_org/chrome/installer/util/
H A Dgoogle_update_experiment_util.cc44 // HH0 = 2 digit hour,
59 then.hour,
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dcalcasts.h34 int32_t hour; member in struct:CalendarCaseTest::TestCase
/external/chromium_org/v8/test/intl/date-format/
H A Dparse-mdyhms.js32 day: 'numeric', hour: 'numeric',

Completed in 8907 milliseconds

12345678910