Home
last modified time | relevance | path

Searched refs:periodType (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java1955 DayPeriodRules.DayPeriod periodType; in subFormat() local
1957 periodType = DayPeriodRules.DayPeriod.MIDNIGHT; in subFormat()
1959 periodType = DayPeriodRules.DayPeriod.NOON; in subFormat()
1961 periodType = ruleSet.getDayPeriodForHour(hour); in subFormat()
1969 assert(periodType != null); in subFormat()
1973 … if (periodType != DayPeriodRules.DayPeriod.AM && periodType != DayPeriodRules.DayPeriod.PM && in subFormat()
1974 periodType != DayPeriodRules.DayPeriod.MIDNIGHT) { in subFormat()
1975 index = periodType.ordinal(); in subFormat()
1991 (periodType == DayPeriodRules.DayPeriod.MIDNIGHT || in subFormat()
1992 periodType == DayPeriodRules.DayPeriod.NOON)) { in subFormat()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java1945 DayPeriodRules.DayPeriod periodType; in subFormat() local
1947 periodType = DayPeriodRules.DayPeriod.MIDNIGHT; in subFormat()
1949 periodType = DayPeriodRules.DayPeriod.NOON; in subFormat()
1951 periodType = ruleSet.getDayPeriodForHour(hour); in subFormat()
1959 assert(periodType != null); in subFormat()
1963 … if (periodType != DayPeriodRules.DayPeriod.AM && periodType != DayPeriodRules.DayPeriod.PM && in subFormat()
1964 periodType != DayPeriodRules.DayPeriod.MIDNIGHT) { in subFormat()
1965 index = periodType.ordinal(); in subFormat()
1981 (periodType == DayPeriodRules.DayPeriod.MIDNIGHT || in subFormat()
1982 periodType == DayPeriodRules.DayPeriod.NOON)) { in subFormat()
[all …]
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp1881 DayPeriodRules::DayPeriod periodType; in subFormat() local
1883 periodType = DayPeriodRules::DAYPERIOD_MIDNIGHT; in subFormat()
1885 periodType = DayPeriodRules::DAYPERIOD_NOON; in subFormat()
1887 periodType = ruleSet->getDayPeriodForHour(hour); in subFormat()
1892 U_ASSERT(periodType != DayPeriodRules::DAYPERIOD_UNKNOWN); in subFormat()
1899 if (periodType != DayPeriodRules::DAYPERIOD_AM && in subFormat()
1900 periodType != DayPeriodRules::DAYPERIOD_PM && in subFormat()
1901 periodType != DayPeriodRules::DAYPERIOD_MIDNIGHT) { in subFormat()
1902 index = (int32_t)periodType; in subFormat()
1917 (periodType == DayPeriodRules::DAYPERIOD_MIDNIGHT || in subFormat()
[all …]