HorayNarea / MozStumbler

Android Stumbler for Mozilla
http://location.services.mozilla.com
Mozilla Public License 2.0
0 stars 0 forks source link

investigate the need for joda-time #18

Open HorayNarea opened 6 months ago

HorayNarea commented 6 months ago

Joda-Time is the de facto standard date and time library for Java prior to Java SE 8. Users are now asked to migrate to java.time (JSR-310).


https://github.com/HorayNarea/MozStumbler/blob/1071ca13128bd8fb7f653849c52933731f5a43ab/android/build.gradle#L149

https://github.com/HorayNarea/MozStumbler/blob/1071ca13128bd8fb7f653849c52933731f5a43ab/android/src/main/java/org/mozilla/mozstumbler/client/serialize/GPXFragment.java#L26-L28

https://github.com/HorayNarea/MozStumbler/blob/1071ca13128bd8fb7f653849c52933731f5a43ab/android/src/main/java/org/mozilla/mozstumbler/client/serialize/ObservationPointSerializer.java#L27

https://github.com/HorayNarea/MozStumbler/blob/1071ca13128bd8fb7f653849c52933731f5a43ab/android/src/main/java/org/mozilla/mozstumbler/client/serialize/KMLFragment.java#L26-L28

HorayNarea commented 6 months ago

java.time was added in API level 26 (Android 8.0 Oreo)

HorayNarea commented 6 months ago

https://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html