• 首页
  • 产品中心
    • 数式Oinone四大产品

      低代码开发平台无代码开发平台集成开发平台AI大模型开发
    • 数式Oinone体系能力

      用户与组织权限管理文件管理消息中心国际化业务审计
    • 数式Oinone核心产品特性

      低无一体面向软件公司场景无限制应用级扩容可分可合
  • 服务中心
    • 客户服务

      预约演示方案咨询私有部署找人定制
    • 开发者

      问答下载
    • Oinone学院

      社区学习

    《精讲面向软件公司的低代码平台——以Oinone为例》

  • 合作伙伴
    渠道申请伙伴名录专家库
  • 关于数式
0571-88757863

Resources API


I. Overview

In Oinone, built-in model definitions exist for common basic data to support specific scenarios, including address libraries, currencies, languages, icons, etc.

II. Dependencies and Configuration

(Ⅰ) pom Dependencies

Add relevant dependency packages to the api project

<dependency>
    <groupId>pro.shushi.pamirs.core</groupId>
    <artifactId>pamirs-resource-api</artifactId>
</dependency>

Start the project and add the relevant dependency packages

<dependency>
    <groupId>pro.shushi.pamirs.core</groupId>
    <artifactId>pamirs-resource-core</artifactId>
</dependency>

(Ⅱ) Yaml Configuration

pamirs:
	boot:
    modules:
      - resource

Ⅲ. Reference List

(Ⅰ) Models

1. Region (ResourceRegion)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
childrenList<ResourceRegion>Children NodesNo-Sub-region list (associated via pid), supports lazy loading
codeStringCodeYes-Unique region code (inherited from BaseResourceModel)
countryResourceCountryCountryNo-Associated with the country model via countryCode (many2one relationship)
countryCodeStringCountry CodeNo-Country code, associated with the code field of ResourceCountry
hasChildrenBooleanHas ChildrenNofalseIndicates whether the current region has sub-regions, dynamically calculated via the children field
levelIntegerLevelNo-Region hierarchy (e.g., 1 = Country, 2 = Province), default value for country level is DefaultResourceConstants.REGION_LEVEL_COUNTRY
nameStringNameYes-Region name, marked translate=true
Supports multi-language translation
outResourceRelationListList<OutResourceRelation>External Resource Association ListNo-External resource association relations, associated with the current model via code#resource.ResourceRegion format
pCodeStringParent Node CodeNo-Parent region's Code, replacing the deprecated pid field for parent-child hierarchy association
pidLongParent Node IDNo-Deprecated, use pCode field instead
sourceTypeStringSource TypeYesGDData source type (e.g., GD = Gaode), default value is "GD"
typeAddressTypeEnumAddress TypeNo-Region type enum (e.g., Country/Province/City), corresponding to AddressTypeEnum values

2. Country Group (ResourceCountryGroup)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
codeStringCodeYes-Unique country group code (inherited from CodeModel)
countryListList<ResourceCountry>Country ListNo-Associated country list (many-to-many relationship via intermediate table ResourceCountryGroupCountryRel)
nameStringNameYes-Country group name (e.g., "Asia", "Europe")

