/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/testdata/ |
D | testdata_en.txt | 85 1 hour ago 87 1 hour from now 167 1 hour and 5 minutes 169 1 hour and 10 minutes 171 1 hour and 15 minutes 173 1 hour and 20 minutes 175 1 hour and 25 minutes 177 1 hour and 30 minutes 179 1 hour and 35 minutes 181 1 hour and 40 minutes [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/testdata/ |
D | testdata_en.txt | 85 1 hour ago 87 1 hour from now 167 1 hour and 5 minutes 169 1 hour and 10 minutes 171 1 hour and 15 minutes 173 1 hour and 20 minutes 175 1 hour and 25 minutes 177 1 hour and 30 minutes 179 1 hour and 35 minutes 181 1 hour and 40 minutes [all …]
|
/external/u-boot/drivers/rtc/ |
D | mx27rtc.c | 21 uint32_t day, hour, min, sec; in rtc_get() local 24 hour = readl(&rtc_regs->hourmin); in rtc_get() 27 min = (hour >> MIN_SHIFT) & MIN_MASK; in rtc_get() 28 hour = (hour >> HOUR_SHIFT) & HOUR_MASK; in rtc_get() 30 sec += min * 60 + hour * 3600 + day * 24 * 3600; in rtc_get() 40 uint32_t day, hour, min, sec; in rtc_set() local 46 hour = sec / 3600; in rtc_set() 51 hour = (hour & HOUR_MASK) << HOUR_SHIFT; in rtc_set() 52 hour |= (min & MIN_MASK) << MIN_SHIFT; in rtc_set() 55 writel(hour, &rtc_regs->hourmin); in rtc_set()
|
D | s3c24x0_rtc.c | 48 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local 59 hour = readb(&rtc->bcdhour); in rtc_get() 81 year, mon, mday, wday, hour, min, sec); in rtc_get() 89 tmp->tm_hour = bcd2bin(hour & 0x3F); in rtc_get() 112 uchar sec, min, hour, mday, wday, mon, year; in rtc_set() local 123 hour = bin2bcd(tmp->tm_hour); in rtc_set() 133 writeb(hour, &rtc->bcdhour); in rtc_set()
|
D | ftrtc010.c | 17 unsigned int hour; /* 0x08 */ member 55 unsigned long hour; in ftrtc010_time() local 63 hour = readl(&rtc->hour); in ftrtc010_time() 68 return day * 24 * 60 * 60 + hour * 60 * 60 + minute * 60 + second; in ftrtc010_time()
|
D | rx8025.c | 83 uchar sec, min, hour, mday, wday, mon, year, ctl2; in rtc_get() local 91 hour = rtc_read(RTC_HR_REG_ADDR); in rtc_get() 99 year, mon, mday, wday, hour, min, sec); in rtc_get() 121 tmp->tm_hour = bcd2bin (hour & 0x3F); in rtc_get() 123 tmp->tm_hour = bcd2bin (hour & 0x1F) % 12 + in rtc_get() 124 ((hour & 0x20) ? 12 : 0); in rtc_get()
|
/external/python/dateutil/dateutil/ |
D | relativedelta.py | 96 hour=None, minute=None, second=None, microsecond=None): argument 125 self.hour = None 176 self.hour = hour 182 for x in (year, month, day, hour, 244 or self.hour is not None or self.minute is not None or 299 weekday=self.weekday, hour=self.hour, 322 hour=(other.hour if other.hour is not None 323 else self.hour), 344 hour=self.hour, 415 hour=(self.hour if self.hour is not None else [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | DayPeriodRules.java | 148 int hour = parseHour(hourStr); in addCutoff() local 149 cutoffs[hour] |= 1 << type.ordinal(); in addCutoff() 169 for (int hour = startHour + 1;; ++hour) { in setDayPeriodForHoursFromCutoffs() 170 if (hour == startHour) { in setDayPeriodForHoursFromCutoffs() 175 if (hour == 25) { hour = 0; } in setDayPeriodForHoursFromCutoffs() 176 if ((cutoffs[hour] & (1 << CutoffType.BEFORE.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs() 177 rule.add(startHour, hour, period); in setDayPeriodForHoursFromCutoffs() 196 int hour = Integer.parseInt(hourStr); in parseHour() local 199 if (hour < 0 || hour > 24) { in parseHour() 203 return hour; in parseHour() [all …]
|
D | ZoneMeta.java | 663 int hour = 0; in parseCustomID() local 684 hour = n.intValue(); in parseCustomID() 736 min = hour % 100; in parseCustomID() 737 hour /= 100; in parseCustomID() 741 sec = hour % 100; in parseCustomID() 742 min = (hour/100) % 100; in parseCustomID() 743 hour /= 10000; in parseCustomID() 748 if (hour <= kMAX_CUSTOM_HOUR && min <= kMAX_CUSTOM_MIN && sec <= kMAX_CUSTOM_SEC) { in parseCustomID() 754 fields[1] = hour; in parseCustomID() 782 int hour, min, sec; in getCustomTimeZone() local [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | DayPeriodRules.java | 155 int hour = parseHour(hourStr); in addCutoff() local 156 cutoffs[hour] |= 1 << type.ordinal(); in addCutoff() 176 for (int hour = startHour + 1;; ++hour) { in setDayPeriodForHoursFromCutoffs() 177 if (hour == startHour) { in setDayPeriodForHoursFromCutoffs() 182 if (hour == 25) { hour = 0; } in setDayPeriodForHoursFromCutoffs() 183 if ((cutoffs[hour] & (1 << CutoffType.BEFORE.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs() 184 rule.add(startHour, hour, period); in setDayPeriodForHoursFromCutoffs() 203 int hour = Integer.parseInt(hourStr); in parseHour() local 206 if (hour < 0 || hour > 24) { in parseHour() 210 return hour; in parseHour() [all …]
|
D | ZoneMeta.java | 664 int hour = 0; in parseCustomID() local 685 hour = n.intValue(); in parseCustomID() 737 min = hour % 100; in parseCustomID() 738 hour /= 100; in parseCustomID() 742 sec = hour % 100; in parseCustomID() 743 min = (hour/100) % 100; in parseCustomID() 744 hour /= 10000; in parseCustomID() 749 if (hour <= kMAX_CUSTOM_HOUR && min <= kMAX_CUSTOM_MIN && sec <= kMAX_CUSTOM_SEC) { in parseCustomID() 755 fields[1] = hour; in parseCustomID() 783 int hour, min, sec; in getCustomTimeZone() local [all …]
|
/external/icu/icu4c/source/i18n/ |
D | dayperiodrules.cpp | 185 int32_t hour = parseHour(hour_str, errorCode); in addCutoff() local 188 cutoffs[hour] |= 1 << type; in addCutoff() 211 for (int32_t hour = startHour + 1;; ++hour) { in setDayPeriodForHoursFromCutoffs() local 212 if (hour == startHour) { in setDayPeriodForHoursFromCutoffs() 217 if (hour == 25) { hour = 0; } in setDayPeriodForHoursFromCutoffs() 218 if (cutoffs[hour] & (1 << CUTOFF_TYPE_BEFORE)) { in setDayPeriodForHoursFromCutoffs() 219 rule.add(startHour, hour, period); in setDayPeriodForHoursFromCutoffs() 260 int32_t hour = time[0] - 0x30; in parseHour() local 261 if (hour < 0 || 9 < hour) { in parseHour() 271 hour = hour * 10 + hourDigit2; in parseHour() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTimeTest.java | 58 assertEquals(t.hour, t2.hour); in shouldHaveCopyConstructor() 73 assertEquals(t.hour, t2.hour); in shouldHaveSetTime() 96 assertEquals(t.hour, 1); in shouldHaveSet6Args() 114 assertEquals(0, t.hour); in shouldClear() 178 assertEquals(16, t.hour); in shouldHaveParse() 186 assertEquals(16, t.hour); in shouldHaveParse() 202 assertEquals(desc, 16, t.hour); in shouldParseRfc3339() 213 assertEquals(desc, 9, t.hour); in shouldParseRfc3339() 224 assertEquals(desc, 0, t.hour); in shouldParseRfc3339() 245 assertEquals(desc, 19, t.hour); in shouldParseRfc3339_withQuestionableFormat() [all …]
|
/external/dng_sdk/source/ |
D | dng_date_time.cpp | 66 uint32 hour, in dng_date_time() argument 73 , fHour (hour) in dng_date_time() 227 void dng_date_time_info::SetTime (uint32 hour, in SetTime() argument 234 fDateTime.fHour = hour; in SetTime() 283 unsigned hour = 0; in Decode_ISO_8601() local 289 &hour, in Decode_ISO_8601() 296 SetTime ((uint32) hour, in Decode_ISO_8601() 553 unsigned hour = 0; in Decode_IPTC_Time() local 561 &hour, in Decode_IPTC_Time() 577 SetTime ((uint32) hour, in Decode_IPTC_Time() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | time.cc | 77 time.hour < 0 || time.hour > 23 || in ValidateDateTime() 125 result += kSecondsPerHour * time.hour + in SecondsSinceCommonEra() 195 int hour; in ParseTimezoneOffset() local 196 if ((data = ParseInt(data, 2, 0, 23, &hour)) == NULL) { in ParseTimezoneOffset() 206 *offset = (hour * 60 + minute) * 60; in ParseTimezoneOffset() 243 int hour = seconds / kSecondsPerHour; in SecondsToDateTime() local 250 time->hour = hour; in SecondsToDateTime() 278 time.hour, time.minute, time.second); in FormatTime() 311 if ((data = ParseInt(data, 2, 0, 23, &time.hour)) == NULL) { in ParseTime()
|
D | time_test.cc | 48 time.hour = time.minute = time.second = 0; in CreateTimestamp() 65 EXPECT_EQ(0, time.hour); in TEST() 76 EXPECT_EQ(23, time.hour); in TEST() 86 start.hour = 0; in TEST() 92 end.hour = 23; in TEST() 157 start.hour = 0; in TEST() 163 end.hour = 23; in TEST()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | SIPDate.java | 118 protected int hour; field in SIPDate 143 this.hour == other.hour && in equals() 156 hour = -1; in SIPDate() 246 hour = javaCal.get(Calendar.HOUR_OF_DAY); in SIPDate() 264 if (hour < 10) { in encode() 265 hourString = "0" + hour; in encode() 267 hourString = "" + hour; in encode() 333 return hour; in getHour() 368 if (hour != -1) in setJavaCal() 369 javaCal.set(Calendar.HOUR, hour); in setJavaCal() [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | XMPDateTimeImpl.java | 38 private int hour = 0; field in XMPDateTimeImpl 83 this.hour = intCalendar.get(Calendar.HOUR_OF_DAY); in XMPDateTimeImpl() 105 this.hour = calendar.get(Calendar.HOUR_OF_DAY); in XMPDateTimeImpl() 206 return hour; in getHour() 213 public void setHour(int hour) in setHour() argument 215 this.hour = Math.min(Math.abs(hour), 23); in setHour() 322 calendar.set(Calendar.HOUR_OF_DAY, hour); in getCalendar()
|
/external/apache-http/android/src/android/net/http/ |
D | LegacyHttpDateTime.java | 75 this.hour = h; in TimeOfDay() 80 int hour; field in LegacyHttpDateTime.TimeOfDay 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, in parse() 209 int hour = timeString.charAt(i++) - '0'; in getTime() local 211 hour = hour * 10 + (timeString.charAt(i++) - '0'); in getTime() 223 return new TimeOfDay(hour, minute, second); in getTime()
|
/external/python/dateutil/dateutil/parser/ |
D | _parser.py | 601 default = datetime.datetime.now().replace(hour=0, minute=0, 744 val_is_ampm = self._ampm_valid(res.hour, res.ampm, fuzzy) 747 res.hour = self._adjust_ampm(res.hour, value) 754 elif self._could_be_tzname(res.hour, res.tzname, res.tzoffset, l[i]): 772 elif res.hour is not None and l[i] in ('+', '-'): 800 self._could_be_tzname(res.hour, res.tzname, 849 res.hour is None and 855 res.hour = int(s[:2]) 872 res.hour = int(s[:2]) 884 res.hour = int(s[8:10]) [all …]
|
/external/v8/src/ |
D | dateparser.cc | 72 int& hour = comp_[0]; in Write() local 78 if (!IsHour12(hour)) return false; in Write() 79 hour %= 12; in Write() 80 hour += hour_offset_; in Write() 83 if (!IsHour(hour) || !IsMinute(minute) || in Write() 86 if (hour != 24 || minute != 0 || second != 0 || millisecond != 0) { in Write() 91 output->set(HOUR, Smi::FromInt(hour)); in Write()
|
/external/icu/icu4c/source/test/compat/ |
D | tzdate.c | 34 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int… 41 int year, month, day, hour, minute; in main() local 56 hour = atoi(argv[4]); in main() 63 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); in main() 111 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int… in getSystemCurrentTime() argument 124 ts.tm_hour = hour; in getSystemCurrentTime()
|
D | tzone.pl | 23 my $hour = 0; 28 ($year, $month, $day, $hour, $minute) = @ARGV; 29 print "The date we are using is: $month-$day-$year $hour:$minute.\n"; 54 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
|
/external/python/cpython3/Include/ |
D | datetime.h | 232 #define PyDateTime_FromDateAndTime(year, month, day, hour, min, sec, usec) \ argument 233 PyDateTimeAPI->DateTime_FromDateAndTime(year, month, day, hour, \ 236 #define PyDateTime_FromDateAndTimeAndFold(year, month, day, hour, min, sec, usec, fold) \ argument 237 PyDateTimeAPI->DateTime_FromDateAndTimeAndFold(year, month, day, hour, \ 240 #define PyTime_FromTime(hour, minute, second, usecond) \ argument 241 PyDateTimeAPI->Time_FromTime(hour, minute, second, usecond, \ 244 #define PyTime_FromTimeAndFold(hour, minute, second, usecond, fold) \ argument 245 PyDateTimeAPI->Time_FromTimeAndFold(hour, minute, second, usecond, \
|
/external/icu/icu4c/source/data/unit/ |
D | ug.txt | 52 hour{ 170 kilometer-per-hour{ 178 mile-per-hour{ 244 hour{ 362 kilometer-per-hour{ 370 mile-per-hour{ 447 hour{ 565 kilometer-per-hour{ 573 mile-per-hour{
|