/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/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/timezone/ |
D | TimeZoneOffsetLocalTest.java | 42 final int HOUR = 60*60*1000; in TestGetOffsetAroundTransition() local 46 {2006, Calendar.APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 47 {2006, Calendar.APRIL, 2, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() 48 {2006, Calendar.APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 49 {2006, Calendar.APRIL, 2, 3, 00, 3*HOUR}, in TestGetOffsetAroundTransition() 50 {2006, Calendar.APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 51 {2006, Calendar.OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 52 {2006, Calendar.OCTOBER, 29, 1, 00, 1*HOUR}, in TestGetOffsetAroundTransition() 53 {2006, Calendar.OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 54 {2006, Calendar.OCTOBER, 29, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() [all …]
|
D | TimeZoneRuleTest.java | 49 private static final int HOUR = 60 * 60 * 1000; field in TimeZoneRuleTest 56 SimpleTimeZone stz = new SimpleTimeZone(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone() 57 Calendar.SEPTEMBER, -30, -Calendar.SATURDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 58 Calendar.FEBRUARY, 2, Calendar.SUNDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 59 1*HOUR); in TestSimpleRuleBasedTimeZone() 68 -1*HOUR, // Raw offset in TestSimpleRuleBasedTimeZone() 69 1*HOUR); // DST saving amount in TestSimpleRuleBasedTimeZone() 74 1*HOUR, DateTimeRule.WALL_TIME); // SUN<=30 in September, at 1AM wall time in TestSimpleRuleBasedTimeZone() 76 -1*HOUR /* rawOffset */, 1*HOUR /* dstSavings */, dtr, in TestSimpleRuleBasedTimeZone() 80 1*HOUR, DateTimeRule.WALL_TIME); // 2nd Sunday in February, at 1AM wall time in TestSimpleRuleBasedTimeZone() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 39 final int HOUR = 60*60*1000; in TestGetOffsetAroundTransition() local 43 {2006, Calendar.APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 44 {2006, Calendar.APRIL, 2, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() 45 {2006, Calendar.APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 46 {2006, Calendar.APRIL, 2, 3, 00, 3*HOUR}, in TestGetOffsetAroundTransition() 47 {2006, Calendar.APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 48 {2006, Calendar.OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 49 {2006, Calendar.OCTOBER, 29, 1, 00, 1*HOUR}, in TestGetOffsetAroundTransition() 50 {2006, Calendar.OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 51 {2006, Calendar.OCTOBER, 29, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() [all …]
|
D | TimeZoneRuleTest.java | 46 private static final int HOUR = 60 * 60 * 1000; field in TimeZoneRuleTest 53 SimpleTimeZone stz = new SimpleTimeZone(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone() 54 Calendar.SEPTEMBER, -30, -Calendar.SATURDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 55 Calendar.FEBRUARY, 2, Calendar.SUNDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 56 1*HOUR); in TestSimpleRuleBasedTimeZone() 65 -1*HOUR, // Raw offset in TestSimpleRuleBasedTimeZone() 66 1*HOUR); // DST saving amount in TestSimpleRuleBasedTimeZone() 71 1*HOUR, DateTimeRule.WALL_TIME); // SUN<=30 in September, at 1AM wall time in TestSimpleRuleBasedTimeZone() 73 -1*HOUR /* rawOffset */, 1*HOUR /* dstSavings */, dtr, in TestSimpleRuleBasedTimeZone() 77 1*HOUR, DateTimeRule.WALL_TIME); // 2nd Sunday in February, at 1AM wall time in TestSimpleRuleBasedTimeZone() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tzoffloc.cpp | 46 const int32_t HOUR = 60*60*1000; in TestGetOffsetAroundTransition() local 50 {2006, UCAL_APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 51 {2006, UCAL_APRIL, 2, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() 52 {2006, UCAL_APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 53 {2006, UCAL_APRIL, 2, 3, 00, 3*HOUR}, in TestGetOffsetAroundTransition() 54 {2006, UCAL_APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 55 {2006, UCAL_OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 56 {2006, UCAL_OCTOBER, 29, 1, 00, 1*HOUR}, in TestGetOffsetAroundTransition() 57 {2006, UCAL_OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 58 {2006, UCAL_OCTOBER, 29, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() [all …]
|
/external/opencensus-java/contrib/grpc_metrics/src/main/java/io/opencensus/contrib/grpc/metrics/ |
D | RpcViewConstants.java | 145 @VisibleForTesting static final Duration HOUR = Duration.create(60 * 60, 0); field in RpcViewConstants 155 static final View.AggregationWindow INTERVAL_HOUR = View.AggregationWindow.Interval.create(HOUR); 875 * Hour {@link View} for client roundtrip latency in milliseconds. 881 View.Name.create("grpc.io/client/roundtrip_latency/hour"), 882 "Hour stats for latency in msecs", 889 * Hour {@link View} for client request bytes. 895 View.Name.create("grpc.io/client/request_bytes/hour"), 896 "Hour stats for request size in bytes", 903 * Hour {@link View} for client response bytes. 909 View.Name.create("grpc.io/client/response_bytes/hour"), [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | civil_time_test.cc | 51 static_assert(chh.hour() == 17, "Normal.hour"); in TEST() 68 static_assert(chh.hour() == 0, "Conversion.hour"); in TEST() 82 static_assert(cs.hour() == 17, "Normalized.hour"); in TEST() 92 static_assert(cs.hour() == 17, "SecondOverflow.hour"); in TEST() 102 static_assert(cs.hour() == 17, "SecondUnderflow.hour"); in TEST() 112 static_assert(cs.hour() == 19, "MinuteOverflow.hour"); in TEST() 122 static_assert(cs.hour() == 14, "MinuteUnderflow.hour"); in TEST() 132 static_assert(cs.hour() == 1, "HourOverflow.hour"); in TEST() 142 static_assert(cs.hour() == 23, "HourUnderflow.hour"); in TEST() 152 static_assert(cs.hour() == 17, "MonthOverflow.hour"); in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/ |
D | civil_time_test.cc | 51 static_assert(chh.hour() == 17, "Normal.hour"); in TEST() 68 static_assert(chh.hour() == 0, "Conversion.hour"); in TEST() 82 static_assert(cs.hour() == 17, "Normalized.hour"); in TEST() 92 static_assert(cs.hour() == 17, "SecondOverflow.hour"); in TEST() 102 static_assert(cs.hour() == 17, "SecondUnderflow.hour"); in TEST() 112 static_assert(cs.hour() == 19, "MinuteOverflow.hour"); in TEST() 122 static_assert(cs.hour() == 14, "MinuteUnderflow.hour"); in TEST() 132 static_assert(cs.hour() == 1, "HourOverflow.hour"); in TEST() 142 static_assert(cs.hour() == 23, "HourUnderflow.hour"); in TEST() 152 static_assert(cs.hour() == 17, "MonthOverflow.hour"); in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/ |
D | civil_time_test.cc | 51 static_assert(chh.hour() == 17, "Normal.hour"); in TEST() 68 static_assert(chh.hour() == 0, "Conversion.hour"); in TEST() 82 static_assert(cs.hour() == 17, "Normalized.hour"); in TEST() 92 static_assert(cs.hour() == 17, "SecondOverflow.hour"); in TEST() 102 static_assert(cs.hour() == 17, "SecondUnderflow.hour"); in TEST() 112 static_assert(cs.hour() == 19, "MinuteOverflow.hour"); in TEST() 122 static_assert(cs.hour() == 14, "MinuteUnderflow.hour"); in TEST() 132 static_assert(cs.hour() == 1, "HourOverflow.hour"); in TEST() 142 static_assert(cs.hour() == 23, "HourUnderflow.hour"); in TEST() 152 static_assert(cs.hour() == 17, "MonthOverflow.hour"); in TEST() [all …]
|
/external/abseil-cpp/absl/time/internal/cctz/src/ |
D | civil_time_test.cc | 51 static_assert(chh.hour() == 17, "Normal.hour"); in TEST() 68 static_assert(chh.hour() == 0, "Conversion.hour"); in TEST() 82 static_assert(cs.hour() == 17, "Normalized.hour"); in TEST() 92 static_assert(cs.hour() == 17, "SecondOverflow.hour"); in TEST() 102 static_assert(cs.hour() == 17, "SecondUnderflow.hour"); in TEST() 112 static_assert(cs.hour() == 19, "MinuteOverflow.hour"); in TEST() 122 static_assert(cs.hour() == 14, "MinuteUnderflow.hour"); in TEST() 132 static_assert(cs.hour() == 1, "HourOverflow.hour"); in TEST() 142 static_assert(cs.hour() == 23, "HourUnderflow.hour"); in TEST() 152 static_assert(cs.hour() == 17, "MonthOverflow.hour"); in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | civil_time_test.cc | 51 static_assert(chh.hour() == 17, "Normal.hour"); in TEST() 68 static_assert(chh.hour() == 0, "Conversion.hour"); in TEST() 82 static_assert(cs.hour() == 17, "Normalized.hour"); in TEST() 92 static_assert(cs.hour() == 17, "SecondOverflow.hour"); in TEST() 102 static_assert(cs.hour() == 17, "SecondUnderflow.hour"); in TEST() 112 static_assert(cs.hour() == 19, "MinuteOverflow.hour"); in TEST() 122 static_assert(cs.hour() == 14, "MinuteUnderflow.hour"); in TEST() 132 static_assert(cs.hour() == 1, "HourOverflow.hour"); in TEST() 142 static_assert(cs.hour() == 23, "HourUnderflow.hour"); in TEST() 152 static_assert(cs.hour() == 17, "MonthOverflow.hour"); in TEST() [all …]
|
/external/autotest/server/site_tests/policy_DeviceChargingServer/ |
D | control.PowerPeakShift | 36 'start_time':{'hour':21, 'minute':0}, 37 'end_time':{'hour':22, 'minute':0}, 38 'charge_start_time':{'hour':23, 'minute':0}, 43 'start_time':{'hour':1, 'minute':0}, 44 'end_time':{'hour':22, 'minute':0}, 45 'charge_start_time':{'hour':23, 'minute':0}, 50 'start_time':{'hour':1, 'minute':0}, 51 'end_time':{'hour':2, 'minute':0}, 52 'charge_start_time':{'hour':23, 'minute':0}, 57 'start_time':{'hour':1, 'minute':0}, [all …]
|
/external/libtextclassifier/native/annotator/datetime/ |
D | regex-parser_test.cc | 123 .Add(DatetimeComponent::ComponentType::HOUR, 22) in TEST_F() 134 .Add(DatetimeComponent::ComponentType::HOUR, 2) in TEST_F() 144 .Add(DatetimeComponent::ComponentType::HOUR, 15) in TEST_F() 155 .Add(DatetimeComponent::ComponentType::HOUR, 8) in TEST_F() 163 .Add(DatetimeComponent::ComponentType::HOUR, 8) in TEST_F() 174 .Add(DatetimeComponent::ComponentType::HOUR, 2) in TEST_F() 183 .Add(DatetimeComponent::ComponentType::HOUR, 2) in TEST_F() 195 .Add(DatetimeComponent::ComponentType::HOUR, 4) in TEST_F() 204 .Add(DatetimeComponent::ComponentType::HOUR, 4) in TEST_F() 215 .Add(DatetimeComponent::ComponentType::HOUR, 11) in TEST_F() [all …]
|
D | grammar-parser_test.cc | 127 .Add(DatetimeComponent::ComponentType::HOUR, 22) in TEST_F() 138 .Add(DatetimeComponent::ComponentType::HOUR, 2) in TEST_F() 148 .Add(DatetimeComponent::ComponentType::HOUR, 15) in TEST_F() 160 .Add(DatetimeComponent::ComponentType::HOUR, 2) in TEST_F() 169 .Add(DatetimeComponent::ComponentType::HOUR, 2) in TEST_F() 181 .Add(DatetimeComponent::ComponentType::HOUR, 4) in TEST_F() 190 .Add(DatetimeComponent::ComponentType::HOUR, 4) in TEST_F() 201 .Add(DatetimeComponent::ComponentType::HOUR, 11) in TEST_F() 207 .Add(DatetimeComponent::ComponentType::HOUR, 11) in TEST_F() 215 .Add(DatetimeComponent::ComponentType::HOUR, 11) in TEST_F() [all …]
|
D | datetime-grounder_test.cc | 48 const int year, const int month, const int day, const int hour, in BuildAbsoluteDatetime() argument 57 ungrounded_datetime.absolute_datetime->hour = hour; in BuildAbsoluteDatetime() 107 /*hour=*/11, /*minute=*/59, /*second=*/59, in TEST_F() 134 DatetimeComponent::ComponentType::HOUR); in TEST_F() 153 /*hour=*/11, /*minute=*/59, /*second=*/59, in TEST_F() 225 /*hour=*/11, /*minute=*/59, /*second=*/59, in TEST_F() 231 /*hour=*/11, /*minute=*/59, /*second=*/59, in TEST_F() 237 /*hour=*/11, /*minute=*/59, /*second=*/59, in TEST_F() 243 /*hour=*/24, /*minute=*/59, /*second=*/59, in TEST_F() 249 /*hour=*/24, /*minute=*/59, /*second=*/59, in TEST_F() [all …]
|
/external/python/cpython3/Doc/includes/ |
D | tzinfo_examples.py | 4 HOUR = timedelta(hours=1) variable 50 dt.hour, dt.minute, dt.second, 142 if start + HOUR <= dt < end - HOUR: 144 return HOUR 145 if end - HOUR <= dt < end: 146 # Fold (an ambiguous hour): use dt.fold to disambiguate. 147 return ZERO if dt.fold else HOUR 148 if start <= dt < start + HOUR: 149 # Gap (a non-existent hour): reverse the fold rule. 150 return HOUR if dt.fold else ZERO [all …]
|
/external/rust/crates/chrono/src/ |
D | date.rs | 77 /// Makes a new `DateTime` from the current date, hour, minute and second. 80 /// Panics on invalid hour, minute and/or second. 82 pub fn and_hms(&self, hour: u32, min: u32, sec: u32) -> DateTime<Tz> { in and_hms() 83 self.and_hms_opt(hour, min, sec).expect("invalid time") in and_hms() 86 /// Makes a new `DateTime` from the current date, hour, minute and second. 89 /// Returns `None` on invalid hour, minute and/or second. 91 pub fn and_hms_opt(&self, hour: u32, min: u32, sec: u32) -> Option<DateTime<Tz>> { in and_hms_opt() 92 NaiveTime::from_hms_opt(hour, min, sec).and_then(|time| self.and_time(time)) in and_hms_opt() 95 /// Makes a new `DateTime` from the current date, hour, minute, second and millisecond. 99 /// Panics on invalid hour, minute, second and/or millisecond. [all …]
|
/external/python/dateutil/dateutil/ |
D | relativedelta.py | 39 year, month, day, hour, minute, second, microsecond: 99 are added, to get to the 2nd day and 14th hour, finally the 110 hour=None, minute=None, second=None, microsecond=None): argument 139 self.hour = None 190 self.hour = hour 196 for x in (year, month, day, hour, 258 or self.hour is not None or self.minute is not None or 313 weekday=self.weekday, hour=self.hour, 336 hour=(other.hour if other.hour is not None 337 else self.hour), [all …]
|
/external/python/google-api-python-client/docs/dyn/ |
D | content_v2_1.datafeeds.html | 124 … day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. F… 126 "hour": 42, # The hour of the day the feed file should be fetched (0-23). 132 … "minuteOfHour": 42, # The minute of the hour the feed file should be fetched (0-59). Read-only. 186 … day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. F… 188 "hour": 42, # The hour of the day the feed file should be fetched (0-23). 194 … "minuteOfHour": 42, # The minute of the hour the feed file should be fetched (0-59). Read-only. 264 … day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. F… 266 "hour": 42, # The hour of the day the feed file should be fetched (0-23). 272 … "minuteOfHour": 42, # The minute of the hour the feed file should be fetched (0-59). Read-only. 311 … day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. F… [all …]
|
D | content_v2.datafeeds.html | 128 … day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. F… 130 "hour": 42, # The hour of the day the feed file should be fetched (0-23). 136 … "minuteOfHour": 42, # The minute of the hour the feed file should be fetched (0-59). Read-only. 196 … day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. F… 198 "hour": 42, # The hour of the day the feed file should be fetched (0-23). 204 … "minuteOfHour": 42, # The minute of the hour the feed file should be fetched (0-59). Read-only. 281 … day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. F… 283 "hour": 42, # The hour of the day the feed file should be fetched (0-23). 289 … "minuteOfHour": 42, # The minute of the hour the feed file should be fetched (0-59). Read-only. 333 … day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. F… [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() 200 throw new ICUException("Cutoff hour must be between 0 and 24, inclusive."); in parseHour() [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() 207 throw new ICUException("Cutoff hour must be between 0 and 24, inclusive."); in parseHour() [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() 242 // Gets the numerical value of the hour from the Unicode string. 260 int32_t hour = time[0] - 0x30; in parseHour() local 261 if (hour < 0 || 9 < hour) { in parseHour() [all …]
|