3. Country (ResourceCountry)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
addrFormatString (Text)Address Display FormatNo-Country address display format (e.g., "Province/City/Street")
codeStringCodeYes-Unique country code (inherited from BaseResourceModel)
completeNameString (256)Full Country/Region NameNo-Full name of the country or region (e.g., "People's Republic of China")
countryGroupResourceCountryGroupContinentNo-Belonged continent group (associated via countryGroupCode)
countryGroupCodeStringContinent CodeNo-Continent group code (associated with the code field of ResourceCountryGroup)
currencyResourceCurrencyCurrency UsedNo-Currency used by the country (associated via currencyCode)
currencyCodeStringCurrency CodeNo-Currency code (associated with the code field of ResourceCurrency)
flagPamirsFileNational FlagNo-National flag file reference
langResourceLangOfficial LanguageNo-Country's official language (associated via langCode)
langCodeStringLanguage CodeNo-Language code (associated with the code field of ResourceLang)
mappingListList<ResourceRegionMapping>Keyword Mapping ListNo-Keyword mapping list for country region names (many-to-many relationship)
nameStringCountry/Region NameYes-Country or region name (supports multi-language translation)
namePositionString (Text)Name Display RuleNo-Name display rule (e.g., "Surname First" or "Given Name First")
outResourceRelationListList<OutResourceRelation>External Resource Association ListNo-External resource association relations (associated via code and model name)
phoneCodeStringLong Distance Area CodeYes-Country's long-distance area code (e.g., China: +86)
provinceListList<ResourceProvince>ProvincesNo-List of provinces under the country (one-to-many relationship, pagination size 50)
regionListList<ResourceRegion>RegionsNo-List of regions under the country (one-to-many relationship)
sourceTypeStringSource TypeYesGDData source type (default "GD" for Gaode)
vatLabelVatLabelEnumConsumption Tax Display NameNo-Consumption tax label enum (e.g., VAT/GST, etc.)

4. Province/State (ResourceProvince)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
codeStringCodeYes-Unique province/state code (inherited from BaseResourceModel)
countryResourceCountryCountry/RegionNo-Belonged country/region (associated via countryCode)
countryCodeStringCountry/Region CodeNo-Country/region code (associated with the code field of ResourceCountry)
cityListList<ResourceCity>CitiesNo-List of cities under the province/state (one-to-many relationship, pagination size 50)
mappingListList<ResourceRegionMapping>Keyword Mapping ListNo-Keyword mapping list for province/state names (many-to-many relationship)
nameStringProvince/State NameNo-Province/state name
outResourceRelationListList<OutResourceRelation>External Resource Association ListNo-External resource association relations (associated via code and model name)
sourceTypeStringSource TypeYesGDData source type (default "GD" for Gaode)

5. City (ResourceCity)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
codeStringCodeYes-Unique city code (inherited from BaseResourceModel)
countryResourceCountryCountryNo-Belonged country (associated via countryCode)
countryCodeStringCountry/Region CodeNo-Country code (associated with the code field of ResourceCountry)
districtListList<ResourceDistrict>Districts/CountiesNo-List of districts/counties under the city (one-to-many relationship)
mappingListList<ResourceRegionMapping>Keyword Mapping ListNo-Keyword mapping list for city names (many-to-many relationship)
nameStringCity NameYes-City name
outResourceRelationListList<OutResourceRelation>External Resource Association ListNo-External resource association relations (associated via code and model name)
phoneCodeStringLong Distance Area CodeNo-City's long-distance area code (e.g., Shanghai: 021)
provinceResourceProvinceProvince/StateNo-Belonged province/state (associated via provinceCode)
provinceCodeStringProvince/State CodeNo-Province/state code (associated with the code field of ResourceProvince)
sourceTypeStringSource TypeYesGDData source type (default "GD" for Gaode)
zipCodeStringPostal CodeNo-City's postal code

6. District/County (ResourceDistrict)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
codeStringCodeYes-Unique district/county code (inherited from BaseResourceModel)
cityResourceCityCityNo-Belonged city (associated via cityCode)
cityCodeStringCity CodeNo-City code (associated with the code field of ResourceCity)
countryResourceCountryCountryNo-Belonged country (associated via countryCode)
countryCodeStringCountry CodeNo-Country code (associated with the code field of ResourceCountry)
mappingListList<ResourceRegionMapping>Keyword Mapping ListNo-Keyword mapping list for district/county names (many-to-many relationship)
nameStringDistrict/County NameNo-District/county name
outResourceRelationListList<OutResourceRelation>External Resource Association ListNo-External resource association relations (associated via code and model name)
provinceResourceProvinceProvinceNo-Belonged province/state (associated via provinceCode)
provinceCodeStringProvince CodeNo-Province/state code (associated with the code field of ResourceProvince)
sourceTypeStringSource TypeYesGDData source type (default "GD" for Gaode)
streetListList<ResourceStreet>StreetsNo-List of streets under the district/county (one-to-many relationship)
zipCodeStringCity District Postal CodeNo-District/county postal code (optional, may be consistent with city zip code in some areas)

