/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/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/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/Email/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 | 92 * @param hour 93 * the hour of day, 0 - 23. 95 * the minute of the hour, 0 - 59. 101 public Date(int year, int month, int day, int hour, int minute) { 103 cal.set(1900 + year, month, day, hour, minute); 117 * @param hour 118 * the hour of day, 0 - 23. 120 * the minute of the hour, 0 - 59. 128 public Date(int year, int month, int day, int hour, int minute, int second) { 130 cal.set(1900 + year, month, day, hour, minute, second) 391 int hour = -1, minute = -1, second = -1, zoneOffset = 0, minutesOffset = 0; local [all...] |
TimeZone.java | 50 * {@link #getDSTSavings DST savings} (usually, but not necessarily, 1 hour). 230 * <p>This class returns {@code 3600000} (1 hour) for time zones 348 int hour; local 351 hour = Integer.parseInt(m.group(1)); 359 if (hour < 0 || hour > 23 || minute < 0 || minute > 59) { 364 int raw = (hour * 3600000) + (minute * 60000); 369 String cleanId = String.format("GMT%c%02d:%02d", sign, hour, minute);
|
/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...] |
/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/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 | 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;
|
/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);
|
/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/ |
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);
|