Skip to content

Releases: drewhamilton/AndroidDateTimeFormatters

3.0.0

01 Feb 22:40

Choose a tag to compare

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

31 Jan 15:49

Choose a tag to compare

Add ofSkeleton formatters which localize a "skeleton" format string (based on android.text.format.DateFormat.getBestDateTimePattern(Locale locale, String skeleton)).

2.1.1

24 Apr 14:39

Choose a tag to compare

Published with Gradle module metadata and a minor fix for the threetenbp POM.

2.1.0

18 Apr 10:11

Choose a tag to compare

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

13 Apr 11:54

Choose a tag to compare

Lower the minSdk for the java.time artifact from 15 to 4.

2.0.0

11 Apr 15:30

Choose a tag to compare

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

22 Jul 18:17

Choose a tag to compare

Release as stable 1.0.0

1.0.0-beta1

12 Jul 06:12

Choose a tag to compare

1.0.0-beta1 Pre-release
Pre-release

Remove generated BuildConfig files and target stable release

0.2.1

10 Jul 16:37

Choose a tag to compare

0.2.1 Pre-release
Pre-release

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

14 Jun 18:36

Choose a tag to compare

0.2.0 Pre-release
Pre-release

Target Java 8 for java.time library