UtilsLib REALbasic Plugin

LocaleInfo Class

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

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

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86