7. Street (ResourceStreet)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
codeStringCodeYes-Unique street code (inherited from BaseResourceModel)
cityResourceCityCityNo-Belonged city (associated via cityCode)
cityCodeStringCity CodeNo-City code (associated with the code field of ResourceCity)
countryResourceCountryCountryNo-Belonged country (associated via countryCode)
countryCodeStringCountry CodeNo-Country code (associated with the code field of ResourceCountry)
districtResourceDistrictDistrict/CountyNo-Belonged district/county (associated via districtCode)
districtCodeStringDistrict/County CodeNo-District/county code (associated with the code field of ResourceDistrict)
mappingListList<ResourceRegionMapping>Keyword Mapping ListNo-Keyword mapping list for street names (many-to-many relationship)
nameStringStreet NameYes-Street name
outResourceRelationListList<OutResourceRelation>External Resource Association ListNo-External resource association relations (associated via code and model name)
provinceResourceProvinceProvinceNo-Belonged province/state (associated via provinceCode)
provinceCodeStringProvince CodeNo-Province/state code (associated with the code field of ResourceProvince)
sourceTypeStringSource TypeYesGDData source type (default "GD" for Gaode)

8. Currency (ResourceCurrency)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
activeBooleanActiveYestrueCurrency status (true = active, false = inactive)
codeStringCodeYes-Unique currency code (inherited from BaseResourceModel)
currencySubunitLabelStringSubunit LabelYes-Currency subunit name (e.g., "Fen")
currencyUnitLabelStringUnit LabelYes-Currency unit name (e.g., "Yuan")
decimalPlacesIntegerDecimal PlacesYes2Number of decimal places for currency amount (default 2, e.g., 0.00)
nameStringCurrency NameYes-Currency name (supports multi-language translation)
outResourceRelationListList<OutResourceRelation>External Resource Association ListNo-External resource association relations (associated via code and model name)
positionCurrencyPositionEnumSymbol PositionYes-Currency symbol position enum (e.g., before, after)
roundingCurrencyRoundingEnumRounding ModeYesROUND_HALF_UPNumeric rounding rule enum (default half-up)
symbolStringCurrency SymbolYes-Currency symbol (e.g., "¥", "€")

9. Language (ResourceLang)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
activeActiveEnumActivation StatusNoACTIVELanguage activation status enum (ACTIVE = active, INACTIVE = inactive)
addressFormatStringAddress FormatNo-Actual address format used at runtime (e.g., "City/Street/House Number")
addressTypesList<AddressTypeEnum>Address TypesNo-List of supported address type enums (e.g., Country/Province/City, etc.)
calendarTypeCalendarTypeEnumCalendarYes-Calendar type enum (e.g., Gregorian, Lunar, etc.)
codeStringCodeYes-Unique language code (inherited from CodeModel, e.g., "zh-CN")
decimalPointStringDecimal FormatYes-Decimal separator (e.g., "." or ",")
dateFormatStringDate FormatNo-Deprecated, use resourceDateFormat association instead
directionDirectionEnumWriting DirectionYes-Text writing direction enum (LTR = left to right, RTL = right to left)
groupingRuleStringNumber Grouping RuleNo3Number grouping digits (e.g., "3" for thousand separators, like 1,000)
iconPamirsFileIconNo-Deprecated, use resourceIcon association instead
installStateBooleanLanguage Pack Installation StatusNo-Deprecated, no longer used
nameStringLanguage NameYes-Language name (supports multi-language translation, e.g., "Simplified Chinese")
resourceDateFormatResourceDateFormatDate FormatNo-Date format configuration model (associated with ResourceDateFormat)
resourceIconResourceIconIconNo-Language icon (recommended to associate with ResourceIcon model)
resourceTimeFormatResourceTimeFormatTime FormatNo-Time format configuration model (associated with ResourceTimeFormat)
thousandsSepStringInteger FormatYes-Thousand separator (e.g., "," or " ")
timeFormatStringTime FormatNo-Deprecated, use resourceTimeFormat association instead
timezoneTypeTimeZoneTypeEnumTime ZoneYes-Time zone enum (e.g., UTC+8, UTC-5, etc.)
userCurrentLangBooleanCurrent User LanguageNofalseIndicates whether it is the current user's language (for frontend display, not stored in business data)
weekStartWeekStartEnumFirst Day of WeekYes-First day of week enum (e.g., MONDAY, SUNDAY)
isoCodeStringLanguage ISO CodeYes-International code (e.g., "zh" for Chinese, "en" for English)

