Skip to content

Commit

Permalink
[compilation] material3. Fix Int.toLocalString
Browse files Browse the repository at this point in the history
  • Loading branch information
igordmn committed Nov 16, 2023
1 parent 4f4d828 commit a9b0aca
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,15 @@ package androidx.compose.material3
M2/M3-internal copy of MutatorMutex.
*/
internal actual typealias InternalAtomicReference<V> =
java.util.concurrent.atomic.AtomicReference<V>
java.util.concurrent.atomic.AtomicReference<V>

/**
* Represents a Locale for the calendar. This locale will be used when formatting dates, determining
* the input format, and more.
*/
actual typealias CalendarLocale = java.util.Locale

/**
* Returns the default [CalendarLocale].
*/
internal actual fun defaultLocale(): CalendarLocale = java.util.Locale.getDefault()

0 comments on commit a9b0aca

Please sign in to comment.