Updated on 2026-08-14
This commit is contained in:
parent
233d76d9f4
commit
8b49dc2f7f
17 changed files with 694 additions and 0 deletions
|
|
@ -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"
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue