/external/icu4c/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/Email/emailcommon/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/net/ftp/ |
ftp_directory_listing_parser_unittest.h | 27 int hour; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData 57 EXPECT_EQ(test_case.hour, time_exploded.hour); 68 mock_current_time_exploded.hour = 12;
|
ftp_directory_listing_parser_windows.cc | 51 if (!base::StringToInt(time_parts[0], &time_exploded.hour)) 59 if (time_exploded.hour < 12) 60 time_exploded.hour += 12; 62 if (time_exploded.hour == 12) 63 time_exploded.hour = 0;
|
ftp_directory_listing_parser_unittest.cc | 77 mock_current_time_exploded.hour = 12; 114 int year, month, day_of_month, hour, minute; local 118 base::StringToInt(lines[8 * i + 6], &hour); 141 EXPECT_EQ(hour, time_exploded.hour);
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
drm_time.h | 48 uint16_t hour; member in struct:__db_system_time_
|
/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 | 85 * @param hour 86 * the hour of day, 0 - 23. 88 * the minute of the hour, 0 - 59. 94 public Date(int year, int month, int day, int hour, int minute) { 96 cal.set(1900 + year, month, day, hour, minute); 110 * @param hour 111 * the hour of day, 0 - 23. 113 * the minute of the hour, 0 - 59. 121 public Date(int year, int month, int day, int hour, int minute, int second) { 123 cal.set(1900 + year, month, day, hour, minute, second) 380 int hour = -1, minute = -1, second = -1, zoneOffset = 0, minutesOffset = 0; local [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
SunCalculator.java | 82 int hour = (int) Math.floor(time); local 83 int minute = (int) Math.round((time - hour) * 60); 85 hour++; 87 return hour; 91 int hour = (int) Math.floor(time); local 92 int minute = (int) Math.round((time - hour) * 60); 100 int hour = (int) Math.floor(time); local 101 int minute = (int) Math.round((time - hour) * 60); 104 hour++; 106 return (hour * 60 + minute) / 1440.0f 111 int hour = (int) Math.floor(time); local [all...] |
/frameworks/base/media/libdrm/mobile1/include/parser/ |
parser_rel.h | 43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\ 45 time = hour * 10000 + min * 100 + sec;\ 55 int32_t time; /**< hour * 10000 + min *100 + sec */ 96 * \param hour hour of the time 103 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec);
|
/frameworks/base/media/mtp/ |
MtpUtils.cpp | 32 hh is replaced by the hour (00-23), mm is replaced by the minute (00-59), and ss by the 37 int year, month, day, hour, minute, second; local 41 &year, &month, &day, &hour, &minute, &second) != 6) 56 tm.tm_hour = hour;
|
/system/core/toolbox/ |
date.c | 14 int hour; local 25 hour = atoi(s); 30 tm.tm_hour = hour / 10000; 31 tm.tm_min = (hour % 10000) / 100; 32 tm.tm_sec = (hour % 100);
|
/external/webkit/Source/WebCore/html/ |
DateComponents.cpp | 169 static bool withinHTMLDateLimits(int year, int month, int monthDay, int hour, int minute, int second, int millisecond) 182 return !hour && !minute && !second && !millisecond; 262 int hour = m_hour + carry; local 263 if (hour > 23) { 264 carry = hour / 24; 265 hour = hour % 24; 266 } else if (hour < 0) { 267 carry = (23 - hour) / 24; 268 hour += carry * 24 307 int hour; local 410 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);
|
/external/v8/src/ |
dateparser.cc | 92 int& hour = comp_[0]; local 98 if (!IsHour12(hour)) return false; 99 hour %= 12; 100 hour += hour_offset_; 103 if (!IsHour(hour) || !IsMinute(minute) || 106 output->set(HOUR, Smi::FromInt(hour));
|
/external/webkit/Source/JavaScriptCore/wtf/ |
DateMath.h | 130 , hour(0) 144 , hour(inTm.tm_hour) 175 ret.tm_hour = hour; 197 hour = rhs.hour; 215 int hour; member in struct:JSC::GregorianDateTime
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDate.java | 116 /** 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/webkit/Source/JavaScriptCore/runtime/ |
DateConversion.cpp | 93 t.hour, t.minute, t.second, 97 t.hour, t.minute, t.second, 104 snprintf(buffer, DateConversionBufferSize, "%02d:%02d:%02d GMT", t.hour, t.minute, t.second);
|
/external/chromium/base/ |
time_mac.cc | 68 date.hour = exploded.hour; 93 exploded->hour = date.hour;
|
/external/icu4c/test/intltest/ |
calcasts.h | 34 int32_t hour; member in struct:CalendarCaseTest::TestCase
|
/external/wpa_supplicant/ |
os_win32.c | 55 int os_mktime(int year, int month, int day, int hour, int min, int sec, 63 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || 71 tm.tm_hour = hour;
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_time.c | 49 time_ptr->hour = tm_t->tm_hour;
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
TimeTest.java | 36 // + ' ' + t.hour + ':' + t.minute 191 || local.monthDay != test.day2 || local.hour != test.hour2 196 local.year, local.month, local.monthDay, local.hour, local.minute); 209 || local.monthDay != test.day2 || local.hour != test.hour2 214 local.year, local.month, local.monthDay, local.hour, local.minute); 232 || local.monthDay != test.day2 || local.hour != test.hour2 238 local.year, local.month, local.monthDay, local.hour, local.minute, 254 || local.monthDay != test.day2 || local.hour != test.hour2 260 local.year, local.month, local.monthDay, local.hour, local.minute, 368 t.hour != 9 || t.minute != 50 || t.second != 50 | [all...] |
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
racoon.conf | 29 lifetime time 1 hour;
|