Lines Matching refs:unit_enum
855 URelativeDateTimeUnit* unit_enum) { in GetURelativeDateTimeUnit() argument
859 *unit_enum = UDAT_REL_UNIT_SECOND; in GetURelativeDateTimeUnit()
862 *unit_enum = UDAT_REL_UNIT_MINUTE; in GetURelativeDateTimeUnit()
865 *unit_enum = UDAT_REL_UNIT_HOUR; in GetURelativeDateTimeUnit()
868 *unit_enum = UDAT_REL_UNIT_DAY; in GetURelativeDateTimeUnit()
871 *unit_enum = UDAT_REL_UNIT_WEEK; in GetURelativeDateTimeUnit()
874 *unit_enum = UDAT_REL_UNIT_MONTH; in GetURelativeDateTimeUnit()
877 *unit_enum = UDAT_REL_UNIT_QUARTER; in GetURelativeDateTimeUnit()
880 *unit_enum = UDAT_REL_UNIT_YEAR; in GetURelativeDateTimeUnit()
918 URelativeDateTimeUnit unit_enum; in RelativeTimeFormatPrototypeFormatCommon() local
919 if (!GetURelativeDateTimeUnit(unit, &unit_enum)) { in RelativeTimeFormatPrototypeFormatCommon()
930 if (unit_enum == UDAT_REL_UNIT_QUARTER) { in RelativeTimeFormatPrototypeFormatCommon()
934 formatter->formatNumeric(number, unit_enum, formatted, status); in RelativeTimeFormatPrototypeFormatCommon()
937 formatter->format(number, unit_enum, formatted, status); in RelativeTimeFormatPrototypeFormatCommon()