/third_party/node/deps/icu-small/source/i18n/ |
H A D | dayperiodrules.h | 53 DayPeriod getDayPeriodForHour(int32_t hour) const { return fDayPeriodForHour[hour]; } in getDayPeriodForHour() 73 // Returns the hour that starts dayPeriod. Returns 0 for MIDNIGHT and 12 for NOON. 76 // Returns the hour that ends dayPeriod, i.e. that starts the next period.
|
H A D | zonemeta.cpp | 156 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, n; in parseDate() local 191 hour = 10*hour + n; in parseDate() 209 + hour * U_MILLIS_PER_HOUR + min * U_MILLIS_PER_MINUTE; in parseDate() 867 uint8_t hour, min, sec; in createCustomTimeZone() local 873 hour = static_cast<uint8_t>(tmp / 60); in createCustomTimeZone() 876 formatCustomID(hour, min, sec, negative, zid); in createCustomTimeZone() 881 ZoneMeta::formatCustomID(uint8_t hour, uint8_t min, uint8_t sec, UBool negative, UnicodeString& id) { in formatCustomID() argument 884 if (hour != 0 || min != 0) { in formatCustomID() 891 id.append((char16_t)(0x30 + (hour in formatCustomID() [all...] |
H A D | timezone.cpp | 1344 int32_t sign, hour, min, sec; in createCustomTimeZone() local 1345 if (parseCustomID(id, sign, hour, min, sec)) { in createCustomTimeZone() 1347 formatCustomID(hour, min, sec, (sign < 0), customID); in createCustomTimeZone() 1348 int32_t offset = sign * ((hour * 60 + min) * 60 + sec) * 1000; in createCustomTimeZone() 1360 int32_t sign, hour, min, sec; in getCustomID() local 1361 if (parseCustomID(id, sign, hour, min, sec)) { in getCustomID() 1362 formatCustomID(hour, min, sec, (sign < 0), normalized); in getCustomID() 1371 int32_t& hour, int32_t& min, int32_t& sec) { in parseCustomID() 1383 hour = 0; in parseCustomID() 1410 hour in parseCustomID() 1370 parseCustomID(const UnicodeString& id, int32_t& sign, int32_t& hour, int32_t& min, int32_t& sec) parseCustomID() argument 1492 formatCustomID(int32_t hour, int32_t min, int32_t sec, UBool negative, UnicodeString& id) formatCustomID() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | dayperiodrules.h | 53 DayPeriod getDayPeriodForHour(int32_t hour) const { return fDayPeriodForHour[hour]; } in getDayPeriodForHour() 73 // Returns the hour that starts dayPeriod. Returns 0 for MIDNIGHT and 12 for NOON. 76 // Returns the hour that ends dayPeriod, i.e. that starts the next period.
|
H A D | zonemeta.cpp | 163 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, n; in parseDate() local 198 hour = 10*hour + n; in parseDate() 216 + hour * U_MILLIS_PER_HOUR + min * U_MILLIS_PER_MINUTE; in parseDate() 851 uint8_t hour, min, sec; in createCustomTimeZone() local 857 hour = static_cast<uint8_t>(tmp / 60); in createCustomTimeZone() 860 formatCustomID(hour, min, sec, negative, zid); in createCustomTimeZone() 865 ZoneMeta::formatCustomID(uint8_t hour, uint8_t min, uint8_t sec, UBool negative, UnicodeString& id) { in formatCustomID() argument 868 if (hour != 0 || min != 0) { in formatCustomID() 875 id.append((UChar)(0x30 + (hour in formatCustomID() [all...] |
H A D | timezone.cpp | 1326 int32_t sign, hour, min, sec; in createCustomTimeZone() local 1327 if (parseCustomID(id, sign, hour, min, sec)) { in createCustomTimeZone() 1329 formatCustomID(hour, min, sec, (sign < 0), customID); in createCustomTimeZone() 1330 int32_t offset = sign * ((hour * 60 + min) * 60 + sec) * 1000; in createCustomTimeZone() 1342 int32_t sign, hour, min, sec; in getCustomID() local 1343 if (parseCustomID(id, sign, hour, min, sec)) { in getCustomID() 1344 formatCustomID(hour, min, sec, (sign < 0), normalized); in getCustomID() 1353 int32_t& hour, int32_t& min, int32_t& sec) { in parseCustomID() 1365 hour = 0; in parseCustomID() 1392 hour in parseCustomID() 1352 parseCustomID(const UnicodeString& id, int32_t& sign, int32_t& hour, int32_t& min, int32_t& sec) parseCustomID() argument 1474 formatCustomID(int32_t hour, int32_t min, int32_t sec, UBool negative, UnicodeString& id) formatCustomID() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | zonemeta.cpp | 155 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, n; in parseDate() local 190 hour = 10*hour + n; in parseDate() 208 + hour * U_MILLIS_PER_HOUR + min * U_MILLIS_PER_MINUTE; in parseDate() 837 uint8_t hour, min, sec; in createCustomTimeZone() local 843 hour = static_cast<uint8_t>(tmp / 60); in createCustomTimeZone() 846 formatCustomID(hour, min, sec, negative, zid); in createCustomTimeZone() 851 ZoneMeta::formatCustomID(uint8_t hour, uint8_t min, uint8_t sec, UBool negative, UnicodeString& id) { in formatCustomID() argument 854 if (hour != 0 || min != 0) { in formatCustomID() 861 id.append((UChar)(0x30 + (hour in formatCustomID() [all...] |
H A D | timezone.cpp | 1344 int32_t sign, hour, min, sec; in createCustomTimeZone() local 1345 if (parseCustomID(id, sign, hour, min, sec)) { in createCustomTimeZone() 1347 formatCustomID(hour, min, sec, (sign < 0), customID); in createCustomTimeZone() 1348 int32_t offset = sign * ((hour * 60 + min) * 60 + sec) * 1000; in createCustomTimeZone() 1360 int32_t sign, hour, min, sec; in getCustomID() local 1361 if (parseCustomID(id, sign, hour, min, sec)) { in getCustomID() 1362 formatCustomID(hour, min, sec, (sign < 0), normalized); in getCustomID() 1371 int32_t& hour, int32_t& min, int32_t& sec) { in parseCustomID() 1383 hour = 0; in parseCustomID() 1410 hour in parseCustomID() 1370 parseCustomID(const UnicodeString& id, int32_t& sign, int32_t& hour, int32_t& min, int32_t& sec) parseCustomID() argument 1492 formatCustomID(int32_t hour, int32_t min, int32_t sec, UBool negative, UnicodeString& id) formatCustomID() argument [all...] |
H A D | tzfmt.cpp | 1831 // forcing parse to use single hour digit 1840 // Better parse result with single hour digit 1859 UVector* patternItems, UBool forceSingleHourDigit, int32_t& hour, int32_t& min, int32_t& sec) const { 1917 hour = min = sec = 0; 1921 hour = offsetH; 1954 int32_t hour = 0; 1961 hour = digits[0]; 1964 hour = digits[0] * 10 + digits[1]; 1967 hour = digits[0]; 1971 hour [all...] |
/third_party/python/Modules/ |
H A D | _zoneinfo.c | 65 int8_t hour; member 74 int8_t hour; member 130 parse_transition_time(const char *const p, int8_t *hour, int8_t *minute, 1210 return ((ordinal * 86400) + (int64_t)(self->hour * 3600) + in calendarrule_year_to_timestamp() 1216 calendarrule_new(uint8_t month, uint8_t week, uint8_t day, int8_t hour, in calendarrule_new() argument 1250 .hour = hour, in calendarrule_new() 1278 // days are accounted for in the hour, minute and second portions. in dayrule_year_to_timestamp() 1297 return ((days_before_year + day) * 86400) + (self->hour * 3600) + in dayrule_year_to_timestamp() 1303 dayrule_new(uint8_t julian, unsigned int day, int8_t hour, int8_ argument 1741 int8_t hour = 2; parse_transition_rule() local 1851 parse_transition_time(const char *const p, int8_t *hour, int8_t *minute, int8_t *second) parse_transition_time() argument 2203 int hour, minute, second; get_local_timestamp() local [all...] |
H A D | _datetimemodule.c | 481 "hour must be in 0..23"); in check_time_args() 642 int *hour, int *minute, int *second, in normalize_datetime() 647 normalize_pair(hour, minute, 60); in normalize_datetime() 648 normalize_pair(day, hour, 24); in normalize_datetime() 809 parse_hh_mm_ss_ff(const char *tstr, const char *tstr_end, int *hour, in parse_hh_mm_ss_ff() argument 812 *hour = *minute = *second = *microsecond = 0; in parse_hh_mm_ss_ff() 815 int *vals[3] = {hour, minute, second}; in parse_hh_mm_ss_ff() 875 parse_isoformat_time(const char *dtstr, size_t dtlen, int *hour, int *minute, in parse_isoformat_time() argument 898 int rv = parse_hh_mm_ss_ff(dtstr, tzinfo_pos, hour, minute, second, in parse_isoformat_time() 988 new_datetime_ex2(int year, int month, int day, int hour, in argument 641 normalize_datetime(int *year, int *month, int *day, int *hour, int *minute, int *second, int *microsecond) normalize_datetime() argument 1022 new_datetime_ex(int year, int month, int day, int hour, int minute, int second, int usecond, PyObject *tzinfo, PyTypeObject *type) new_datetime_ex() argument 1034 new_datetime_subclass_fold_ex(int year, int month, int day, int hour, int minute, int second, int usecond, PyObject *tzinfo, int fold, PyObject *cls) new_datetime_subclass_fold_ex() argument 1059 new_datetime_subclass_ex(int year, int month, int day, int hour, int minute, int second, int usecond, PyObject *tzinfo, PyObject *cls) new_datetime_subclass_ex() argument 1069 new_time_ex2(int hour, int minute, int second, int usecond, PyObject *tzinfo, int fold, PyTypeObject *type) new_time_ex2() argument 1100 new_time_ex(int hour, int minute, int second, int usecond, PyObject *tzinfo, PyTypeObject *type) new_time_ex() argument 2520 PyObject *hour = NULL; delta_new() local 4242 int hour = 0; time_new() local 4651 int hour = 0, minute = 0, second = 0, microsecond = 0; time_fromisoformat() local 4922 int hour = 0; datetime_new() local 4989 utc_to_seconds(int year, int month, int day, int hour, int minute, int second) utc_to_seconds() argument 5035 int year, month, day, hour, minute, second, fold = 0; datetime_from_timet_and_us() local 5469 int hour = 0, minute = 0, second = 0, microsecond = 0; datetime_fromisoformat() local 5574 int hour = DATE_GET_HOUR(date); add_datetime_timedelta() local 6328 local_to_seconds(int year, int month, int day, int hour, int minute, int second, int fold) local_to_seconds() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | TimeZoneFormat.java | 1934 * Initialize localized GMT format offset hour/min/sec patterns. 2013 * pattern literal) or GMTOffsetField (hour/min/sec field) 2113 * Appends seconds field to the offset pattern with hour/minute 2118 //TODO This code will be obsoleted once we add hour-minute-second pattern data in CLDR 2122 throw new RuntimeException("Bad time zone hour pattern data"); in expandOffsetPattern() 2133 * Truncates minutes field from the offset pattern with hour/minute 2138 //TODO This code will be obsoleted once we add hour pattern data in CLDR 2142 throw new RuntimeException("Bad time zone hour pattern data"); in truncateOffsetPattern() 2152 throw new RuntimeException("Bad time zone hour pattern data"); in truncateOffsetPattern() 2350 // forcing parse to use single hour digi in parseOffsetFields() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | TimeZoneFormat.java | 1864 * Initialize localized GMT format offset hour/min/sec patterns. 1943 * pattern literal) or GMTOffsetField (hour/min/sec field) 2043 * Appends seconds field to the offset pattern with hour/minute 2048 //TODO This code will be obsoleted once we add hour-minute-second pattern data in CLDR 2052 throw new RuntimeException("Bad time zone hour pattern data"); in expandOffsetPattern() 2063 * Truncates minutes field from the offset pattern with hour/minute 2068 //TODO This code will be obsoleted once we add hour pattern data in CLDR 2072 throw new RuntimeException("Bad time zone hour pattern data"); in truncateOffsetPattern() 2082 throw new RuntimeException("Bad time zone hour pattern data"); in truncateOffsetPattern() 2280 // forcing parse to use single hour digi in parseOffsetFields() [all...] |
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | time_util.h | 85 long hour = secs / (H_PER_MIN * MIN_PER_S); in TimeElapse() local 89 std::cout << hour << ":" << min << ":" << sec << std::endl; in TimeElapse()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/utils/ |
H A D | exlog.cpp | 38 int hour = nowMs / (1000LL * 60 * 60) % 24; in ExTime() local 49 << " " << std::setw(minWidth) << std::setfill(fill) << hour in ExTime()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | BuddhistCalendar.java | 167 * @param hour The value used to set the calendar's {@link #HOUR_OF_DAY HOUR_OF_DAY} time field. 174 public BuddhistCalendar(int year, int month, int date, int hour, in BuddhistCalendar() argument 177 super(year, month, date, hour, minute, second); in BuddhistCalendar()
|
H A D | CopticCalendar.java | 226 * @param hour The value used to set the calendar's {@link #HOUR_OF_DAY HOUR_OF_DAY} time field. 231 public CopticCalendar(int year, int month, int date, int hour, in CopticCalendar() argument 233 super(year, month, date, hour, minute, second); in CopticCalendar()
|
H A D | TaiwanCalendar.java | 168 * @param hour The value used to set the calendar's {@link #HOUR_OF_DAY HOUR_OF_DAY} time field. 173 public TaiwanCalendar(int year, int month, int date, int hour, in TaiwanCalendar() argument 176 super(year, month, date, hour, minute, second); in TaiwanCalendar()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | TaiwanCalendar.java | 157 * @param hour The value used to set the calendar's {@link #HOUR_OF_DAY HOUR_OF_DAY} time field. 161 public TaiwanCalendar(int year, int month, int date, int hour, in TaiwanCalendar() argument 164 super(year, month, date, hour, minute, second); in TaiwanCalendar()
|
H A D | CopticCalendar.java | 205 * @param hour The value used to set the calendar's {@link #HOUR_OF_DAY HOUR_OF_DAY} time field. 209 public CopticCalendar(int year, int month, int date, int hour, in CopticCalendar() argument 211 super(year, month, date, hour, minute, second); in CopticCalendar()
|
H A D | BuddhistCalendar.java | 158 * @param hour The value used to set the calendar's {@link #HOUR_OF_DAY HOUR_OF_DAY} time field. 164 public BuddhistCalendar(int year, int month, int date, int hour, in BuddhistCalendar() argument 167 super(year, month, date, hour, minute, second); in BuddhistCalendar()
|
/third_party/ltp/lib/ |
H A D | tst_rtctime.c | 26 const unsigned int day, const unsigned int hour, in tst_mktime() 41 )*24 + hour /* now have hours - midnight tomorrow handled here */ in tst_mktime() 25 tst_mktime(const unsigned int year0, const unsigned int mon0, const unsigned int day, const unsigned int hour, const unsigned int min, const unsigned int sec) tst_mktime() argument
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tzbdtest.cpp | 227 * Check that the given year/month/dom/hour maps to and from the 235 void TimeZoneBoundaryTest::verifyMapping(Calendar& cal, int year, int month, int dom, int hour, in verifyMapping() argument 240 cal.set(year, month, dom, hour, 0, 0); in verifyMapping() 244 logln(UnicodeString("Ok: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + in verifyMapping() 247 dataerrln(UnicodeString("FAIL: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + in verifyMapping() 255 cal.get(UCAL_MILLISECONDS_IN_DAY, status) == hour * 3600000) { in verifyMapping() 268 " " + hour); in verifyMapping() local
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/ |
H A D | ICUZDump.java | 167 public long getTime(int year, int month, int dayOfMonth, int hour, int minute, int second) { in getTime() argument 173 cal.set(year, month, dayOfMonth, hour, minute, second); in getTime() 179 cal.set(year, month, dayOfMonth, hour, minute, second); in getTime() 210 int hour, min, sec; in format() 216 hour = offset / 60; in format() 218 buf.append(decf.format(hour)); in format()
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-date.cc | 295 // ES6 section 20.3.4.22 Date.prototype.setHours(hour, min, sec, ms) 300 Handle<Object> hour = args.atOrUndefined(isolate, 1); in BUILTIN() local 301 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, hour, in BUILTIN() 302 Object::ToNumber(isolate, hour)); in BUILTIN() 303 double h = hour->Number(); in BUILTIN() 515 // ES6 section 20.3.4.30 Date.prototype.setUTCHours(hour, min, sec, ms) 520 Handle<Object> hour = args.atOrUndefined(isolate, 1); in BUILTIN() local 521 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, hour, in BUILTIN() 522 Object::ToNumber(isolate, hour)); in BUILTIN() 523 double h = hour in BUILTIN() 686 int year, month, day, weekday, hour, min, sec, ms; BUILTIN() local 692 year, month + 1, day, hour, min, sec, ms); BUILTIN() local 695 -year, month + 1, day, hour, min, sec, ms); BUILTIN() local 698 year, month + 1, day, hour, min, sec, ms); BUILTIN() local [all...] |