我知道org.apache.commons.lang.time.DateFormatUtils.format()
线程安全的,但是lang3's DateFormatUtils.format()
和lang's DateFormatUtils.format()
有什么区别,它是线程安全的吗?
是的,它是线程安全的 DateFormatUtils
格式化是使用线程安全的 FastDateFormat 类执行的。