UtilsLib Xojo plugin

LocaleInfo Class (console safe)

LocaleInfo is a class to obtain system localization information.

Note:
Some methods in this class are only supported on some platforms. Read the specs for the methods to get info on which one works where.

Object
   LocaleInfo

class LocaleInfo

Methods

shared AMDesignatorReturns a string for the AM designator.
shared ComputerNameTo get the Network name of the computer use the ComputerName function.
shared DateSeparatorTo get the default date separator symbol that is selected in the system then use the DateSeparator function.
shared DayNameTo get the name of week days then use the DayName function.
shared DayNameAbbrevTo get the abbreviated name of week days then use the DayNameAbbrev function.
shared DecimalPointTo get the default decimal point symbol for numbers that is selected in the system then use the DecimalPoint function.
shared FirstWeekDayReturns first week day based on locale settings.
shared GetSystemEncodingTo get the current system Encoding for usage with Text encoding manager then use the GetSystemEncoding function.
shared IsMetricTo determine if the measurement system needs to be the metric system or the English system, use the IsMetric function.
shared LocationDlsFlagTo test if daylight savings are currently active use the LocationDlsFlag function.
shared LocationGMTDeltaTo get information how long the machine location is from Greenwich mean (in seconds), use the ReadLocationGMTdelta function.
shared LocationLatitudeTo get Machine latitude position, use the LocationLatitude function.
shared LocationLongitudeTo get Machine longitude position, use the LocationLongitude function.
shared MonthNameTo get the name of months then use the NameAbbrev function.
shared MonthNameAbbrevTo get the abbreviated name of months then use the MonthNameAbbrev function.
shared PMDesignatorReturns a string for the PM designator.
shared PerMillSymbolReturns the string that the system uses for the per-thousands symbol.
shared PercentSymbolReturns the string that the system uses for the percent symbol.
shared ThousandsSeparatorTo get the default thousands separator symbol for numbers that is selected in the system then use the ThousandsSeparator function.
shared TimeZoneNameTo get the name of the current time zone use the TimeZoneName function.
shared UserNameTo get the currently logged in user use the UserName function.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM