Package cloud.opencode.base.date.formatter
package cloud.opencode.base.date.formatter
-
ClassesClassDescriptionPredefined Date Formatters with caching support 预定义的日期格式化器,支持缓存Smart Date Parser that can automatically detect and parse various date formats 智能日期解析器,可自动检测和解析各种日期格式Formats and parses Period and Duration objects as human-readable strings 将Period和Duration对象格式化和解析为人类可读的字符串Formats temporal objects as relative time strings (e.g., "3 hours ago", "in 2 days") 将时间对象格式化为相对时间字符串(如"3小时前"、"2天后")