Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-10 15:07:42 +03:00
parent 233d76d9f4
commit 8b49dc2f7f
17 changed files with 694 additions and 0 deletions

View file

@ -108,6 +108,23 @@ object DateTimeFormatters {
getBestFormatterBySkeleton("d MMMM")
}
/**
* Example: "June"
*/
val dateMMMM: DateTimeFormatter by lazy {
getBestFormatterBySkeleton("MMMM")
}
/**
* Example: "June 1"
*/
val dateMMMMd: DateTimeFormatter by lazy {
DateTimeFormatterBuilder()
.appendPattern("MMMM d")
.toFormatter()
.withLocale(Locale.getDefault())
}
/**
* Example: "31.06.2020 12:00", "06/31/2020 12:00", "06/31/2020 12:00 PM"
*/