Platforms to show: All Mac Windows Linux Cross-Platform
Currency, Date and Time Format
Classes for details on localized time, data and currency formats.
- Globals
- CDblMBS(text as string, byref value as Double, locale as string = "") as boolean
- FormatDateMBS(format as string, value as date, locale as string = "") as string
- FormatDateTimeMBS(format as string, value as dateTime, locale as string = "") as string
- FormatMBS(format as string, value as Double, locale as string = "") as string
- ParseDateMBS(format as string, text as string, byref value as date, locale as string = "") as boolean
- ParseDateTimeMBS(format as string, text as string, byref value as dateTime, locale as string = "") as boolean
- Classes
- class LocaleMBS
- method Constructor
- shared method Locale(Locale as string = "") as LocaleMBS
- property CurrencySymbol as String
- property DecimalPoint as String
- property FracDigits as Integer
- property Grouping as String
- property IntCurrSymbol as String
- property IntFracDigits as Integer
- property IntNegCSPrecedes as Integer
- property IntNegSepBySpace as Integer
- property IntNegSignPosition as Integer
- property IntPosCSPrecedes as Integer
- property IntPosSepBySpace as Integer
- property IntPosSignPosition as Integer
- property monDecimalPoint as String
- property monGrouping as String
- property monThousandsSep as String
- property Name as String
- property NegativeSign as String
- property NegCSPrecedes as Boolean
- property NegSepBySpace as Boolean
- property NegSignPosition as Integer
- property PosCSPrecedes as Boolean
- property PositiveSign as String
- property PosSepBySpace as Boolean
- property PosSignPosition as Integer
- property ThousandsSep as String
- class NSLocaleDateMBS
- method Constructor
- method Constructor(locale as NSLocaleMBS)
- method eraSymbols as string()
- method longEraSymbols as string()
- method monthSymbols as string()
- method quarterSymbols as string()
- method shortMonthSymbols as string()
- method shortQuarterSymbols as string()
- method shortStandaloneMonthSymbols as string()
- method shortStandaloneQuarterSymbols as string()
- method shortStandaloneWeekdaySymbols as string()
- method shortWeekdaySymbols as string()
- method standaloneMonthSymbols as string()
- method standaloneQuarterSymbols as string()
- method standaloneWeekdaySymbols as string()
- method veryShortMonthSymbols as string()
- method veryShortStandaloneMonthSymbols as string()
- method veryShortStandaloneWeekdaySymbols as string()
- method veryShortWeekdaySymbols as string()
- method weekdaySymbols as string()
- property AMSymbol as String
- property dateFormat as String
- property PMSymbol as String
- class NSLocaleMBS
- 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()
- method Constructor
- method Constructor(Identifier as string)
- shared method currentLocale as NSLocaleMBS
- method displayName(key as string, value as string) as string
- method ExemplarCharacterSet as Variant
- method GetString(key as string) as string
- shared method ISOCountryCodes as string()
- shared method ISOCurrencyCodes as string()
- shared method ISOLanguageCodes as string()
- shared method lineDirectionForLanguage(isoLangCode as string) as Integer
- method localeIdentifier as string
- shared method localeIdentifierFromWindowsLocaleCode(code as Integer) as string
- shared method NSBuddhistCalendar as string
- shared method NSChineseCalendar 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
- property CollationIdentifier 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 MeasurementSystem as String
- property NumberCurrency as NSLocaleNumberMBS
- property NumberDecimal as NSLocaleNumberMBS
- property NumberPercent as NSLocaleNumberMBS
- property NumberScientific as NSLocaleNumberMBS
- property NumberSpellOut as NSLocaleNumberMBS
- property ScriptCode as String
- property UsesMetricSystem as Boolean
- property VariantCode as String
- class NSLocaleNumberMBS
- method Constructor
- method Constructor(locale as NSLocaleMBS)
- property alwaysShowsDecimalSeparator as Boolean
- property currencyCode as String
- property currencyDecimalSeparator as String
- property currencyGroupingSeparator as String
- property currencySymbol as String
- property decimalSeparator as String
- property exponentSymbol as String
- property format as String
- property groupingSeparator as String
- property hasThousandSeparators as Boolean
- property internationalCurrencySymbol as String
- property Lenient as Boolean
- property localizesFormat as Boolean
- property minusSign as String
- property negativeFormat as String
- property negativeInfinitySymbol as String
- property negativePrefix as String
- property negativeSuffix as String
- property nilSymbol as String
- property notANumberSymbol as String
- property paddingCharacter as String
- property PartialStringValidationEnabled as Boolean
- property percentSymbol as String
- property perMillSymbol as String
- property plusSign as String
- property positiveFormat as String
- property positiveInfinitySymbol as String
- property positivePrefix as String
- property positiveSuffix as String
- property thousandSeparator as String
- property usesGroupingSeparator as Boolean
- property usesSignificantDigits as Boolean
- property zeroSymbol as String
- class WinLocalizationMBS
- method AbbreviatedDayName(index as Integer) as string
- method AbbreviatedMonthName(index as Integer) as string
- method Constructor
- method Constructor(LanguageID as Integer, SortID as Integer)
- method Constructor(LCID as Integer)
- method Constructor(PrimaryLanguage as Integer, SubLanguage as Integer, SortID as Integer)
- method LongDayName(index as Integer) as string
- method LongMonthName(index as Integer) as string
- property CalendarTypeSpecifier as String
- property CalendarTypeSpecifier2 as String
- property CountryCode as String
- property CountryNameAbbreviated as String
- property CountryNameAbbreviatedISO as String
- property CountryNameEnglish as String
- property CountryNameLocalized as String
- property CountryNameNative as String
- property CurrencyDecimalSeparator as String
- property CurrencyDigitsInternational as String
- property CurrencyDigitsLocalized as String
- property CurrencyGroupingMode as String
- property CurrencyNameEnglish as String
- property CurrencyNameNative as String
- property CurrencyNegativeMode as String
- property CurrencyPositiveMode as String
- property CurrencySymbolInternational as String
- property CurrencySymbolLocalized as String
- property CurrencyThousandSeparator as String
- property DateLeadingZerosDay as String
- property DateLeadingZerosMonth as String
- property DateLongFormatOrdering as String
- property DateLongFormatString as String
- property DateSeparator as String
- property DateShortFormatOrdering as String
- property DateShortFormatString as String
- property DateShortYearMonth as String
- property DecimalSeparator as String
- property DefaultCodePageANSI as String
- property DefaultCodePageEBCDIC as String
- property DefaultCodePageMac as String
- property DefaultCodePageOEM as String
- property DefaultCountryCode as String
- property DefaultLanguageID as String
- property DigitGrouping as String
- property DigitSubstitution as String
- property FirstDayOfWeek as String
- property FirstWeekOfYear as String
- property LanguageID as String
- property LanguageNameAbbreviated as String
- property LanguageNameAbbreviatedISO as String
- property LanguageNameEnglish as String
- property LanguageNameLocalized as String
- property LanguageNameNativ as String
- property LeadingZeros as String
- property ListItemSeparator as String
- property MeasureSystem as String
- property NativeASCII0to9 as String
- property NegativeNumberMode as String
- property NegSepBySpace as String
- property NegSymPrecedes as String
- property NumberOfFraction as String
- property Papersize as String
- property PosSepBySpace as String
- property PosSymPrecedes as String
- property SignNegative as String
- property SignNegativePosition as String
- property SignPositive as String
- property SignPositivePosition as String
- property Sortname as String
- property ThousandSeparator as String
- property TimeAM as String
- property TimeCenturyFormatSpecifier as String
- property TimeFormatSpecifier as String
- property TimeLeadingZeros as String
- property TimeMarkerPosition as String
- property TimePM as String
- property TimeSeparator as String
- property TimeShortFormatString as String
- class LocaleMBS
Release notes
- Version 22.2
- Fixed memory leak in NSLocaleMBS properties returning NSLocaleNumberMBS and NSLocaleDateMBS objects.
- Version 19.5
- Fixed problem on Windows with time zones and FormatDateMBS function.
- Version 18.1
- Fixed bug in ParseDateMBS with wrong year on Windows.
- Version 17.3
- Fixed FormatDateMBS to work with week days.
- Version 17.1
- Added ParseDateMBS function.
The items on this page are in the following plugins: MBS MacBase Plugin, MBS Util Plugin, MBS Win Plugin.