Searched refs:InsertInfo (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/global/i18n/frameworks/intl/src/ |
H A D | relative_time_format.cpp | 139 void RelativeTimeFormat::InsertInfo(std::vector<std::vector<std::string>> &timeVector, in InsertInfo() function in OHOS::Global::I18n::RelativeTimeFormat 160 InsertInfo(timeVector, unit, true, result.substr(startIndex, iter->first - startIndex)); in ProcessIntegerField() 161 … InsertInfo(timeVector, unit, true, result.substr(iter->first, iter->second - iter->first)); in ProcessIntegerField() 195 … InsertInfo(timeVector, unit, false, result.substr(prevIndex, startIndex - prevIndex)); in FormatToParts() 200 InsertInfo(timeVector, unit, true, result.substr(startIndex, in FormatToParts() 206 InsertInfo(timeVector, unit, false, result.substr(prevIndex, length - prevIndex)); in FormatToParts()
|
/ohos5.0/base/global/i18n/frameworks/intl/include/ |
H A D | relative_time_format.h | 71 …void InsertInfo(std::vector<std::vector<std::string>> &timeVector, const std::string &unit, bool i…
|