Skip to content

TimeUtils工具类在多线程下的表现 #1679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
brandlee opened this issue Aug 3, 2022 · 0 comments
Open

TimeUtils工具类在多线程下的表现 #1679

brandlee opened this issue Aug 3, 2022 · 0 comments
Assignees
Labels

Comments

@brandlee
Copy link

brandlee commented Aug 3, 2022

描述 Bug

简洁地描述下 Bug。

  • AndroidUtilCode 的版本:1.31.0
  • 出现 Bug 的设备型号:普通机型
  • 设备的 Android 版本:全部Android版本

问题本身就是,SimpleDateFormat并不是一个线程安全的转换方式,在多线程下,往往会造成未知的问题,是否考虑使用Android最新的DateTimeFormatter替代?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants