diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2022-03-24 12:06:26 +0100 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2022-03-24 16:20:30 +0100 |
commit | 272a90c45af6ff8f6d5d80c024188b2959efdb93 (patch) | |
tree | fe9faba3e32c9092e236dda937a555d13df38df0 /wizards/Package_scriptforge.mk | |
parent | a0202e0b8c5757c3dbb5f0938a4305fbe2db9429 (diff) |
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>
Diffstat (limited to 'wizards/Package_scriptforge.mk')
-rw-r--r-- | wizards/Package_scriptforge.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wizards/Package_scriptforge.mk b/wizards/Package_scriptforge.mk index f9494e7d9c2d..4cd78e1f4982 100644 --- a/wizards/Package_scriptforge.mk +++ b/wizards/Package_scriptforge.mk @@ -27,6 +27,7 @@ $(eval $(call gb_Package_add_files,wizards_basicsrvscriptforge,$(LIBO_SHARE_FOLD SF_L10N.xba \ SF_Platform.xba \ SF_PythonHelper.xba \ + SF_Region.xba \ SF_Root.xba \ SF_Services.xba \ SF_Session.xba \ |