Files
loongoffice/wizards/source/scriptforge/script.xlb
Jean-Pierre Ledure 272a90c45a ScriptForge - (SF_Region) new service in the core library
Singleton class implementing the "ScriptForge.Region" service
Implemented as a usual Basic module

A collection of functions about languages, countries and timezones
- Locales
- Currencies
- Numbers and dates formatting
- Calendars
- Timezones conversions
- Numbers transformed to text in local language

Definitions:
  Locale or Region
    A combination of a language (2 or 3 lower case characters)
    and a country (2 upper case characters)
    Most properties and methods require a locale as argument.
    Some of them accept either the complete locale or only
    the language or country parts.
  Timezone
    Specified as "Region/City" name like "Europe/Berlin",
    or a custom time zone ID such as "UTC" or "GMT-8:00".
    The time offset between the timezone and the
    Greenwich Meridian Time (GMT) is expressed in minutes.
    The Daylight Saving Time (DST) is an additional offset.
    Both offsets can be positive or negative.

Properties:
  Currency
  Language
  Country
  DatePatterns
  DateSeparator
  ThousandSeparator
  DecimalPoint
  TimeSeparator
  ListSeparator
  DayNames
  DayAbbrevNames
  DayNarrowNames
  MonthNames
  MonthAbbrevNames
  MonthNarrowNames

Methods
  UTCDateTime
  UTCNow
  LocalDateTime
  TimeZoneOffset
  DSTOffset
  Number2Text

Change-Id: Iabf31ea0e6c235e960fcca5b1e7a9d928cf8cd0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132068
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-03-24 16:20:30 +01:00

23 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="ScriptForge" library:readonly="false" library:passwordprotected="false">
<library:element library:name="__License"/>
<library:element library:name="SF_String"/>
<library:element library:name="_CodingConventions"/>
<library:element library:name="SF_Timer"/>
<library:element library:name="_ModuleModel"/>
<library:element library:name="SF_Utils"/>
<library:element library:name="SF_Root"/>
<library:element library:name="SF_Array"/>
<library:element library:name="SF_Services"/>
<library:element library:name="SF_Dictionary"/>
<library:element library:name="SF_Session"/>
<library:element library:name="SF_FileSystem"/>
<library:element library:name="SF_TextStream"/>
<library:element library:name="SF_L10N"/>
<library:element library:name="SF_Exception"/>
<library:element library:name="SF_UI"/>
<library:element library:name="SF_Platform"/>
<library:element library:name="SF_PythonHelper"/>
<library:element library:name="SF_Region"/>
</library:library>