10. Tax Type (ResourceTaxKind)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
codeStringCodeYes-Unique tax type code (inherited from CodeModel)
nameStringNameYes-Tax type name (needs to be unique)

11. Tax Rate (ResourceTax)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
codeStringCodeYes-Unique tax rate code (inherited from CodeModel, auto-generated)
nameStringNameYes-Tax rate name (needs to be unique, e.g., "VAT - 13%")
taxBigDecimalTax RateYes-Tax rate value (e.g., 13.0 for 13%)
regionResourceRegionCountry/RegionNo-Applicable country/region (associated via region code, e.g., China)
taxKindResourceTaxKindTax TypeYes-Associated tax type (e.g., VAT, Consumption Tax, required)
outResourceRelationListList<OutResourceRelation>External Resource Association ListNo-External resource association relations (associated via code and model name)

12. Icon (ResourceIcon)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
displayNameStringIcon Display NameNo-Icon's display name on the frontend (e.g., "Delete Icon")
fontClassStringFont Icon Class NameNo-Base class name of the font icon (e.g., "fa fa-trash")
fullFontClassStringFull Font Icon Class NameNo-Complete class name including library prefix (e.g., "font-awesome fa-trash")
groupResourceIconGroupGroupNo-Icon group (associated via groupId with ResourceIconGroup)
groupIdLongGroup IDNo-Icon group ID
idLongIDYes-Primary key ID (inherited from IdModel)
libResourceIconLibIcon LibraryNo-Icon library (associated via libId with ResourceIconLib)
libIdLongIcon Library IDNo-Icon library ID
nameStringIcon NameNo-Icon file name or identifier
outIdStringIcon IDNo-External icon unique identifier (e.g., font icon Unicode code)
remarkString (Text)RemarkNo-Icon remark information (max 500 characters)
showBooleanVisibilityNotrueWhether the icon is visible (default visible)
sysBooleanSystem IconNofalseWhether it is a built-in system icon (true = system icon, non-deletable)
typeIconLibTypeEnumIcon TypeNo-Icon type enum (e.g., FONT = font icon, IMAGE = image icon)
unicodeStringUnicodeNo-Unicode code corresponding to the font icon (e.g., "\f01f")

13. Icon Group (ResourceIconGroup)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
batchCodeLongUpdate BatchNo-Group update batch number (for version control)
iconListList<ResourceIcon>All IconsNo-List of icons included in the group (associated via groupId, one-to-many relationship)
iconNumLongNumber of IconsNo-Total number of icons in the group (non-persistent, calculated by the length of iconList)
idLongIDYes-Primary key ID (inherited from IdModel)
nameStringGroup NameNo-Group name (needs to be unique, e.g., "Action Icons")
sysBooleanSystem GroupNofalseWhether it is a built-in system group (true = system group, non-deletable)

14. Icon Library (ResourceIconLib)

Field NameData TypeDisplay NameRequiredDefault ValueDescription
cssUrlsList<String>CSS File LinksNo-List of CSS style file links corresponding to the icon library (e.g., font icon style sheets)
descriptionString (Text)DescriptionNo-Icon library function description (e.g., "Font Awesome Icon Library")
fontClassPrefixStringIcon Library PrefixNo-Font icon class name prefix (e.g., "fa-", for composing complete class names)
fontUrlsList<String>Font File LinksNo-List of font file links (supports multiple files, e.g., woff2, ttf formats)
groupResourceIconGroupGroupNo-Icon library group (associated via groupId with ResourceIconGroup)
groupIdLongGroup IDNo-Icon library group ID
iconListList<ResourceIcon>All Icons in LibraryNo-List of icons included in the icon library (associated via libId, one-to-many relationship)
idLongIDYes-Primary key ID (inherited from IdModel)
jsUrlsList<String>JS File LinksNo-List of JS file links required by the icon library (e.g., dynamic icon loading scripts)
nameStringIcon Library NameNo-Icon library name (e.g., "Font Awesome")
outIdStringIcon Library IDNo-External icon library unique identifier (e.g., library ID for Font Awesome)
typeIconLibTypeEnumIcon Library TypeNo-Icon library type enum (FONT = font icon library, IMAGE = image icon library)

15. OutResourceRelation

Field NameData TypeDisplay NameRequiredDefault ValueDescription
extraStringExtension FieldNo-Extended data (recommended to store in JSON format, e.g., additional attributes of external systems)
idLongIDYes-Primary key ID (inherited from IdModel)
modelStringAssociated ModelYes-Name of the associated internal model (e.g., "resource.ResourceCountry")
outCodeStringExternal CodeYes-Resource code in the external system (recommended as the association primary key, e.g., unique identifier of a third-party platform)
relationCodeStringAssociation CodeYes-Resource code of the internal system (recommended as the unique association value, e.g., region Code of this system)
sourceTypeStringSource TypeYes-External system identifier (e.g., "GD" = Gaode Map, "BD" = Baidu Map)

16. ResourceRegionMapping

Field NameData TypeDisplay NameRequiredDefault ValueDescription
idLongIDYes-Primary key ID (inherited from IdModel)
modelStringAssociated ModelYes-Type of the associated region model (e.g., "resource.ResourceProvince", "resource.ResourceCity")
relationCodeStringAssociation CodeYes-Corresponding region code (e.g., province code "CN-31", city code "CN-31-01")
keywordsStringMapping KeywordsYes-Keywords for matching (e.g., city alias "Hu" corresponding to "CN-31")

17. Date Format (ResourceDateFormat)

Field NameData TypeDisplay NameDescription (Format Example)
chineseStringChinese FormatYYYY年MM月DD日 (e.g., 2025年06月06日)
chineseYearMonthStringChinese Year-Month FormatYYYY年MM月 (e.g., 2025年06月)
hyphenYearMonthStringHyphenated Year-Month FormatYYYY-MM (e.g., 2025-06)
slashYearMonthStringSlashed Year-Month FormatYYYY/MM (e.g., 2025/06)
hyphenStringHyphenated FormatYYYY-MM-DD (e.g., 2025-06-06)
slashStringSlashed FormatYYYY/MM/DD (e.g., 2025/06/06)
chineseMapMap<String, Object>Chinese Format (Frontend)JSON object containing language and format (e.g., {"lang":"zh-CN", "format":"YYYY年MM月DD日"})
chineseYearMonthMapMap<String, Object>Chinese Year-Month Format (Frontend)JSON object containing language and format
hyphenYearMonthMapMap<String, Object>Hyphenated Year-Month Format (Frontend)JSON object containing language and format
slashYearMonthMapMap<String, Object>Slashed Year-Month Format (Frontend)JSON object containing language and format
hyphenMapMap<String, Object>Hyphenated Format (Frontend)JSON object containing language and format
slashMapMap<String, Object>Slashed Format (Frontend)JSON object containing language and format

