Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 25 of 1190) sorted by relevance

12345678910>>...48

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/testdata/
Dtestdata_en.txt85 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 …]
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/test/duration/testdata/
Dtestdata_en.txt85 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 …]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dcivil_time_test.cc51 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 …]
/third_party/typescript/tests/baselines/reference/
DmappedTypeProperties.types6 >Before : { model: 'hour' | 'day'; }
8 model: 'hour' | 'day';
9 >model : "hour" | "day"
22 model: 'hour' | 'day'
23 >model : "hour" | "day"
30 model: 'hour' | 'day';
31 >model : "hour" | "day"
37 model(duration: number): 'hour' | 'day';
38 >model : (duration: number) => 'hour' | 'day'
46 model: 'hour' | 'day';
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstdatetime.c523 gint * hour, gint * minute, gdouble * seconds) in gst_date_time_check_fields() argument
527 *hour = *minute = *seconds = 0; in gst_date_time_check_fields()
531 *hour = *minute = *seconds = 0; in gst_date_time_check_fields()
533 } else if (*hour == -1) { in gst_date_time_check_fields()
534 *hour = *minute = *seconds = 0; in gst_date_time_check_fields()
572 gst_date_time_new_local_time (gint year, gint month, gint day, gint hour, in gst_date_time_new_local_time() argument
588 if ((hour < 0 || hour >= 24) && hour != -1) in gst_date_time_new_local_time()
598 &hour, &minute, &seconds); in gst_date_time_new_local_time()
600 dt = g_date_time_new_local (year, month, day, hour, minute, seconds); in gst_date_time_new_local_time()
705 gst_date_time_new (gfloat tzoffset, gint year, gint month, gint day, gint hour, in gst_date_time_new() argument
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDayPeriodRules.java148 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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DDayPeriodRules.java155 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 …]
DZoneMeta.java664 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 …]
/third_party/skia/third_party/externals/icu/source/i18n/
Ddayperiodrules.cpp185 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 …]
/third_party/icu/icu4c/source/i18n/
Ddayperiodrules.cpp185 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 …]
/third_party/node/deps/icu-small/source/i18n/
Ddayperiodrules.cpp185 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 …]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dcivil_time_test.cc206 absl::CivilHour hour = day; in TEST() local
207 absl::CivilMinute minute = hour; in TEST()
216 second = hour; in TEST()
217 EXPECT_EQ(second, hour); in TEST()
227 minute = hour; in TEST()
228 EXPECT_EQ(minute, hour); in TEST()
230 hour = year; in TEST()
231 EXPECT_EQ(hour, year); in TEST()
232 hour = month; in TEST()
233 EXPECT_EQ(hour, month); in TEST()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_date_time.cpp66 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 …]
/third_party/protobuf/src/google/protobuf/stubs/
Dtime.cc77 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)) == nullptr) { 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)) == nullptr) { in ParseTime()
/third_party/node/deps/npm/node_modules/tiny-relative-date/src/
Dfactory.js12 const hour = minute * 60
13 const day = hour * 24
55 case !(delta < hour):
58 case Math.floor(delta / hour) !== 1:
62 return translate('hours', Math.floor(delta / hour))
/third_party/icu/icu4c/source/test/compat/
Dtzdate.c34 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()
Dtzone.pl23 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`;
/third_party/node/deps/v8/src/date/
Ddateparser.cc73 int& hour = comp_[0]; in Write() local
79 if (!IsHour12(hour)) return false; in Write()
80 hour %= 12; in Write()
81 hour += hour_offset_; in Write()
84 if (!IsHour(hour) || !IsMinute(minute) || !IsSecond(second) || in Write()
87 if (hour != 24 || minute != 0 || second != 0 || millisecond != 0) { in Write()
92 output[HOUR] = hour; in Write()
/third_party/jerryscript/tests/jerry/
Ddate-setters.js18 var hour = 60 * min; variable
19 var day = 24 * hour; /* 86400000 */
86 assert (d.setHours(1) == hour + d.getTimezoneOffset() * 60000);
89 assert (d.setHours(1, 1) == hour + min + d.getTimezoneOffset() * 60000);
93 assert (d.setHours(1, 1, 1) == hour + min + sec + d.getTimezoneOffset() * 60000);
98 assert (d.setHours(1, 1, 1, 1) == hour + min + sec + ms + d.getTimezoneOffset() * 60000);
106 assert (d.setUTCHours(1) == hour);
109 assert (d.setUTCHours(1, 1) == hour + min);
113 assert (d.setUTCHours(1, 1, 1) == hour + min + sec);
118 assert (d.setUTCHours(1, 1, 1, 1) == hour + min + sec + ms);
/third_party/node/deps/npm/node_modules/tiny-relative-date/lib/
Dfactory.js22 var hour = minute * 60;
23 var day = hour * 24;
65 case !(delta < hour):
68 case Math.floor(delta / hour) !== 1:
72 return translate('hours', Math.floor(delta / hour));
/third_party/ffmpeg/libavformat/
Dwebvttenc.c32 int64_t sec, min, hour; in webvtt_write_time() local
37 hour = min / 60; in webvtt_write_time()
38 min -= 60 * hour; in webvtt_write_time()
40 if (hour > 0) in webvtt_write_time()
41 avio_printf(pb, "%02"PRId64":", hour); in webvtt_write_time()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dtzdst.c138 INT32 hour; in settimezone() local
162 hour = StringToDigital(standardString[HOUR_HIGH_OFF], standardString[HOUR_LOW_OFF]); in settimezone()
167 …((standardString[OPERATE_OFF] == '-') && ((hour > 12) || ((hour == 12) && ((minute != 0) || (secon… in settimezone()
168 …((standardString[OPERATE_OFF] == '+') && ((hour > 14) || ((hour == 14) && ((minute != 0) || (secon… in settimezone()
177 timezone = hour * 3600 + minute * 60 + second; in settimezone()
287 INT32 hour, min, sec; in GetDaySecondsFromString() local
308 hour = StringToDigital(strTimeString[0], strTimeString[1]); in GetDaySecondsFromString()
312 if ((hour < 0) || (hour > 23)) { in GetDaySecondsFromString()
326 return hour * 3600 + min * 60 + sec; in GetDaySecondsFromString()
/third_party/python/Include/
Ddatetime.h226 #define PyDateTime_FromDateAndTime(year, month, day, hour, min, sec, usec) \ argument
227 PyDateTimeAPI->DateTime_FromDateAndTime(year, month, day, hour, \
230 #define PyDateTime_FromDateAndTimeAndFold(year, month, day, hour, min, sec, usec, fold) \ argument
231 PyDateTimeAPI->DateTime_FromDateAndTimeAndFold(year, month, day, hour, \
234 #define PyTime_FromTime(hour, minute, second, usecond) \ argument
235 PyDateTimeAPI->Time_FromTime(hour, minute, second, usecond, \
238 #define PyTime_FromTimeAndFold(hour, minute, second, usecond, fold) \ argument
239 PyDateTimeAPI->Time_FromTimeAndFold(hour, minute, second, usecond, \
/third_party/skia/third_party/externals/icu/source/data/unit/
Dug.txt52 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{
/third_party/icu/icu4c/source/data/unit/
Dug.txt52 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{

12345678910>>...48