Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 ICU 库将估计时间转换为字符串?
坦率地说,听起来你误解了 ICU 图书馆的目的。ICU 库用于基本的 Unicode 支持。“估计时间”只是一个时间间隔;ICU 库不在乎你从哪里得到它。
此外,“当前不支持相对时间样式。” 即ICU 不能格式化时间间隔。