18. Time Format (ResourceTimeFormat)

Field NameData TypeDisplay NameDescription (Format Example)
colonNormalStringStandard Colon FormatHH:mm:ss (24-hour format, e.g., 14:30:45)
colonShortStringShort Colon FormatHH:mm (24-hour format, e.g., 14:30)
apColonNormalStringStandard Colon Format (AP Style)A hh:mm:ss (12-hour format, e.g., PM 02:30:45)
apColonShortStringShort Colon Format (AP Style)A hh:mm (12-hour format, e.g., PM 02:30)
colonNormalMapMap<String, Object>Standard Colon Format (Frontend)Mapping containing format information (e.g., {"format":"HH:mm:ss"})
colonShortMapMap<String, Object>Short Colon Format (Frontend)Mapping containing format information
apColonNormalMapMap<String, Object>Standard Colon Format (AP Style, Frontend)Mapping containing format information
apColonShortMapMap<String, Object>Short Colon Format (AP Style, Frontend)Mapping containing format information

(Ⅱ) Enums

1. Address Type (AddressTypeEnum)

Enum ValueStored ValueDisplay NameDescription
CountrycountryCountryCountry-level address
ProvinceprovinceProvinceProvincial administrative region
CitycityCityMunicipal administrative region
DistrictdistrictDistrictDistrict-level administrative region
StreetstreetStreetStreet/town-level address

2. Vat Label (VatLabelEnum)

Enum ValueStored ValueDisplay NameDescription
VATVATValue Added TaxValue Added Tax (common in Europe, China)
GSTGSTGSTGoods and Services Tax (common in Canada, Australia)
HSTHSTHSTHarmonized Sales Tax (some provinces in Canada)
RFCRFCRFCTaxpayer Registration Number (Mexico)
RNCRNCRNCTaxpayer Registration Number (Dominican Republic, etc.)
NITNITNITTaxpayer Identification Number (Colombia, etc.)

3. Currency Position (CurrencyPositionEnum)

Enum ValueStored ValueDisplay NameDescription
BEFOREBEFORESymbol BeforeCurrency symbol before the amount (e.g., "¥100")
AFTERAFTERSymbol AfterCurrency symbol after the amount (e.g., "100¥")

4. Currency Rounding (CurrencyRoundingEnum)

Enum ValueStored ValueDisplay NameDescription
ROUND_UPROUND_UPRound UpAlways round up (e.g., 1.1→2.0)
ROUND_DOWNROUND_DOWNRound DownAlways round down (e.g., 1.9→1.0)
ROUND_CEILINGROUND_CEILINGCeilingRound up for positive numbers, round towards zero for negative numbers (1.1→2.0, -1.9→-1.0)
ROUND_FLOORROUND_FLOORFloorRound towards zero for positive numbers, round down for negative numbers (1.9→1.0, -1.1→-2.0)
ROUND_HALF_UPROUND_HALF_UPHalf Up (≥0.5 Round Up)Round up if the discarded part ≥0.5 (1.5→2.0, 1.4→1.0)
ROUND_HALF_DOWNROUND_HALF_DOWNHalf Down (>0.5 Round Up)Round up if the discarded part >0.5 (1.5→1.0, 1.6→2.0)
ROUND_HALF_EVENROUND_HALF_EVENBankers RoundingRound half to even (if the left digit is even, round down; if odd, round up) (2.5→2.0, 3.5→4.0)
ROUND_UNNECESSARYROUND_UNNECESSARYNo RoundingAssert operation result is precise (e.g., integer operations), throw exception if decimals exist

5. Activation Status (ActiveEnum)

Enum ValueStored ValueDisplay NameDescription
ACTIVEtrueActiveObject is in an active state and can be used normally
INACTIVEfalseInactiveObject is deactivated and cannot participate in business operations

