The chosen names for the variables are a little bit confusing, aren't they ? They are definitely not formatters but the formatting results :) This is a nice tip anyway. I didn't know that SimpleDateFormat was not thread safe after all these years :-D Thanks Philipp !!
Great tip
Exactly what I need in my current project..! Thanks❤
I use kotlinx-datime because it's possible to use it in KMM
That's good tip! Thank you.
Why does SimpleDateFormat need to be mocked for testing? And does this approach need to be mocked also?
thanks i have a lot of problemas now i know why.
Great tip bro
Thread safety 👍
Awesome
Thank you Phillip
Thank you
Can I use it in iOs
min API level is 26 (Android 8/O) 😢
use jdk desugaring
is it support for API 21?
😂
Ok
The chosen names for the variables are a little bit confusing, aren't they ? They are definitely not formatters but the formatting results :) This is a nice tip anyway. I didn't know that SimpleDateFormat was not thread safe after all these years :-D Thanks Philipp !!
why aren't they formatters, if they do format?
@Xavier Rispal oh yep, now I see what you've been talking about. Indeed, they are results of formating
ufff, and of course it requires min api26
No, search for coreLibraryDesugaring :)
I used "Jackwharton ThreeTenABP" to solve api problem
Hey phillip i get this error
java.time.temporal.UnsupportedTemporalTypeException: Unsupported field: DayOfMonth