Releases: drewhamilton/AndroidDateTimeFormatters
3.0.0
Implement system preference-aware formatting for MEDIUM, LONG, and FULL times. Add APIs that accept an explicit Locale instead of reading the Context's primary locale.
Increase minSdk to 26. Rewrite in Kotlin. Discontinue the -threetenbp version of the library.
This major version maintains binary compatibility with version 2.2.0.
2.2.0
Add ofSkeleton formatters which localize a "skeleton" format string (based on android.text.format.DateFormat.getBestDateTimePattern(Locale locale, String skeleton)).
2.1.1
Published with Gradle module metadata and a minor fix for the threetenbp POM.
2.1.0
Add additional factory methods for time, date, and date-time formatters. Time and date-time formatters created with the "short" time style will use the system 12-/24-hour time setting to format times.
In the rare case that a short time pattern respecting the system 12-/24-hour time setting can not be found, a fallback based on the Context's locale will be used instead.
2.0.1
Lower the minSdk for the java.time artifact from 15 to 4.
2.0.0
Support core library desugaring for the java.time artifact, allowing its use on Android 15+. Add nullability annotations to all public methods.
Change group to dev.drewhamilton.androidtime, and change package names similarly. Rename artifacts to "datetimeformatters" and "datetimeformatters-threetenbp". Publish to Maven Central instead of JCenter.
1.0.0
Release as stable 1.0.0
1.0.0-beta1
Remove generated BuildConfig files and target stable release
0.2.1
Move @RequiresApi(26) on the :javatime AndroidDateTimeFormatter from the method to the class level, because the class's purpose is to help with java.time types which all require API 26+.
0.2.0
Target Java 8 for java.time library