6. Calendar Type (CalendarTypeEnum)

Enum ValueStored ValueDisplay NameDescription
GregorianGregorianGregorian CalendarInternational standard calendar (solar calendar)
LunarLunarLunar CalendarTraditional Chinese lunisolar calendar
SolarSolarSolar CalendarSolar calendar (alias of Gregorian calendar)

7. Writing Direction (DirectionEnum)

Enum ValueStored ValueDisplay NameDescription
LTRLTRLeft to RightText layout direction is left to right (e.g., Chinese, English)
RTLRTLRight to LeftText layout direction is right to left (e.g., Arabic, Hebrew)

8. Time Zone (TimeZoneTypeEnum)

Enum ValueStored ValueDisplay NameDescription
Australia_DarwinAustralia/DarwinAustralia/DarwinDarwin Time Zone, Australia
Australia_SydneyAustralia/SydneyAustralia/SydneySydney Time Zone, Australia
America_Argentina_Buenos_AiresAmerica/Argentina/Buenos_AiresAmerica/Argentina/Buenos_AiresBuenos Aires Time Zone, Argentina
Africa_CairoAfrica/CairoAfrica/CairoCairo Time Zone, Egypt
America_AnchorageAmerica/AnchorageAmerica/AnchorageAnchorage Time Zone, USA
America_Sao_PauloAmerica/Sao_PauloAmerica/Sao_PauloSao Paulo Time Zone, Brazil
Asia_DhakaAsia/DhakaAsia/DhakaDhaka Time Zone, Bangladesh
Africa_HarareAfrica/HarareAfrica/HarareHarare Time Zone, Zimbabwe
America_St_JohnsAmerica/St_JohnsAmerica/St_JohnsSt. Johns Time Zone, Canada
America_ChicagoAmerica/ChicagoAmerica/ChicagoChicago Time Zone, USA
Asia_ShanghaiAsia/ShanghaiAsia/ShanghaiShanghai Time Zone, China
Africa_Addis_AbabaAfrica/Addis_AbabaAfrica/Addis_AbabaAddis Ababa Time Zone, Ethiopia
Europe_ParisEurope/ParisEurope/ParisParis Time Zone, France
America_Indiana_IndianapolisAmerica/Indiana/IndianapolisAmerica/Indiana/IndianapolisIndianapolis Time Zone, Indiana, USA
Asia_KolkataAsia/KolkataAsia/KolkataKolkata Time Zone, India
Asia_TokyoAsia/TokyoAsia/TokyoTokyo Time Zone, Japan
Pacific_ApiaPacific/ApiaPacific/ApiaApia Time Zone, Samoa
Asia_YerevanAsia/YerevanAsia/YerevanYerevan Time Zone, Armenia
Pacific_AucklandPacific/AucklandPacific/AucklandAuckland Time Zone, New Zealand
Asia_KarachiAsia/KarachiAsia/KarachiKarachi Time Zone, Pakistan
America_PhoenixAmerica/PhoenixAmerica/PhoenixPhoenix Time Zone, USA
America_Puerto_RicoAmerica/Puerto_RicoAmerica/Puerto_RicoSan Juan Time Zone, Puerto Rico

9. First Day of Week (WeekStartEnum)

Enum ValueStored ValueDisplay NameDescription
MONDAYmondayMondayMonday as the first day of the week
TUESDAYtuesdayTuesdayTuesday as the first day of the week
WEDNESDAYwednesdayWednesdayWednesday as the first day of the week
THURSDAYthursdayThursdayThursday as the first day of the week
FRIDAYfridayFridayFriday as the first day of the week
SATURDAYsaturdaySaturdaySaturday as the first day of the week
SUNDAYsundaySundaySunday as the first day of the week
Edit this page
Last Updated:1/14/26, 8:45 AM
Prev
Import and Export
Next
EIP API
默认页脚
Copyright © 2026 Mr.Hope