/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MeasureFormat.java | 451 Number[] hms = toHMS(measures); in formatMeasuresInternal() local 452 if (hms != null) { in formatMeasuresInternal() 453 formatNumeric(hms, appendTo); in formatMeasuresInternal() 873 private void formatNumeric(Number[] hms, Appendable appendable) { in formatNumeric() argument 877 if (hms[0] != null && hms[2] != null) { // "hms" & "hs" (we add minutes if "hs") in formatNumeric() 879 if (hms[1] == null) in formatNumeric() 880 hms[1] = 0; in formatNumeric() 881 hms[1] = Math.floor(hms[1].doubleValue()); in formatNumeric() 882 hms[0] = Math.floor(hms[0].doubleValue()); in formatNumeric() 883 } else if (hms[0] != null && hms[1] != null) { // "hm" in formatNumeric() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MeasureFormat.java | 425 Number[] hms = toHMS(measures); in formatMeasuresInternal() local 426 if (hms != null) { in formatMeasuresInternal() 427 formatNumeric(hms, appendTo); in formatMeasuresInternal() 832 private void formatNumeric(Number[] hms, Appendable appendable) { in formatNumeric() argument 836 if (hms[0] != null && hms[2] != null) { // "hms" & "hs" (we add minutes if "hs") in formatNumeric() 838 if (hms[1] == null) in formatNumeric() 839 hms[1] = 0; in formatNumeric() 840 hms[1] = Math.floor(hms[1].doubleValue()); in formatNumeric() 841 hms[0] = Math.floor(hms[0].doubleValue()); in formatNumeric() 842 } else if (hms[0] != null && hms[1] != null) { // "hm" in formatNumeric() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 74 const UnicodeString &hms) : in NumericDateFormatters() argument 77 hourMinuteSecond(hms) { in NumericDateFormatters() 302 Formattable *hms, in toHMS() argument 320 hms[0] = measures[i].getNumber(); in toHMS() 321 if (hms[0].getDouble() < 0.0) { in toHMS() 330 hms[1] = measures[i].getNumber(); in toHMS() 331 if (hms[1].getDouble() < 0.0) { in toHMS() 340 hms[2] = measures[i].getNumber(); in toHMS() 341 if (hms[2].getDouble() < 0.0) { in toHMS() 539 Formattable hms[3]; in formatMeasures() local [all …]
|
/external/rust/crates/chrono/src/naive/ |
D | time.rs | 796 fn hms(&self) -> (u32, u32, u32) { in hms() method 816 self.hms().0 in hour() 831 self.hms().1 in minute() 857 self.hms().2 in second() 1249 let (hour, min, sec) = self.hms(); in fmt() 1661 let hms = NaiveTime::from_hms; in test_time_addassignment() localVariable 1662 let mut time = hms(12, 12, 12); in test_time_addassignment() 1664 assert_eq!(time, hms(22, 12, 12)); in test_time_addassignment() 1666 assert_eq!(time, hms(8, 12, 12)); in test_time_addassignment() 1671 let hms = NaiveTime::from_hms; in test_time_subassignment() localVariable [all …]
|
/external/python/dateutil/dateutil/parser/ |
D | _parser.py | 342 def hms(self, name): member in parserinfo 894 info.hms(tokens[idx + 1]) is None))): 935 (idx, hms) = self._parse_hms(idx, tokens, info, hms_idx) 936 if hms is not None: 939 self._assign_hms(res, value_repr, hms) 1012 if idx+1 < len_l and info.hms(tokens[idx+1]) is not None: 1019 info.hms(tokens[idx+2]) is not None): 1024 elif idx > 0 and info.hms(tokens[idx-1]) is not None: 1032 info.hms(tokens[idx-2]) is not None): 1043 def _assign_hms(self, res, value_repr, hms): argument [all …]
|
/external/python/parse_type/parse_type/ |
D | parse.py | 567 d_m_y=None, hms=None, am=None, tz=None, mm=None, dd=None): argument 592 if hms is not None and groups[hms]: 593 t = groups[hms].split(':') 1032 hms=n + 4, tz=n + 7) 1039 hms=n + 5, am=n + 8, tz=n + 9) 1046 hms=n + 5, am=n + 8, tz=n + 9) 1054 hms=n + 5, tz=n + 8) 1062 hms=n + 3, tz=n + 6) 1069 d_m_y=(n + 4, n + 3, n + 8), hms=n + 5) 1074 self._type_conversions[group] = partial(date_convert, hms=n + 1, [all …]
|
/external/icu/icu4c/source/data/locales/ |
D | en_DK.txt | 31 hms{"h.mm.ss a"} 63 hms{"h.mm.ss a"}
|
D | en_FI.txt | 31 hms{"h.mm.ss a"} 63 hms{"h.mm.ss a"}
|
D | vai_Latn.txt | 56 hms{"h:mm:ss a"} 97 hms{"h:mm:ss a"}
|
D | dyo.txt | 51 hms{"h:mm:ss a"} 92 hms{"h:mm:ss a"}
|
D | sbp.txt | 51 hms{"h:mm:ss a"} 100 hms{"h:mm:ss a"}
|
D | twq.txt | 50 hms{"h:mm:ss a"} 99 hms{"h:mm:ss a"}
|
D | dje.txt | 51 hms{"h:mm:ss a"} 100 hms{"h:mm:ss a"}
|
D | rn.txt | 50 hms{"h:mm:ss a"} 99 hms{"h:mm:ss a"}
|
/external/icu/icu4c/source/data/unit/ |
D | wo.txt | 7 hms{"h:mm:ss"}
|
D | su.txt | 7 hms{"h.mm.ss"}
|
D | ti.txt | 7 hms{"h:mm:ss"}
|
D | tg.txt | 7 hms{"h:mm:ss"}
|
D | yi.txt | 7 hms{"h:mm:ss"}
|
D | tt.txt | 7 hms{"h:mm:ss"}
|
D | mi.txt | 7 hms{"h:mm:ss"}
|
D | doi.txt | 7 hms{"h:mm:ss"}
|
D | lrc.txt | 7 hms{"h:mm:ss"}
|
D | es_CL.txt | 7 hms{"hh:mm:ss"}
|
D | en_GB.txt | 8 hms{"h:mm:ss"}
|