Platforms to show: All Mac Windows Linux Cross-Platform
NSLocaleMBS 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 |
Available in Mac OS X v10.4 and later.
- 30 properties
- property alternateQuotationBeginDelimiter as String
- property alternateQuotationEndDelimiter as String
- property calendarIdentifier as String
- property CollationIdentifier as String
- property collatorIdentifier as String
- property CountryCode as String
- property CurrencyCode as String
- property CurrencySymbol as String
- property DateFull as NSLocaleDateMBS
- property DateLong as NSLocaleDateMBS
- property DateMedium as NSLocaleDateMBS
- property DateShort as NSLocaleDateMBS
- property DecimalSeparator as String
- property GroupingSeparator as String
- property Identifier as String
- property LanguageCode as String
- property languageIdentifier as String
- property localeIdentifier as string
- property MeasurementSystem as String
- property NumberCurrency as NSLocaleNumberMBS
- property NumberDecimal as NSLocaleNumberMBS
- property NumberPercent as NSLocaleNumberMBS
- property NumberScientific as NSLocaleNumberMBS
- property NumberSpellOut as NSLocaleNumberMBS
- property quotationBeginDelimiter as String
- property quotationEndDelimiter as String
- property regionCode as String
- property ScriptCode as String
- property UsesMetricSystem as Boolean
- property VariantCode as String
- 14 methods
- method Constructor
- method Constructor(Identifier as string)
- method displayName(key as string, value as string) as string
- method ExemplarCharacterSet as Variant
- method GetString(key as string) as string
- method localizedStringForCalendarIdentifier(CalendarIdentifier as String) as String
- method localizedStringForCollationIdentifier(CollationIdentifier as String) as String
- method localizedStringForCollatorIdentifier(CollatorIdentifier as String) as String
- method localizedStringForCountryCode(CountryCode as String) as String
- method localizedStringForCurrencyCode(CurrencyCode as String) as String
- method localizedStringForLanguageCode(LanguageCode as String) as String
- method localizedStringForLocaleIdentifier(LocaleIdentifier as String) as String
- method localizedStringForScriptCode(ScriptCode as String) as String
- method localizedStringForVariantCode(VariantCode as String) as String
- 47 shared methods
- shared method autoupdatingCurrentLocale as NSLocaleMBS
- shared method availableLocaleIdentifiers as string()
- shared method canonicalLanguageIdentifierFromString(s as string) as string
- shared method canonicalLocaleIdentifierFromString(s as string) as string
- shared method characterDirectionForLanguage(isoLangCode as string) as Integer
- shared method commonISOCurrencyCodes as string()
- shared method currentLocale as NSLocaleMBS
- shared method ISOCountryCodes as string()
- shared method ISOCurrencyCodes as string()
- shared method ISOLanguageCodes as string()
- shared method lineDirectionForLanguage(isoLangCode as string) as Integer
- shared method localeIdentifierFromWindowsLocaleCode(code as Integer) as string
- shared method localeWithLocaleIdentifier(LocaleIdentifier as String) as NSLocaleMBS
- shared method NSBuddhistCalendar as string
- shared method NSChineseCalendar as string
- shared method NSCurrentLocaleDidChangeNotification as String
- shared method NSGregorianCalendar as string
- shared method NSHebrewCalendar as string
- shared method NSIndianCalendar as string
- shared method NSIslamicCalendar as string
- shared method NSIslamicCivilCalendar as string
- shared method NSISO8601Calendar as string
- shared method NSJapaneseCalendar as string
- shared method NSLocaleAlternateQuotationBeginDelimiterKey as string
- shared method NSLocaleAlternateQuotationEndDelimiterKey as string
- shared method NSLocaleCalendar as string
- shared method NSLocaleCollationIdentifier as string
- shared method NSLocaleCollatorIdentifier as string
- shared method NSLocaleCountryCode as string
- shared method NSLocaleCurrencyCode as string
- shared method NSLocaleCurrencySymbol as string
- shared method NSLocaleDecimalSeparator as string
- shared method NSLocaleExemplarCharacterSet as string
- shared method NSLocaleGroupingSeparator as string
- shared method NSLocaleIdentifier as string
- shared method NSLocaleLanguageCode as string
- shared method NSLocaleMeasurementSystem as string
- shared method NSLocaleQuotationBeginDelimiterKey as string
- shared method NSLocaleQuotationEndDelimiterKey as string
- shared method NSLocaleScriptCode as string
- shared method NSLocaleUsesMetricSystem as string
- shared method NSLocaleVariantCode as string
- shared method NSPersianCalendar as string
- shared method NSRepublicOfChinaCalendar as string
- shared method preferredLanguages as string()
- shared method systemLocale as NSLocaleMBS
- shared method windowsLocaleCodeFromLocaleIdentifier(s as string) as Integer
- 5 constants
Constants
Constant | Value | Description |
---|---|---|
NSLocaleLanguageDirectionBottomToTop | 4 |
One of the constants describing the text direction for a language.
The language direction is from bottom to top. Available in Mac OS X v10.6 and later. |
NSLocaleLanguageDirectionLeftToRight | 1 |
One of the constants describing the text direction for a language.
The language direction is from left to right. Available in Mac OS X v10.6 and later. |
NSLocaleLanguageDirectionRightToLeft | 2 |
One of the constants describing the text direction for a language.
The language direction is from right to left. Available in Mac OS X v10.6 and later. |
NSLocaleLanguageDirectionTopToBottom | 3 |
One of the constants describing the text direction for a language.
The language direction is from top to bottom. Available in Mac OS X v10.6 and later. |
NSLocaleLanguageDirectionUnknown | 0 |
One of the constants describing the text direction for a language.
The direction of the language is unknown. Available in Mac OS X v10.6 and later. |
This class has no sub classes.
Some methods using this class:
- AVAssetMBS.availableChapterLocales as NSLocaleMBS()
- AVAssetMBS.chapterMetadataGroupsWithTitleLocale(locale as NSLocaleMBS, commonKeys() as string) as AVTimedMetadataGroupMBS()
- AVMediaSelectionGroupMBS.mediaSelectionOptionsFromArrayWithLocale(mediaSelectionOptions() as AVMediaSelectionOptionMBS, locale as NSLocaleMBS) as AVMediaSelectionOptionMBS()
- AVMediaSelectionOptionMBS.displayNameWithLocale(locale as NSLocaleMBS) as String
- AVMetadataItemMBS.metadataItemsFromArray(metadataItems() as AVMetadataItemMBS, locale as NSLocaleMBS) as AVMetadataItemMBS()
- CLGeocoderMBS.geocodePostalAddress(postalAddress as Variant, preferredLocale as NSLocaleMBS, completionHandler as CLGeocodeCompletionHandlerMBS, tag as variant = nil)
- CLGeocoderMBS.reverseGeocodeLocation(location as CLLocationMBS, preferredLocale as NSLocaleMBS, completionHandler as CLGeocodeCompletionHandlerMBS, tag as variant = nil)
- NSLocaleDateMBS.Constructor(locale as NSLocaleMBS)
- SFSpeechRecognizerMBS.Constructor(locale as NSLocaleMBS)
- SFSpeechRecognizerMBS.supportedLocales as NSLocaleMBS()
Some properties using for this class:
- AVMediaSelectionOptionMBS.locale as NSLocaleMBS
- AVMetadataItemMBS.locale as NSLocaleMBS
- MKDistanceFormatterMBS.Locale as NSLocaleMBS
- NSDatePickerMBS.locale as NSLocaleMBS
- SFSpeechRecognizerMBS.locale as NSLocaleMBS
- SKProductDiscountMBS.priceLocale as NSLocaleMBS
- SKProductMBS.priceLocale as NSLocaleMBS
- TKSmartCardUserInteractionForPINOperationMBS.locale as NSLocaleMBS
- AVMutableMetadataItemMBS.locale as NSLocaleMBS
- NSCalendarMBS.locale as NSLocaleMBS
Some examples using this class:
Blog Entries
- News from the MBS Xojo Plugins Version 24.3
- MonkeyBread Software Releases the MBS Xojo Plugins in version 24.3
- MBS Xojo Plugins, version 24.3pr3
- MBS Xojo Plugins, version 22.2pr1
- MBS Xojo / Real Studio Plugins, version 13.5pr4
- MBS Real Studio Plugins, version 12.5pr8
- MBS REALbasic plug-in 9.6
Release notes
- Version 24.3
- Added calendarIdentifier, localeIdentifier, languageIdentifier, collatorIdentifier, regionCode to NSLocaleMBS class.
- Added localizedStringForVariantCode, localizedStringForScriptCode, localizedStringForLocaleIdentifier, localizedStringForLanguageCode, localizedStringForCurrencyCode, localizedStringForCountryCode, localizedStringForCollatorIdentifier, localizedStringForCollationIdentifier, localizedStringForCalendarIdentifier, localeWithLocaleIdentifier to NSLocaleMBS class.
- Added NSCurrentLocaleDidChangeNotification function for NSLocaleMBS class to use with NSNotificationObserverMBS class.
- Added quotationEndDelimiter, quotationBeginDelimiter, alternateQuotationBeginDelimiter, alternateQuotationEndDelimiter to NSLocaleMBS class.
- Version 22.2
- Fixed memory leak in NSLocaleMBS properties returning NSLocaleNumberMBS and NSLocaleDateMBS objects.
The items on this page are in the following plugins: MBS MacBase Plugin.
NSLocaleDateMBS - NSLocaleNumberMBS