Open parneet-guraya opened 2 months ago
Makes sense. Maybe also interesting for @rapterjet2004 regarding the DateTimePickerFragment
@parneet-guraya I found the same on stackoverflow when I was looking at #4248 , but I thought that asking for that way was too much. ;-)
We should remove the usage of APIs related date and time from
java.util
package. Why? See below ->From oracle's site link :
This stackoverflow answer explains it well too.
Also, not only from above I have personally encountered bugs and weird outputs. Also, less intuitive meaning more chances of introducing bugs while maintaining or writing new code.
So, I make the case to migrate from this to some other solution like APIs from
java.time
which in fact was introduced to overcome the shortcomings of above.Let me know @mahibi