Home
last modified time | relevance | path

Searched refs:hms (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java451 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/
DMeasureFormat.java425 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/
Dmeasfmt.cpp74 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/
Dtime.rs796 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.py342 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/
Dparse.py567 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/
Den_DK.txt31 hms{"h.mm.ss a"}
63 hms{"h.mm.ss a"}
Den_FI.txt31 hms{"h.mm.ss a"}
63 hms{"h.mm.ss a"}
Dvai_Latn.txt56 hms{"h:mm:ss a"}
97 hms{"h:mm:ss a"}
Ddyo.txt51 hms{"h:mm:ss a"}
92 hms{"h:mm:ss a"}
Dsbp.txt51 hms{"h:mm:ss a"}
100 hms{"h:mm:ss a"}
Dtwq.txt50 hms{"h:mm:ss a"}
99 hms{"h:mm:ss a"}
Ddje.txt51 hms{"h:mm:ss a"}
100 hms{"h:mm:ss a"}
Drn.txt50 hms{"h:mm:ss a"}
99 hms{"h:mm:ss a"}
/external/icu/icu4c/source/data/unit/
Dwo.txt7 hms{"h:mm:ss"}
Dsu.txt7 hms{"h.mm.ss"}
Dti.txt7 hms{"h:mm:ss"}
Dtg.txt7 hms{"h:mm:ss"}
Dyi.txt7 hms{"h:mm:ss"}
Dtt.txt7 hms{"h:mm:ss"}
Dmi.txt7 hms{"h:mm:ss"}
Ddoi.txt7 hms{"h:mm:ss"}
Dlrc.txt7 hms{"h:mm:ss"}
Des_CL.txt7 hms{"hh:mm:ss"}
Den_GB.txt8 hms{"h:mm:ss"}

12345678910>>...15