Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSLocaleMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Currency, Date and Time Format | MBS MacBase Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in Mac OS X v10.4 and later.
Loads the same values for this object as if you just take the object from NSLocaleMBS.currentLocale.
See also:
NSLocaleMBS.Constructor(Identifier as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Currency, Date and Time Format | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in Mac OS X v10.4 and later.
Pass in the country identifier which you get with the availableLocaleIdentifiers function.
See also:
NSLocaleMBS.displayName(key as string, value as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Currency, Date and Time Format | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Not all locale property keys have values with display name values.
You can use the NSLocaleIdentifier key to get the name of a locale in the language of another locale, as illustrated in the example code above.
NSLocaleMBS.ExemplarCharacterSet as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Currency, Date and Time Format | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns a NSCharacterSetMBS object.
Available in Mac OS X v10.4 and later.
NSLocaleMBS.GetString(key as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Currency, Date and Time Format | MBS MacBase Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in Mac OS X v10.4 and later.
This keys can be found int he NSLocale reference from Apple.
NSLocaleMBS.localeIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Currency, Date and Time Format | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The identifier for the receiver. This may not be the same string that the locale was created with, since NSLocale may canonicalize it.
Available in Mac OS X v10.4 and later.
The items on this page are in the following plugins: MBS MacBase Plugin.