Platforms to show: All Mac Windows Linux Cross-Platform

NSLocaleDateMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A class for a date format.
Example
// list month and weekday names in German
Var locale As New NSLocaleMBS("de_DE")
Var info As New NSLocaleDateMBS(locale)

MessageBox "Months: " + String.FromArray(info.monthSymbols, ", ") + EndOfLine + _
"Short weekdays: " + String.FromArray(info.shortWeekdaySymbols, ", ") + EndOfLine + _
"AM/PM: " + info.AMSymbol + " / " + info.PMSymbol

Should be used with the NSLocaleMBS class, but can be used on its own, too.

This class has no subclasses.

Blog Entries

Release notes

Some properties using this class:

Some related classes:


The items on this page are in the following plugins: MBS MacBase Plugin.


NSLinguisticValueMBS   -   NSLocaleMBS


The biggest plugin in space...