Marc Knaup
07/10/2019, 7:18 PMLocale
yet?
It would be needed for a multiplatform time library to support formatting 🙂simon.vergauwen
07/10/2019, 7:23 PMLocale
that is not coupled to the library?Marc Knaup
07/10/2019, 7:23 PMLocale
has nothing to do with time?
It's a basic building block like Java's Locale or ObjC's NSLocale.Marc Knaup
07/10/2019, 7:25 PMDateFormatter
in a time lib. It would need a Locale
to know what language to format the date in.simon.vergauwen
07/10/2019, 7:28 PMDataFormatter
is also in the std. Not sure if it's also used in other APIs in Java.Marc Knaup
07/10/2019, 7:28 PMLocale
to that wouldn't make sense.simon.vergauwen
07/10/2019, 7:31 PMLocale
outside of the Java Data apis, maybe I just don't understand your use case properly.Marc Knaup
07/10/2019, 7:32 PMLocale
can be used for all kinds of i18n-related tasks like translations, formatting, locale-dependent resource loading etc.Czar
07/11/2019, 10:12 AMMarc Knaup
07/11/2019, 10:20 AMMarc Knaup
07/11/2019, 10:21 AM