@arcgis/coding-components 4.28.0-beta.35 → 4.28.0-beta.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +188 -188
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +181 -181
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +182 -182
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +180 -180
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +188 -188
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +181 -181
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +180 -180
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +182 -182
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +186 -186
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +186 -186
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +185 -185
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +182 -182
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +185 -185
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +182 -182
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +181 -181
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +189 -189
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +185 -185
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +186 -186
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +181 -181
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +183 -183
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +183 -183
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +180 -180
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +188 -188
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +186 -186
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +183 -183
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +188 -188
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +182 -182
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +186 -186
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +186 -186
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +180 -180
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +180 -180
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +183 -183
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +181 -181
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +189 -189
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +182 -182
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +187 -187
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +185 -185
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +179 -179
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +179 -179
  41. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +1 -1
  42. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +1 -1
  43. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +1 -1
  44. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +1 -1
  45. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +1 -1
  46. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +1 -1
  47. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +1 -1
  48. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +1 -1
  49. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +1 -1
  50. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +1 -1
  51. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +1 -1
  52. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +1 -1
  53. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +1 -1
  54. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +1 -1
  55. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +1 -1
  56. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +1 -1
  57. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +1 -1
  58. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +1 -1
  59. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +1 -1
  60. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +1 -1
  61. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +1 -1
  62. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +1 -1
  63. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +1 -1
  64. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +1 -1
  65. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +1 -1
  66. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +1 -1
  67. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +1 -1
  68. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +1 -1
  69. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +1 -1
  70. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +1 -1
  71. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +1 -1
  72. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +1 -1
  73. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +1 -1
  74. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +1 -1
  75. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +1 -1
  76. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +1 -1
  77. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +1 -1
  78. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +1 -1
  79. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +1 -1
  80. package/dist/arcgis-coding-components/index.esm.js +1 -1
  81. package/dist/arcgis-coding-components/{p-1da81c46.entry.js → p-1afb1520.entry.js} +1 -1
  82. package/dist/arcgis-coding-components/{p-aaf23d11.js → p-3af6d9c9.js} +1 -1
  83. package/dist/arcgis-coding-components/{p-609f6ed0.js → p-4d3db1b0.js} +7 -7
  84. package/dist/arcgis-coding-components/{p-ae447c38.js → p-659edbd6.js} +1 -1
  85. package/dist/arcgis-coding-components/{p-184ec29e.js → p-6f11971b.js} +1 -1
  86. package/dist/arcgis-coding-components/{p-6b11611b.js → p-85a52c0c.js} +1 -1
  87. package/dist/arcgis-coding-components/{p-80df31b8.js → p-b4da9834.js} +1 -1
  88. package/dist/arcgis-coding-components/{p-65bc9fc4.js → p-d06922b9.js} +1 -1
  89. package/dist/arcgis-coding-components/{p-5d5e5d83.js → p-dd869b96.js} +1 -1
  90. package/dist/arcgis-coding-components/{p-608e0722.js → p-f3fdbeaf.js} +1 -1
  91. package/dist/cjs/{arcade-defaults-95715eda.js → arcade-defaults-970ec5c1.js} +7 -7
  92. package/dist/cjs/{arcade-mode-25f37dc7.js → arcade-mode-c6a3b170.js} +1 -1
  93. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +2 -2
  94. package/dist/cjs/{cssMode-22983834.js → cssMode-c342f082.js} +1 -1
  95. package/dist/cjs/{html-e4fbc7fd.js → html-9077ef37.js} +1 -1
  96. package/dist/cjs/{htmlMode-1424a4cb.js → htmlMode-d8465240.js} +1 -1
  97. package/dist/cjs/index.cjs.js +1 -1
  98. package/dist/cjs/{javascript-3db1907e.js → javascript-7b74878f.js} +2 -2
  99. package/dist/cjs/{jsonMode-ee248f34.js → jsonMode-5d4d7d37.js} +1 -1
  100. package/dist/cjs/{tsMode-a87a551f.js → tsMode-f989c389.js} +1 -1
  101. package/dist/cjs/{typescript-e9500a0e.js → typescript-16065111.js} +1 -1
  102. package/dist/esm/{arcade-defaults-726be3ca.js → arcade-defaults-86bf04ed.js} +7 -7
  103. package/dist/esm/{arcade-mode-ca3279db.js → arcade-mode-a5fd2446.js} +1 -1
  104. package/dist/esm/arcgis-arcade-api_6.entry.js +2 -2
  105. package/dist/esm/{cssMode-1cdb4e06.js → cssMode-b190bc7f.js} +1 -1
  106. package/dist/esm/{html-aacbe5d8.js → html-0749d9b9.js} +1 -1
  107. package/dist/esm/{htmlMode-1263001c.js → htmlMode-d714b14b.js} +1 -1
  108. package/dist/esm/index.js +1 -1
  109. package/dist/esm/{javascript-ca616cc1.js → javascript-49d5a953.js} +2 -2
  110. package/dist/esm/{jsonMode-7c342af0.js → jsonMode-f36dbe4d.js} +1 -1
  111. package/dist/esm/{tsMode-c14db833.js → tsMode-fe00e707.js} +1 -1
  112. package/dist/esm/{typescript-1f9217c5.js → typescript-d133c2e9.js} +1 -1
  113. package/package.json +6 -6
@@ -229,7 +229,7 @@
229
229
  "name": "average",
230
230
  "bundle": "data-access",
231
231
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#average",
232
- "description": "傳回 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位的平均值。",
232
+ "description": "傳回 FeatureSet 中給定數值欄位的平均值。",
233
233
  "examples": "\n##### 範例\n\n計算圖徵的人口,與圖層中所有圖徵的平均人口之間的差\n\n```arcade\n$feature.population - Average($layer, 'population')\n```\n\n計算圖層中所有圖徵之每平方英哩的平均人口\n\n```arcade\nAverage($layer, 'population / area')\n```\n\n",
234
234
  "completion": {
235
235
  "label": "Average",
@@ -240,7 +240,7 @@
240
240
  "kind": 3,
241
241
  "documentation": {
242
242
  "kind": "markdown",
243
- "value": "傳回 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位的平均值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
243
+ "value": "傳回 FeatureSet 中給定數值欄位的平均值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
244
244
  }
245
245
  },
246
246
  "parametersInfo": {
@@ -339,7 +339,7 @@
339
339
  "kind": 3,
340
340
  "documentation": {
341
341
  "kind": "markdown",
342
- "value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指派給提供之 `featureSet` 的指定欄位的網域。 如果 `featureSet` 屬於含子類型的類別,則將傳回指派給子類型的網域。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 其圖徵包含具有網域之欄位的 FeatureSet。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 包含網域的欄位名稱 (非欄位的別名)。\n- **subtype** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 如果圖徵支援子類型,則為子類型的編碼值。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回下列屬性所說明的字典。\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域的類型 - `codedValue` 或 `range`。\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域名稱。\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域欄位的資料類型。 它可以是以下值之一: `esriFieldTypeSmallInteger`、`esriFieldTypeInteger`、`esriFieldTypeSingle`、`esriFieldTypeDouble`、 `esriFieldTypeString`、`esriFieldTypeDate`、`esriFieldTypeOID`、`esriFieldTypeGeometry`、`esriFieldTypeBlob`、 `esriFieldTypeRaster`、`esriFieldTypeGUID`、`esriFieldTypeGlobalID`、`esriFieldTypeXML`。\n- **min**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最小值。\n- **max**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最大值。\n- **codedValues**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - 僅適用於 `codedValue` 網域。 說明欄位之有效值的字典陣列。 每個字典都有一個 `code` 屬性,其中包含實際的欄位值, 和一個 `name` 屬性,其中包含值的使用者易記描述 (例如 `{ code: 1, name: \\\"pavement\\\" }`)。"
342
+ "value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指派給提供之 `featureSet` 的指定欄位的網域。 如果 `featureSet` 屬於含子類型的類別,則將傳回指派給子類型的網域。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 其圖徵包含具有網域之欄位的 FeatureSet。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 包含網域的欄位名稱 (非欄位的別名)。\n- **subtype** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 如果圖徵支援子類型,則為子類型的編碼值。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回下列屬性所說明的字典。\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域的類型 - `codedValue` 或 `range`。\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域名稱。\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域欄位的資料類型。 它可以是以下值之一: `esriFieldTypeSmallInteger`、`esriFieldTypeInteger`、`esriFieldTypeBigInteger`、`esriFieldTypeSingle`、`esriFieldTypeDouble`、 `esriFieldTypeString`、`esriFieldTypeDate`、`esriFieldTypeOID`、`esriFieldTypeGeometry`、`esriFieldTypeBlob`、 `esriFieldTypeRaster`、`esriFieldTypeGUID`、`esriFieldTypeGlobalID`、`esriFieldTypeXML`。\n- **min**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最小值。\n- **max**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最大值。\n- **codedValues**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - 僅適用於 `codedValue` 網域。 說明欄位之有效值的字典陣列。 每個字典都有一個 `code` 屬性,其中包含實際的欄位值, 和一個 `name` 屬性,其中包含值的使用者易記描述 (例如 `{ code: 1, name: \\\"pavement\\\" }`)。"
343
343
  }
344
344
  },
345
345
  "parametersInfo": {
@@ -580,8 +580,8 @@
580
580
  "bundle": "data-access",
581
581
  "sinceVersion": "1.24",
582
582
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
583
- "description": "Returns the related records for a given feature based on the name of a given relationship class.",
584
- "examples": "\n##### 範例\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
583
+ "description": "根據給定關係類別的名稱傳回給定圖徵的相關記錄。",
584
+ "examples": "\n##### 範例\n\n傳回桿檢查相關紀錄的計數\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
585
585
  "completion": {
586
586
  "label": "FeatureSetByRelationshipClass",
587
587
  "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
@@ -591,7 +591,7 @@
591
591
  "kind": 3,
592
592
  "documentation": {
593
593
  "kind": "markdown",
594
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature based on the name of a given relationship class.\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The name of the relationship class as defined in the data source.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**返回值**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
594
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據給定關係類別的名稱傳回給定圖徵的相關記錄。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 從中擷取相關記錄的圖徵。\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 在資料來源中定義的關係類別的名稱。\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要在 FeatureSet 中傳回的欄位。 此清單包含關係表和輸入圖徵的欄位。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指出是否傳回導出之圖徵的幾何。\n\n**返回值**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
595
595
  }
596
596
  },
597
597
  "parametersInfo": {
@@ -616,7 +616,7 @@
616
616
  "kind": 3,
617
617
  "documentation": {
618
618
  "kind": "markdown",
619
- "value": "**[自版本 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指定圖徵的相關記錄以作為 FeatureSet。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 從中擷取相關記錄的圖徵。 此圖徵必須來自圖徵服務;不支援圖徵集合。\n- **relationshipName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 根據指定圖徵的相關圖徵服務的關係名稱。\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要在 FeatureSet 中傳回的欄位。 此清單包含關係表和輸入圖徵的欄位。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指出是否傳回導出之圖徵的幾何。\n\n**返回值**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
619
+ "value": "**[自版本 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指定圖徵的相關記錄以作為 FeatureSet。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 針對其擷取相關記錄的圖徵。\n- **relationshipName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 根據指定圖徵的相關圖徵服務的關係名稱。\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要在 FeatureSet 中傳回的欄位。 此清單包含關係表和輸入圖徵的欄位。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指出是否傳回導出之圖徵的幾何。\n\n**返回值**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
620
620
  }
621
621
  },
622
622
  "parametersInfo": {
@@ -679,7 +679,7 @@
679
679
  "bundle": "data-access",
680
680
  "sinceVersion": "1.12",
681
681
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#gdbversion",
682
- "description": "傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。 有關詳細資訊,請參閱 [版本設定概觀](https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.htm)。",
682
+ "description": "傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。",
683
683
  "examples": "\n##### 範例\n\n傳回指定 FeatureSet 的地理資料庫版本\n\n```arcade\nGdbVersion($layer)\n```\n\n",
684
684
  "completion": {
685
685
  "label": "GdbVersion",
@@ -690,7 +690,7 @@
690
690
  "kind": 3,
691
691
  "documentation": {
692
692
  "kind": "markdown",
693
- "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。 有關詳細資訊,請參閱 [版本設定概觀](https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.htm)。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 要從中傳回目前地理資料庫版本的 FeatureSe。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
693
+ "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 要從中傳回目前地理資料庫版本的 FeatureSe。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
694
694
  }
695
695
  },
696
696
  "parametersInfo": {
@@ -906,7 +906,7 @@
906
906
  "bundle": "data-access",
907
907
  "sinceVersion": "1.7",
908
908
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#lengthgeodetic",
909
- "description": "以指定的單位傳回輸入 FeatureSet 的大地長度。 這是比 [Length()](#length) 更可靠的長度測量, 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
909
+ "description": "以指定的單位傳回輸入 FeatureSet 的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
910
910
  "examples": "\n##### 範例\n\n以公尺傳回圖層的大地長度\n\n```arcade\nLengthGeodetic($layer, 'meters')\n```\n\n",
911
911
  "completion": {
912
912
  "label": "LengthGeodetic",
@@ -917,7 +917,7 @@
917
917
  "kind": 3,
918
918
  "documentation": {
919
919
  "kind": "markdown",
920
- "value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的大地長度。 這是比 [Length()](#length) 更可靠的長度測量, 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算大地長度的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
920
+ "value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算大地長度的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
921
921
  }
922
922
  },
923
923
  "parametersInfo": {
@@ -930,7 +930,7 @@
930
930
  "name": "max",
931
931
  "bundle": "data-access",
932
932
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#max",
933
- "description": "傳回 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位的最高值。",
933
+ "description": "傳回 FeatureSet 中給定數值欄位的最高值。",
934
934
  "examples": "\n##### 範例\n\n針對圖層中的所有圖徵列印人口欄位的最大值\n\n```arcade\nMax($layer, 'population')\n```\n\n計算圖層中所有圖徵之每平方英哩的人口上限\n\n```arcade\nMax($layer, 'population / area')\n```\n\n",
935
935
  "completion": {
936
936
  "label": "Max",
@@ -941,7 +941,7 @@
941
941
  "kind": 3,
942
942
  "documentation": {
943
943
  "kind": "markdown",
944
- "value": "傳回 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位的最高值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
944
+ "value": "傳回 FeatureSet 中給定數值欄位的最高值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
945
945
  }
946
946
  },
947
947
  "parametersInfo": {
@@ -955,7 +955,7 @@
955
955
  "bundle": "data-access",
956
956
  "sinceVersion": "1.1",
957
957
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#mean",
958
- "description": "傳回 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位的平均值。",
958
+ "description": "傳回 FeatureSet 中給定數值欄位的平均值。",
959
959
  "examples": "\n##### 範例\n\n計算圖徵的人口,與圖層中所有圖徵的平均人口之間的差\n\n```arcade\n$feature.population - Mean($layer, 'population')\n```\n\n計算圖層中所有圖徵之每平方英哩的平均人口\n\n```arcade\nMean($layer, 'population / area')\n```\n\n",
960
960
  "completion": {
961
961
  "label": "Mean",
@@ -966,7 +966,7 @@
966
966
  "kind": 3,
967
967
  "documentation": {
968
968
  "kind": "markdown",
969
- "value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位的平均值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算平均值的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
969
+ "value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回 FeatureSet 中給定數值欄位的平均值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算平均值的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
970
970
  }
971
971
  },
972
972
  "parametersInfo": {
@@ -979,7 +979,7 @@
979
979
  "name": "min",
980
980
  "bundle": "data-access",
981
981
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#min",
982
- "description": "傳回 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位的最低值。",
982
+ "description": "傳回 FeatureSet 中給定數值欄位的最低值。",
983
983
  "examples": "\n##### 範例\n\n針對圖層中的所有圖徵列印人口欄位的最小值\n\n```arcade\nMin($layer, 'population')\n```\n\n傳回圖層中所有圖徵的每平方英哩的人口下限\n\n```arcade\nMin($layer, 'population / area')\n```\n\n",
984
984
  "completion": {
985
985
  "label": "Min",
@@ -990,7 +990,7 @@
990
990
  "kind": 3,
991
991
  "documentation": {
992
992
  "kind": "markdown",
993
- "value": "傳回 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位的最低值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
993
+ "value": "傳回 FeatureSet 中給定數值欄位的最低值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
994
994
  }
995
995
  },
996
996
  "parametersInfo": {
@@ -1078,7 +1078,7 @@
1078
1078
  "name": "stdev",
1079
1079
  "bundle": "data-access",
1080
1080
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#stdev",
1081
- "description": "從 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位中傳回值的標準差。",
1081
+ "description": "從 FeatureSet 中給定數值欄位中傳回值的標準差。",
1082
1082
  "examples": "\n##### 範例\n\n從 'population' 欄位列印值的標準差\n\n```arcade\nStdev($layer, 'population')\n```\n\n計算圖層中所有圖徵之每平方英哩的人口標準差\n\n```arcade\nStdev($layer, 'population / area')\n```\n\n",
1083
1083
  "completion": {
1084
1084
  "label": "Stdev",
@@ -1089,7 +1089,7 @@
1089
1089
  "kind": 3,
1090
1090
  "documentation": {
1091
1091
  "kind": "markdown",
1092
- "value": "從 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位中傳回值的標準差。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1092
+ "value": "從 FeatureSet 中給定數值欄位中傳回值的標準差。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1093
1093
  }
1094
1094
  },
1095
1095
  "parametersInfo": {
@@ -1127,7 +1127,7 @@
1127
1127
  "name": "sum",
1128
1128
  "bundle": "data-access",
1129
1129
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#sum",
1130
- "description": "傳回 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位所傳回的值總和。",
1130
+ "description": "傳回 FeatureSet 中給定數值欄位所傳回的值總和。",
1131
1131
  "examples": "\n##### 範例\n\n計算目前圖徵的人口,導出該人口佔圖層中所有圖徵的總人口之 %\n\n```arcade\n( $feature.population / Sum($layer, 'population') ) * 100\n```\n\n針對整個資料集計算選舉中投票的總票數\n\n```arcade\nSum($layer, 'democrat + republican + other')\n```\n\n",
1132
1132
  "completion": {
1133
1133
  "label": "Sum",
@@ -1138,7 +1138,7 @@
1138
1138
  "kind": 3,
1139
1139
  "documentation": {
1140
1140
  "kind": "markdown",
1141
- "value": "傳回 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位所傳回的值總和。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1141
+ "value": "傳回 FeatureSet 中給定數值欄位所傳回的值總和。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1142
1142
  }
1143
1143
  },
1144
1144
  "parametersInfo": {
@@ -1201,7 +1201,7 @@
1201
1201
  "name": "variance",
1202
1202
  "bundle": "data-access",
1203
1203
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#variance",
1204
- "description": "從 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位中傳回值的方差。",
1204
+ "description": "從 FeatureSet 中給定數值欄位中傳回值的方差。",
1205
1205
  "examples": "\n##### 範例\n\n列印指定圖層中人口欄位的變異\n\n```arcade\nVariance($layer, 'population')\n```\n\n計算圖層中所有圖徵之每平方英哩的人口變異\n\n```arcade\nVariance($layer, 'population / area')\n```\n\n",
1206
1206
  "completion": {
1207
1207
  "label": "Variance",
@@ -1212,7 +1212,7 @@
1212
1212
  "kind": 3,
1213
1213
  "documentation": {
1214
1214
  "kind": "markdown",
1215
- "value": "從 [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) 中給定數值欄位中傳回值的方差。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1215
+ "value": "從 FeatureSet 中給定數值欄位中傳回值的方差。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1216
1216
  }
1217
1217
  },
1218
1218
  "parametersInfo": {
@@ -1323,7 +1323,7 @@
1323
1323
  "kind": 3,
1324
1324
  "documentation": {
1325
1325
  "kind": "markdown",
1326
- "value": "**[自版本 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n提供有關執行 Arcade 表達式的內容和環境的資訊。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回包含以下屬性的字典。 傳回的屬性可能因執行 Arcade 表達式的位置而異,因此建議使用 [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) 函數以確保存在所需的環境屬性。\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade 版本。 有關版本化的詳細資訊,請參閱 [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/)。\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的引擎。 可能的值: `web`、`native`、`jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的引擎版本。 有關版本化的詳細資訊,請參閱 [版本矩陣](https://developers.arcgis.com/arcade/guide/version-matrix/)。\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的應用程式。 由應用程式開發者設定此值。 因此,此屬性可能為空,具體取決於執行表達式的應用程式。\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用戶端或系統的區域設定。\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Arcade 上下文的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 空間參考的已知 ID。\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
1326
+ "value": "**[自版本 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n提供有關執行 Arcade 表達式的內容和環境的資訊。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回包含以下屬性的字典。 傳回的屬性可能因執行 Arcade 表達式的位置而異,因此建議使用 `HasValue` 函數以確保存在所需的環境屬性。\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade 版本。 有關版本化的詳細資訊,請參閱 Arcade 版本矩陣。\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的引擎。 可能的值: `web`、`native`、`jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的引擎版本。 有關版本化的詳細資訊,請參閱 Arcade 版本矩陣。\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的應用程式。 由應用程式開發者設定此值。 因此,此屬性可能為空,具體取決於執行表達式的應用程式。\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用戶端或系統的區域設定。\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Arcade 上下文的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 空間參考的已知 ID。\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 開始_ 表達式的執行內容的預設時區。 如果未另外指定時區,則在建構和顯示日期值時使用此值。"
1327
1327
  }
1328
1328
  },
1329
1329
  "parametersInfo": {
@@ -1462,7 +1462,7 @@
1462
1462
  "kind": 3,
1463
1463
  "documentation": {
1464
1464
  "kind": "markdown",
1465
- "value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指派給提供之 `feature` 的指定欄位的網域。 如果 `feature` 屬於含子類型的類別,則將傳回指派給子類型的網域。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 包含具有網域之欄位的圖徵。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 被指派網域的欄位名稱 (非欄位的別名)。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回下列屬性所說明的字典。\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域的類型 - `codedValue` 或 `range`。\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域名稱。\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域欄位的資料類型。 它可以是以下值之一: `esriFieldTypeSmallInteger`、`esriFieldTypeInteger`、`esriFieldTypeSingle`、`esriFieldTypeDouble`、`esriFieldTypeString`、 `esriFieldTypeDate`、`esriFieldTypeOID`、`esriFieldTypeGeometry`、`esriFieldTypeBlob`、`esriFieldTypeRaster`、 `esriFieldTypeGUID`、`esriFieldTypeGlobalID`、`esriFieldTypeXML`。\n- **codedValues**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - 僅適用於 `codedValue` 網域。 說明欄位之有效值的字典陣列。 每個字典都有一個 `code` 屬性,其中包含實際的欄位值, 和一個 `name` 屬性,其中包含值的使用者易記描述 (例如 `{ code: 1, name: \\\"pavement\\\" }`)。\n- **min**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最小值。\n- **max**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最大值。"
1465
+ "value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指派給提供之 `feature` 的指定欄位的網域。 如果 `feature` 屬於含子類型的類別,則將傳回指派給子類型的網域。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 包含具有網域之欄位的圖徵。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 被指派網域的欄位名稱 (非欄位的別名)。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回下列屬性所說明的字典。\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域的類型 - `codedValue` 或 `range`。\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域名稱。\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域欄位的資料類型。 它可以是以下值之一: `esriFieldTypeSmallInteger`、`esriFieldTypeInteger`、`esriFieldTypeBigInteger`、`esriFieldTypeSingle`、`esriFieldTypeDouble`、`esriFieldTypeString`, `esriFieldTypeDate`、`esriFieldTypeOID`、`esriFieldTypeGeometry`、`esriFieldTypeBlob`、`esriFieldTypeRaster`、 `esriFieldTypeGUID`、`esriFieldTypeGlobalID`、`esriFieldTypeXML`。\n- **codedValues**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - 僅適用於 `codedValue` 網域。 說明欄位之有效值的字典陣列。 每個字典都有一個 `code` 屬性,其中包含實際的欄位值, 和一個 `name` 屬性,其中包含值的使用者易記描述 (例如 `{ code: 1, name: \\\"pavement\\\" }`)。\n- **min**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最小值。\n- **max**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最大值。"
1466
1466
  }
1467
1467
  },
1468
1468
  "parametersInfo": {
@@ -1675,7 +1675,7 @@
1675
1675
  "bundle": "core",
1676
1676
  "sinceVersion": "1.12",
1677
1677
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#gdbversion",
1678
- "description": "傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。 有關詳細資訊,請參閱 [版本設定概觀](https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.htm)。",
1678
+ "description": "傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。",
1679
1679
  "examples": "\n##### 範例\n\n傳回指定圖徵的地理資料庫版本\n\n```arcade\nGdbVersion($feature)\n```\n\n",
1680
1680
  "completion": {
1681
1681
  "label": "GdbVersion",
@@ -1686,7 +1686,7 @@
1686
1686
  "kind": 3,
1687
1687
  "documentation": {
1688
1688
  "kind": "markdown",
1689
- "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。 有關詳細資訊,請參閱 [版本設定概觀](https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.htm)。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要從中傳回相關聯圖層的目前地理資料庫版本的圖徵。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1689
+ "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要從中傳回相關聯圖層的目前地理資料庫版本的圖徵。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1690
1690
  }
1691
1691
  },
1692
1692
  "parametersInfo": {
@@ -2443,7 +2443,7 @@
2443
2443
  "bundle": "geometry",
2444
2444
  "sinceVersion": "1.11",
2445
2445
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#densifygeodetic",
2446
- "description": "藉由插入頂點來建立不超過指定間隔的線段,使用大地線以緻密化幾何。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**",
2446
+ "description": "在每個輸入幾何的頂點之間建立測地線,並使用附加頂點來緻密化輸出幾何,以建立不長於指定間隔的線段。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**",
2447
2447
  "examples": "\n##### 範例\n\n傳回線段長度上限為 10000 的緻密化幾何\n\n```arcade\nDensifyGeodetic($feature, 10000, 'meters');\n```\n\n",
2448
2448
  "completion": {
2449
2449
  "label": "DensifyGeodetic",
@@ -2454,7 +2454,7 @@
2454
2454
  "kind": 3,
2455
2455
  "documentation": {
2456
2456
  "kind": "markdown",
2457
- "value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n藉由插入頂點來建立不超過指定間隔的線段,使用大地線以緻密化幾何。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要緻密化的輸入幾何。\n- **maxSegmentLength**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 允許的最大線段長度。 必須是正值。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - maxSegmentLength 的測量單位。 預設為輸入幾何的單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry)"
2457
+ "value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n在每個輸入幾何的頂點之間建立測地線,並使用附加頂點來緻密化輸出幾何,以建立不長於指定間隔的線段。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要緻密化的輸入幾何。\n- **maxSegmentLength**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 允許的最大線段長度。 必須是正值。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - maxSegmentLength 的測量單位。 預設為輸入幾何的單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry)"
2458
2458
  }
2459
2459
  },
2460
2460
  "parametersInfo": {
@@ -2543,7 +2543,7 @@
2543
2543
  "bundle": "geometry",
2544
2544
  "sinceVersion": "1.8",
2545
2545
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancegeodetic",
2546
- "description": "計算一個大圓形沿線兩點之間的最短距離。 僅適用於含地理座標系統 (GCS) 或 Web Mercator 空間參考的點。 若輸入點具有投影的座標系統 (不同於 Web Mercator),則應使用 [distance](#distance) 方法。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
2546
+ "description": "計算一個大圓形沿線兩點之間的最短距離。 僅適用於含地理座標系統 (GCS) 或 Web Mercator 空間參考的點。 若輸入點具有投影的座標系統 (不同於 Web Mercator),則應使用 `Distance()` 函數。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
2547
2547
  "examples": "\n##### 範例\n\n以公里為單位,傳回串流圖層中某台巴士與中央車站的距離\n\n```arcade\nvar unionStation = Point({\"x\": -118.15, \"y\": 33.80, \"spatialReference\": { \"wkid\": 3857 }});\ndistanceGeodetic($feature, unionStation, 'kilometers');\n```\n\n",
2548
2548
  "completion": {
2549
2549
  "label": "DistanceGeodetic",
@@ -2554,7 +2554,7 @@
2554
2554
  "kind": 3,
2555
2555
  "documentation": {
2556
2556
  "kind": "markdown",
2557
- "value": "**[自版本 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n計算一個大圓形沿線兩點之間的最短距離。 僅適用於含地理座標系統 (GCS) 或 Web Mercator 空間參考的點。 若輸入點具有投影的座標系統 (不同於 Web Mercator),則應使用 [distance](#distance) 方法。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **point1**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 用來測量與 `point2` 之距離的點。 此點必須具有 GCS 或 Web Mercator 空間參考。\n- **point2**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 用來測量與 `point1` 之距離的點。 此點必須具有 GCS 或 Web Mercator 空間參考。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2557
+ "value": "**[自版本 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n計算一個大圓形沿線兩點之間的最短距離。 僅適用於含地理座標系統 (GCS) 或 Web Mercator 空間參考的點。 若輸入點具有投影的座標系統 (不同於 Web Mercator),則應使用 `Distance()` 函數。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **point1**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 用來測量與 `point2` 之距離的點。 此點必須具有 GCS 或 Web Mercator 空間參考。\n- **point2**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 用來測量與 `point1` 之距離的點。 此點必須具有 GCS 或 Web Mercator 空間參考。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2558
2558
  }
2559
2559
  },
2560
2560
  "parametersInfo": {
@@ -2666,7 +2666,7 @@
2666
2666
  "name": "extent",
2667
2667
  "bundle": "geometry",
2668
2668
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#extent3",
2669
- "description": "從序列化的 JSON 文字建構範圍物件。 JSON 方案必須遵循 [封套幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#ENVELOPE)。",
2669
+ "description": "從序列化的 JSON 文字建構範圍物件。 JSON 結構描述必須遵循包絡矩形物件的 ArcGIS REST API JSON 規格。",
2670
2670
  "examples": "\n##### 範例\n\n從 JSON 建立範圍物件\n\n```arcade\nvar extentJSON = '{\"xmin\": -109.55, \"ymin\": 25.76, \"xmax\": -86.39, \"ymax\": 49.94, \"spatialReference\": { \"wkid\": 3857 }}';\nExtent(extentJSON);\n```\n\n",
2671
2671
  "completion": {
2672
2672
  "label": "Extent",
@@ -2677,7 +2677,7 @@
2677
2677
  "kind": 3,
2678
2678
  "documentation": {
2679
2679
  "kind": "markdown",
2680
- "value": "從序列化的 JSON 文字建構範圍物件。 JSON 方案必須遵循 [封套幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#ENVELOPE)。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構範圍物件的 JSON 文字。\n\n**返回值**: [Extent](https://developers.arcgis.com/arcade/guide/types/#extent)"
2680
+ "value": "從序列化的 JSON 文字建構範圍物件。 JSON 結構描述必須遵循包絡矩形物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構範圍物件的 JSON 文字。\n\n**返回值**: [Extent](https://developers.arcgis.com/arcade/guide/types/#extent)"
2681
2681
  }
2682
2682
  },
2683
2683
  "parametersInfo": {
@@ -2716,7 +2716,7 @@
2716
2716
  "name": "geometry",
2717
2717
  "bundle": "geometry",
2718
2718
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#geometry",
2719
- "description": "從序列化的 JSON 文字或字典建構幾何物件。 JSON 結構描述必須遵循 [幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm)。 此函數也必須傳回輸入圖徵的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
2719
+ "description": "從序列化的 JSON 文字或字典建構幾何物件。 JSON 結構描述必須遵循幾何物件的 ArcGIS REST API JSON 規格。 此函數也必須傳回輸入圖徵的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
2720
2720
  "examples": "\n##### 範例\n\n傳回圖徵的幾何\n\n```arcade\nGeometry($feature)\n```\n\n建構點幾何 可使用任何幾何類型完成此工作。\n\n```arcade\nvar pointJSON = {\"x\": -118.15, \"y\": 33.80, \"spatialReference\": { \"wkid\": 3857 } };\nGeometry(pointJSON);\n```\n\n",
2721
2721
  "completion": {
2722
2722
  "label": "Geometry",
@@ -2727,7 +2727,7 @@
2727
2727
  "kind": 3,
2728
2728
  "documentation": {
2729
2729
  "kind": "markdown",
2730
- "value": "從序列化的 JSON 文字或字典建構幾何物件。 JSON 結構描述必須遵循 [幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm)。 此函數也必須傳回輸入圖徵的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構幾何物件的圖徵或 JSON。\n\n**返回值**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry)"
2730
+ "value": "從序列化的 JSON 文字或字典建構幾何物件。 JSON 結構描述必須遵循幾何物件的 ArcGIS REST API JSON 規格。 此函數也必須傳回輸入圖徵的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構幾何物件的圖徵或 JSON。\n\n**返回值**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry)"
2731
2731
  }
2732
2732
  },
2733
2733
  "parametersInfo": {
@@ -2891,7 +2891,7 @@
2891
2891
  "bundle": "geometry",
2892
2892
  "sinceVersion": "1.7",
2893
2893
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#lengthgeodetic",
2894
- "description": "以指定的單位傳回輸入幾何或圖徵的大地長度。 這是比 [Length()](#length) 更可靠的長度測量, 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
2894
+ "description": "以指定的單位傳回輸入幾何或圖徵的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
2895
2895
  "examples": "\n##### 範例\n\n以公里傳回圖徵的大地長度\n\n```arcade\nLengthGeodetic($feature, 'kilometers')\n```\n\n",
2896
2896
  "completion": {
2897
2897
  "label": "LengthGeodetic",
@@ -2902,7 +2902,7 @@
2902
2902
  "kind": 3,
2903
2903
  "documentation": {
2904
2904
  "kind": "markdown",
2905
- "value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的大地長度。 這是比 [Length()](#length) 更可靠的長度測量, 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算大地長度的幾何。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2905
+ "value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算大地長度的幾何。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2906
2906
  }
2907
2907
  },
2908
2908
  "parametersInfo": {
@@ -2989,7 +2989,7 @@
2989
2989
  "name": "multipoint",
2990
2990
  "bundle": "geometry",
2991
2991
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#multipoint3",
2992
- "description": "從序列化的 JSON 文字建構多點物件。 JSON 方案必須遵循 [多點幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#MULTIPOINT)",
2992
+ "description": "從序列化的 JSON 文字建構多點物件。 JSON 結構描述必須遵循多點物件的 ArcGIS REST API JSON 規格。",
2993
2993
  "examples": "\n##### 範例\n\n\n\n```arcade\n// Creates a Multipoint object\nvar multipointJSON = '{\"points\": [[-97.06138,32.837],[-97.06133,32.836],[-97.06124,32.834],[-97.06127,32.832]],\"spatialReference\" : { \"wkid\": 3857 }}';\nMultipoint(multipointJSON);\n```\n\n",
2994
2994
  "completion": {
2995
2995
  "label": "Multipoint",
@@ -3000,7 +3000,7 @@
3000
3000
  "kind": 3,
3001
3001
  "documentation": {
3002
3002
  "kind": "markdown",
3003
- "value": "從序列化的 JSON 文字建構多點物件。 JSON 方案必須遵循 [多點幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#MULTIPOINT)\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構多點幾何物件的 JSON。\n\n**返回值**: [Multipoint](https://developers.arcgis.com/arcade/guide/types/#multipoint)"
3003
+ "value": "從序列化的 JSON 文字建構多點物件。 JSON 結構描述必須遵循多點物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構多點幾何物件的 JSON。\n\n**返回值**: [Multipoint](https://developers.arcgis.com/arcade/guide/types/#multipoint)"
3004
3004
  }
3005
3005
  },
3006
3006
  "parametersInfo": {
@@ -3016,7 +3016,7 @@
3016
3016
  "sinceVersion": "1.23",
3017
3017
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#nearestcoordinate",
3018
3018
  "description": "將輸入幾何的最近座標 (不是頂點) 傳回到搜尋點。 傳回的字典還包括搜尋點到最近座標的最短平面距離。 如果搜尋點與輸入幾何相交,則搜尋點作為結果傳回,距離為零。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
3019
- "examples": "\n##### 範例\n\n傳回距輸入多邊形最近的折點,以及到該折點的距離\n\n```arcade\nvar buildings = FeatureSetByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n 0,\n ['*'],\n true\n);\n\nvar nearestBuilding = First(Intersects(buildings, BufferGeodetic($feature, 100, \"feet\")));\n\nvar result = NearestCoordinate(nearestBuilding, $feature);\n\nreturn result.distance;\n\n// or\n\nreturn result.coordinate;\n```\n\n",
3019
+ "examples": "\n##### 範例\n\n傳回距輸入多邊形最近的座標,以及到該座標的距離\n\n```arcade\nvar buildings = FeatureSetByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n 0,\n ['*'],\n true\n);\n\nvar nearestBuilding = First(Intersects(buildings, BufferGeodetic($feature, 100, \"feet\")));\n\nvar result = NearestCoordinate(nearestBuilding, $feature);\n\nreturn result.distance;\n\n// or\n\nreturn result.coordinate;\n```\n\n",
3020
3020
  "completion": {
3021
3021
  "label": "NearestCoordinate",
3022
3022
  "detail": "NearestCoordinate(inputGeometry, searchPoint) -> Dictionary",
@@ -3139,7 +3139,7 @@
3139
3139
  "name": "point",
3140
3140
  "bundle": "geometry",
3141
3141
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#point2",
3142
- "description": "從序列化的 JSON 文字建構點物件。 JSON 方案必須遵循 [點幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#POINT)。",
3142
+ "description": "從序列化的 JSON 文字建構點物件。 JSON 結構描述必須遵循點物件的 ArcGIS REST API JSON 規格。",
3143
3143
  "examples": "\n##### 範例\n\n\n\n```arcade\n// Creates a Point object\nvar pointJSON = '{ \"x\": -118.15, \"y\": 33.80, \"spatialReference\": { \"wkid\": 3857 }}';\nPoint(pointJSON)\n```\n\n",
3144
3144
  "completion": {
3145
3145
  "label": "Point",
@@ -3150,7 +3150,7 @@
3150
3150
  "kind": 3,
3151
3151
  "documentation": {
3152
3152
  "kind": "markdown",
3153
- "value": "從序列化的 JSON 文字建構點物件。 JSON 方案必須遵循 [點幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#POINT)。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構點幾何物件的 JSON。\n\n**返回值**: [Point](https://developers.arcgis.com/arcade/guide/types/#point)"
3153
+ "value": "從序列化的 JSON 文字建構點物件。 JSON 結構描述必須遵循點物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構點幾何物件的 JSON。\n\n**返回值**: [Point](https://developers.arcgis.com/arcade/guide/types/#point)"
3154
3154
  }
3155
3155
  },
3156
3156
  "parametersInfo": {
@@ -3213,7 +3213,7 @@
3213
3213
  "name": "polygon",
3214
3214
  "bundle": "geometry",
3215
3215
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#polygon3",
3216
- "description": "從序列化的 JSON 文字建構多邊形物件。 JSON 方案必須遵循 [多邊形幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#POLYGON)。",
3216
+ "description": "從序列化的 JSON 文字建構多邊形物件。 JSON 結構描述必須遵循多邊形物件的 ArcGIS REST API JSON 規格。",
3217
3217
  "examples": "\n##### 範例\n\n\n\n```arcade\n// Creates a Polygon object\nvar polygonJSON = '{\"rings\": [[[-97.06138,32.837],[-97.06133,32.836],[-97.06124,32.834],[-97.06127,32.832], [-97.06138,32.837]],[[-97.06326,32.759],[-97.06298,32.755],[-97.06153,32.749], [-97.06326,32.759]]],\"spatialReference\": { \"wkid\": 3857 }}';\nPolygon(polygonJSON);\n```\n\n",
3218
3218
  "completion": {
3219
3219
  "label": "Polygon",
@@ -3224,7 +3224,7 @@
3224
3224
  "kind": 3,
3225
3225
  "documentation": {
3226
3226
  "kind": "markdown",
3227
- "value": "從序列化的 JSON 文字建構多邊形物件。 JSON 方案必須遵循 [多邊形幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#POLYGON)。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構多邊形幾何物件的 JSON。\n\n**返回值**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon)"
3227
+ "value": "從序列化的 JSON 文字建構多邊形物件。 JSON 結構描述必須遵循多邊形物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構多邊形幾何物件的 JSON。\n\n**返回值**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon)"
3228
3228
  }
3229
3229
  },
3230
3230
  "parametersInfo": {
@@ -3287,7 +3287,7 @@
3287
3287
  "name": "polyline",
3288
3288
  "bundle": "geometry",
3289
3289
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#polyline3",
3290
- "description": "從序列化的 JSON 文字建構折線物件。 JSON 結構描述必須遵循 [折線幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#POLYLINE)。",
3290
+ "description": "從序列化的 JSON 文字建構折線物件。 JSON 結構描述必須遵循折線物件的 ArcGIS REST API JSON 規格。",
3291
3291
  "examples": "\n##### 範例\n\n\n\n```arcade\n// Creates a Polyline object\nvar polylineJSON = '{\"paths\": [[[-97.06138,32.837],[-97.06133,32.836],[-97.06124,32.834],[-97.06127,32.832]], [[-97.06326,32.759],[-97.06298,32.755]]], \"spatialReference\": { \"wkid\": 3857 } }'\nPolyline(polylineJSON);\n```\n\n",
3292
3292
  "completion": {
3293
3293
  "label": "Polyline",
@@ -3298,7 +3298,7 @@
3298
3298
  "kind": 3,
3299
3299
  "documentation": {
3300
3300
  "kind": "markdown",
3301
- "value": "從序列化的 JSON 文字建構折線物件。 JSON 結構描述必須遵循 [折線幾何的 ArcGIS REST API 格式](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#POLYLINE)。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構折線幾何物件的 JSON 文字。\n\n**返回值**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline)"
3301
+ "value": "從序列化的 JSON 文字建構折線物件。 JSON 結構描述必須遵循折線物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構折線幾何物件的 JSON 文字。\n\n**返回值**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline)"
3302
3302
  }
3303
3303
  },
3304
3304
  "parametersInfo": {
@@ -3873,7 +3873,7 @@
3873
3873
  "kind": 3,
3874
3874
  "documentation": {
3875
3875
  "kind": "markdown",
3876
- "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n為指定變數產生雜湊碼值。\n\n**參數**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 要進行雜湊的變數。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3876
+ "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n為指定變數產生雜湊碼值。\n\n**參數**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 要進行雜湊的變數。 從版本 1.24 開始支援 DateOnly 和時間值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3877
3877
  }
3878
3878
  },
3879
3879
  "parametersInfo": {
@@ -4134,7 +4134,7 @@
4134
4134
  "name": "round",
4135
4135
  "bundle": "core",
4136
4136
  "link": "https://developers.arcgis.com/arcade/function-reference/math_functions/#round",
4137
- "description": "傳回輸入值,捨去至指定的小數位數。 \n_附註: 如果您正在試著設定值格式,以便在標籤或快顯視窗中顯示,請使用 [text](../text_functions/#text) function。_",
4137
+ "description": "傳回輸入值,捨去至指定的小數位數。 \n_附註: 如果您正在試著設定值格式,以便在標籤或快顯視窗中顯示,請使用 `Text()` 函數。_",
4138
4138
  "examples": "\n##### 範例\n\nprints 2316.26\n\n```arcade\nRound(2316.2562, 2)\n```\n\n",
4139
4139
  "completion": {
4140
4140
  "label": "Round",
@@ -4145,7 +4145,7 @@
4145
4145
  "kind": 3,
4146
4146
  "documentation": {
4147
4147
  "kind": "markdown",
4148
- "value": "傳回輸入值,捨去至指定的小數位數。 \n_附註: 如果您正在試著設定值格式,以便在標籤或快顯視窗中顯示,請使用 [text](../text_functions/#text) function。_\n\n**參數**\n\n- **value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要捨去的數字。\n- **numPlaces** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要將數字捨去到的小數位數。 預設為 `0`。 將截斷尾端的零。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4148
+ "value": "傳回輸入值,捨去至指定的小數位數。 \n_附註: 如果您正在試著設定值格式,以便在標籤或快顯視窗中顯示,請使用 `Text()` 函數。_\n\n**參數**\n\n- **value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要捨去的數字。\n- **numPlaces** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要將數字捨去到的小數位數。 預設為 `0`。 將截斷尾端的零。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4149
4149
  }
4150
4150
  },
4151
4151
  "parametersInfo": {
@@ -4397,7 +4397,7 @@
4397
4397
  "kind": 3,
4398
4398
  "documentation": {
4399
4399
  "kind": "markdown",
4400
- "value": "將值串連在一起並傳回一個文字值。\n\n**參數**\n\n- **values** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要串連的文字值的陣列。\n- **separator** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 若 `values` 參數是陣列,則為使用於串連的分隔符號。 或若為第一個參數提供單一值,則為要串連的文字。 若未提供,則為空白。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 設定日期或數字的文字格式。 此參數適用於 Arcade 1.3 和更高版本。 \n可能值: \n - `0`: 數字 \n - `#`: 數字,省略前導/尾隨零 \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n - `h`: 平民小時,未填充 (0 - 12) \n - `hh`: 平民小時,填充 (00 - 12) \n - `H`: 軍事小時,未填充 (0 - 24) \n - `HH`: 軍事小時,填充 (00 - 24) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59)\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
4400
+ "value": "將值串連在一起並傳回一個文字值。\n\n**參數**\n\n- **values** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要串連的文字值的陣列。\n- **separator** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 若 `values` 參數是陣列,則為使用於串連的分隔符號。 或若為第一個參數提供單一值,則為要串連的文字。 若未提供,則為空白。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日期或數字的特殊格式字元。 此參數適用於 Arcade 1.3 和更高版本。 \n可能值: \n - `0`: 數字 \n - `#`: 數字,省略前導/尾隨零 \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n - `h`: 平民小時,未填充 (0 - 12) \n - `hh`: 平民小時,填充 (00 - 12) \n - `H`: 軍事小時,未填充 (0 - 24) \n - `HH`: 軍事小時,填充 (00 - 24) \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59) \n - `SSS`: 毫秒,已填補 (000 - 999) \n - `A`: AM/PM \n - `Z`: 狹窄時數內的時區偏移 +/- UTC (例如 `-7` 或 `+11`) \n - `ZZ`: 時數內的時區偏移 +/- UTC (例如 `-07:00` 或 `+11:00`) \n - `ZZZ`: 精簡時數內的時區偏移 +/- UTC (例如 `-0700` 或 `+1100`) \n - `ZZZZ`: 縮寫的指定時區 (例如 `EST`) \n - `ZZZZZ`: 指定的時區 (例如 `Eastern Standard Time`) \n\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
4401
4401
  }
4402
4402
  },
4403
4403
  "parametersInfo": {
@@ -4726,8 +4726,8 @@
4726
4726
  "name": "text",
4727
4727
  "bundle": "core",
4728
4728
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
4729
- "description": "將其引數轉換成文字值,並選擇性地設定其格式。 若失敗則傳回 `null`。",
4730
- "examples": "\n##### 範例\n\n將數字填補到的小數點左側\n\n```arcade\nText(123, '0000') // '0123'\n```\n\n限制小數點左側的數字\n\n```arcade\nText(123, '00') // '23'\n```\n\n按千位數分組數字\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\n將數字捨去為二位小數\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\n將數字格式設為貨幣\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\n將數字捨去為二位小數\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\n保留有效數字,並按千位數分組\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\n格式化數字和格式化正數/負數 - 若有負子模式,則只能指定負字首和字尾\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\n乘以 100 並設為百分比格式\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\n設定現在的日期和時間格式,例如 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n`datetime` 欄位中儲存的日期已經表示本地時間,但 Arcade 假定它是 UTC。 將本地時間偏移到 UTC 以避免兩次套用時區偏移。\n\n```arcade\nText(startDate, 'ddd, MMM D, Y h:mm:ss A ZZZZ')\n// returns Thu, Sep 14, 2023 10:04:49 AM PDT\n```\n\n",
4729
+ "description": "將任何值轉換為文字值。 提供可選的 `format` 參數以允許格式化日期和數字資料輸入。 如果無法確定等效的文字轉換,則傳回 `null`。",
4730
+ "examples": "\n##### 範例\n\n將數字填補到的小數點左側\n\n```arcade\nText(123, '0000') // '0123'\n```\n\n限制小數點左側的數字\n\n```arcade\nText(123, '00') // '23'\n```\n\n按千位數分組數字\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\n將數字捨去為二位小數\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\n將數字格式設為貨幣\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\n將數字捨去為二位小數\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\n保留有效數字,並按千位數分組\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\n格式化數字和格式化正數/負數 - 若有負子模式,則只能指定負字首和字尾\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\n乘以 100 並設為百分比格式\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\n設定現在的日期和時間格式,例如 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n使用時區格式化日期和時間\n\n```arcade\nText(startDate, 'ddd, MMM D, Y h:mm:ss A ZZZZ')\n// returns Thu, Sep 14, 2023 10:04:49 AM PDT\n```\n\n",
4731
4731
  "completion": {
4732
4732
  "label": "Text",
4733
4733
  "detail": "Text(value, format?) -> Text",
@@ -4737,7 +4737,7 @@
4737
4737
  "kind": 3,
4738
4738
  "documentation": {
4739
4739
  "kind": "markdown",
4740
- "value": "將其引數轉換成文字值,並選擇性地設定其格式。 若失敗則傳回 `null`。\n\n**參數**\n\n- **value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 要轉換成文字的值 (例如,日期、數字或其他類型)。 提供日期時,此函數假定日期/時間物件採用 UTC 格式, 並自動將值轉換為執行表達式之用戶端的本地時間。 如果從資料庫傳回的日期/時間值已表示本地時間, 那麼您應使用 `toUTC` 函數來避免套用額外偏移。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日期或數字的特殊格式字元。 \n可能值: \n - `0`: 數字 \n - `#`: 數字,省略前導/尾隨零 \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n - `h`: 平民小時,未填充 (0 - 12) \n - `hh`: 平民小時,填充 (00 - 12) \n - `H`: 軍事小時,未填充 (0 - 24) \n - `HH`: 軍事小時,填充 (00 - 24) \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59) \n - `A`: AM/PM\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
4740
+ "value": "將任何值轉換為文字值。 提供可選的 `format` 參數以允許格式化日期和數字資料輸入。 如果無法確定等效的文字轉換,則傳回 `null`。\n\n**參數**\n\n- **value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 要轉換為文字的值 (即日期、數字或其他資料類型)。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用於格式化日期或數字的特殊字元。 \n可能值: \n - `0`: 數字 \n - `#`: 數字,省略前導/尾隨零 \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n - `h`: 平民小時,未填充 (0 - 12) \n - `hh`: 平民小時,填充 (00 - 12) \n - `H`: 軍事小時,未填充 (0 - 24) \n - `HH`: 軍事小時,填充 (00 - 24) \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59) \n - `SSS`: 毫秒,已填補 (000 - 999) \n - `A`: AM/PM \n - `Z`: 狹窄時數內的時區偏移 +/- UTC (例如 `-7` 或 `+11`) \n - `ZZ`: 時數內的時區偏移 +/- UTC (例如 `-07:00` 或 `+11:00`) \n - `ZZZ`: 精簡時數內的時區偏移 +/- UTC (例如 `-0700` 或 `+1100`) \n - `ZZZZ`: 縮寫的指定時區 (例如 `EST`) \n - `ZZZZZ`: 指定的時區 (例如 `Eastern Standard Time`) \n\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
4741
4741
  }
4742
4742
  },
4743
4743
  "parametersInfo": {
@@ -4905,8 +4905,8 @@
4905
4905
  "bundle": "core",
4906
4906
  "sinceVersion": "1.24",
4907
4907
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
4908
- "description": "Changes the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.",
4909
- "examples": "\n##### 範例\n\nChanges the given Date's time zone from `America/New_York` to `America/Los_Angeles`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"America/New_York\")\nChangeTimeZone(inputDate, \"America/Los_Angeles\");\n// returns a Date representing Nov 11, 2011, 5:00:00 AM PST\n```\n\nAssigns a Date with an `unknown` time zone to a time offset of `+07:00`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"unknown\")\nChangeTimeZone(inputDate, \"+07:00\");\n// returns a Date representing Nov 11, 2011, 8:00:00 AM +07:00\n```\n\n",
4908
+ "description": "變更用於顯示給定日期值的時區。 如果輸入 `dateValue` 具有 `unknown` 時區,則輸出日期值將顯示與輸入 `dateValue` 相同的日期和時間,但會指派 `newTimeZone`。",
4909
+ "examples": "\n##### 範例\n\n將指定日期的時區從 `America/New_York` 變為 `America/Los_Angeles`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"America/New_York\")\nChangeTimeZone(inputDate, \"America/Los_Angeles\");\n// returns a Date representing Nov 11, 2011, 5:00:00 AM PST\n```\n\n將時區為 `unknown` 的日期指派給時間偏移 `+07:00`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"unknown\")\nChangeTimeZone(inputDate, \"+07:00\");\n// returns a Date representing Nov 11, 2011, 8:00:00 AM +07:00\n```\n\n",
4910
4910
  "completion": {
4911
4911
  "label": "ChangeTimeZone",
4912
4912
  "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
@@ -4916,7 +4916,7 @@
4916
4916
  "kind": 3,
4917
4917
  "documentation": {
4918
4918
  "kind": "markdown",
4919
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4919
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n變更用於顯示給定日期值的時區。 如果輸入 `dateValue` 具有 `unknown` 時區,則輸出日期值將顯示與輸入 `dateValue` 相同的日期和時間,但會指派 `newTimeZone`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 包含日期和時間資訊的日期值。\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 將用於顯示指定日期值的新時區。 時區必須是以下之一:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4920
4920
  }
4921
4921
  },
4922
4922
  "parametersInfo": {
@@ -4930,8 +4930,8 @@
4930
4930
  "name": "date",
4931
4931
  "bundle": "core",
4932
4932
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
4933
- "description": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.",
4934
- "examples": "\n##### 範例\n\nCreates a Date representing the given time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nCreates a Date with time defined in a specific time zone\n\n```arcade\nDate(1990, 10, 2, 2, 23, 0, 0, \"America/New_York\");\n // Date represents Nov 2, 1990, 2:23:00 AM EST\n```\n\n",
4933
+ "description": "從一組參數建立一個日期物件。 預設情況下,日期是在設定檔的執行內容的時區中建立的。",
4934
+ "examples": "\n##### 範例\n\n建立日期,表示執行 Arcade 的設定檔之執行內容的時區中的指定時間\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\n建立具有在特定時區中定義之時間的日期\n\n```arcade\nDate(1990, 10, 2, 2, 23, 0, 0, \"America/New_York\");\n // Date represents Nov 2, 1990, 2:23:00 AM EST\n```\n\n",
4935
4935
  "completion": {
4936
4936
  "label": "Date",
4937
4937
  "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
@@ -4941,7 +4941,7 @@
4941
4941
  "kind": 3,
4942
4942
  "documentation": {
4943
4943
  "kind": "markdown",
4944
- "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**參數**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4944
+ "value": "從一組參數建立一個日期物件。 預設情況下,日期是在設定檔的執行內容的時區中建立的。\n\n**參數**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 代表一年的一個數字。\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - (0-11),其中 `0` 是一月,`11` 是十二月。\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 月中日期 (1-31)。\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 日中小時 (0-23)。\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 小時的分鐘 (0-59)。\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 分鐘的秒 (0-59)。\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 秒的毫秒 (0-999)。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 開始_ 日期的時區。 若未指定,則將在設定檔的執行內容的預設時區中建立日期。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4945
4945
  }
4946
4946
  },
4947
4947
  "parametersInfo": {
@@ -4954,8 +4954,8 @@
4954
4954
  "name": "date",
4955
4955
  "bundle": "core",
4956
4956
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
4957
- "description": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.",
4958
- "examples": "\n##### 範例\n\nMilliseconds since January 1, 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\nCreates a Date representing the current time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
4957
+ "description": "建立具有指定 Unix 紀元號的日期。 預設情況下,將在設定檔的執行內容的時區中顯示日期。 若未提供紀元,則在設定檔的預設時區中的目前日期和時間上建立日期。",
4958
+ "examples": "\n##### 範例\n\n自 1970 1 月 1 日以來的毫秒數\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n建立日期,表示執行 Arcade 的設定檔之執行內容的時區中的目前時間\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
4959
4959
  "completion": {
4960
4960
  "label": "Date",
4961
4961
  "detail": "Date(epoch?) -> Date",
@@ -4965,7 +4965,7 @@
4965
4965
  "kind": 3,
4966
4966
  "documentation": {
4967
4967
  "kind": "markdown",
4968
- "value": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.\n\n**參數**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4968
+ "value": "建立具有指定 Unix 紀元號的日期。 預設情況下,將在設定檔的執行內容的時區中顯示日期。 若未提供紀元,則在設定檔的預設時區中的目前日期和時間上建立日期。\n\n**參數**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 1970 1 1 UTC 後經過的毫秒數。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4969
4969
  }
4970
4970
  },
4971
4971
  "parametersInfo": {
@@ -4978,8 +4978,8 @@
4978
4978
  "name": "date",
4979
4979
  "bundle": "core",
4980
4980
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
4981
- "description": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.",
4982
- "examples": "\n##### 範例\n\nCreates a Date from an ISO 8601 text value with a known time offset\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\nCreates a Date from an ISO 8601 text value with an unknown time offset\n\n```arcade\nDate('2016-10-20T17:41:37') // 'Thu Oct 20 2016 5:41:37 PM PDT'\n```\n\n",
4981
+ "description": " ISO 8601 文字值建立日期值。 如果提供了 UTC 偏移,仍將在設定檔的時區中顯示日期。 若未提供文字值,則在設定檔的時區中的目前日期和時間上建立日期。",
4982
+ "examples": "\n##### 範例\n\n從具有已知時間偏移的 ISO 8601 文字值建立日期\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\n從具有未知時間偏移的 ISO 8601 文字值建立日期\n\n```arcade\nDate('2016-10-20T17:41:37') // 'Thu Oct 20 2016 5:41:37 PM PDT'\n```\n\n",
4983
4983
  "completion": {
4984
4984
  "label": "Date",
4985
4985
  "detail": "Date(timestamp?) -> Date",
@@ -4989,7 +4989,7 @@
4989
4989
  "kind": 3,
4990
4990
  "documentation": {
4991
4991
  "kind": "markdown",
4992
- "value": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.\n\n**參數**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - An ISO 8601 text value to be converted into a Date.\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4992
+ "value": " ISO 8601 文字值建立日期值。 如果提供了 UTC 偏移,仍將在設定檔的時區中顯示日期。 若未提供文字值,則在設定檔的時區中的目前日期和時間上建立日期。\n\n**參數**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要轉換成日期的 ISO 8601 文字值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4993
4993
  }
4994
4994
  },
4995
4995
  "parametersInfo": {
@@ -5003,8 +5003,8 @@
5003
5003
  "bundle": "core",
5004
5004
  "sinceVersion": "1.24",
5005
5005
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
5006
- "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
5007
- "examples": "\n##### 範例\n\nCreates a Date from a DateOnly and time type\n\n```arcade\nDate(DateOnly(2022,10,11), Time(\"11:20 am\"))\n// returns a Date representing Nov 11, 2022, 11:20:00 AM in an unknown time zone\n```\n\n",
5006
+ "description": " DateOnly 值建立日期,並包含可選的時間和時區值。",
5007
+ "examples": "\n##### 範例\n\n從 DateOnly 和時間類型建立日期\n\n```arcade\nDate(DateOnly(2022,10,11), Time(\"11:20 am\"))\n// returns a Date representing Nov 11, 2022, 11:20:00 AM in an unknown time zone\n```\n\n",
5008
5008
  "completion": {
5009
5009
  "label": "Date",
5010
5010
  "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
@@ -5014,7 +5014,7 @@
5014
5014
  "kind": 3,
5015
5015
  "documentation": {
5016
5016
  "kind": "markdown",
5017
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5017
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從 DateOnly 值建立日期,並包含可選的時間和時區值。\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 用於建立日期值的 DateOnly 值。\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 日期的時間值。 若未指定,將使用時間 `00:00:00` 建立日期。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日期的時區。 若未指定,將在 `unknown` 時區中建立日期。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5018
5018
  }
5019
5019
  },
5020
5020
  "parametersInfo": {
@@ -5028,8 +5028,8 @@
5028
5028
  "bundle": "core",
5029
5029
  "sinceVersion": "1.24",
5030
5030
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
5031
- "description": "Creates a copy of the given Date.",
5032
- "examples": "\n##### 範例\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
5031
+ "description": "建立指定日期的副本。",
5032
+ "examples": "\n##### 範例\n\n建立目前日期值的副本\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
5033
5033
  "completion": {
5034
5034
  "label": "Date",
5035
5035
  "detail": "Date(dateValue) -> Date",
@@ -5039,7 +5039,7 @@
5039
5039
  "kind": 3,
5040
5040
  "documentation": {
5041
5041
  "kind": "markdown",
5042
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5042
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立指定日期的副本。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 要複製的日期。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5043
5043
  }
5044
5044
  },
5045
5045
  "parametersInfo": {
@@ -5054,8 +5054,8 @@
5054
5054
  "name": "dateadd",
5055
5055
  "bundle": "core",
5056
5056
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
5057
- "description": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.",
5058
- "examples": "\n##### 範例\n\nAdds 7 days to the given Date\n\n```arcade\nvar startDate = Date(2023, 9, 1, 12, 00);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns a Date representing Oct 8, 2023, 12:00:00 PM PDT\n```\n\n",
5057
+ "description": "將指定單位的指定時間量新增至日期,並傳回新日期。 如果日期具有 IANA 時區,則將套用日光節約和其他時區驅動的邏輯。",
5058
+ "examples": "\n##### 範例\n\n將 7 天新增至指定的日期\n\n```arcade\nvar startDate = Date(2023, 9, 1, 12, 00);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns a Date representing Oct 8, 2023, 12:00:00 PM PDT\n```\n\n",
5059
5059
  "completion": {
5060
5060
  "label": "DateAdd",
5061
5061
  "detail": "DateAdd(dateValue, addValue, units?) -> Date",
@@ -5065,7 +5065,7 @@
5065
5065
  "kind": 3,
5066
5066
  "documentation": {
5067
5067
  "kind": "markdown",
5068
- "value": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The input Date to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the Date in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the Date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5068
+ "value": "將指定單位的指定時間量新增至日期,並傳回新日期。 如果日期具有 IANA 時區,則將套用日光節約和其他時區驅動的邏輯。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 加入時間的輸入日期。\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要以指定單位新增至日期的值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要新增至日期的數字單位。 預設為 `milliseconds`。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years`\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5069
5069
  }
5070
5070
  },
5071
5071
  "parametersInfo": {
@@ -5079,8 +5079,8 @@
5079
5079
  "bundle": "core",
5080
5080
  "sinceVersion": "1.24",
5081
5081
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
5082
- "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
5083
- "examples": "\n##### 範例\n\nAdds 7 days to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns 2023-06-11\n```\n\nAdds 12 hours to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar hoursLater = DateAdd(startDate, 12, 'hours');\nreturn hoursLater;\n// returns the original start date, 2023-06-04\n// since 12 hours < 1 day, the DateOnly input is not changed\n```\n\n",
5082
+ "description": "將指定單位的指定時間量新增至 DateOnly 值,並傳回新 DateOnly 值。",
5083
+ "examples": "\n##### 範例\n\n在提供的欄位中將 7 天新增至日期\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns 2023-06-11\n```\n\n在提供的欄位中將 12 小時新增至日期\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar hoursLater = DateAdd(startDate, 12, 'hours');\nreturn hoursLater;\n// returns the original start date, 2023-06-04\n// since 12 hours < 1 day, the DateOnly input is not changed\n```\n\n",
5084
5084
  "completion": {
5085
5085
  "label": "DateAdd",
5086
5086
  "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
@@ -5090,7 +5090,7 @@
5090
5090
  "kind": 3,
5091
5091
  "documentation": {
5092
5092
  "kind": "markdown",
5093
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The input DateOnly value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the date in the given units. For DateOnly inputs, this value will be rounded down to the nearest day based on a 24-hour interval. If the value to be added is less than 24 hours, then no value will be added to the DateOnly input.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5093
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n將指定單位的指定時間量新增至 DateOnly 值,並傳回新 DateOnly 值。\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 加入時間的輸入 DateOnly 值。\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要以指定單位新增至日期的值。 對於 DateOnly 輸入,此值將根據 24 小時間隔向下捨入到最近的一天。 如果要新增的值小於 24 小時,則不會在 DateOnly 輸入中新增任何值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要新增至日期的數字單位。 預設為 `milliseconds`。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years`\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5094
5094
  }
5095
5095
  },
5096
5096
  "parametersInfo": {
@@ -5104,8 +5104,8 @@
5104
5104
  "bundle": "core",
5105
5105
  "sinceVersion": "1.24",
5106
5106
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
5107
- "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
5108
- "examples": "\n##### 範例\n\nAdds 7 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 7, 'hours');\nreturn hoursLater;\n// returns 18:30:00\n```\n\nAdds 90 seconds to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar secondsLater = DateAdd(startTime, 90, \"seconds\");\nreturn secondsLater;\n// returns 11:31:30\n```\n\nAdds 25 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 25, 'hours');\nreturn hoursLater;\n// returns 12:30:00\n```\n\n",
5107
+ "description": "將指定單位的指定時間量新增至時間值,並傳回新時間值。",
5108
+ "examples": "\n##### 範例\n\n將 7 小時新增至指定的時間\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 7, 'hours');\nreturn hoursLater;\n// returns 18:30:00\n```\n\n將 90 秒新增至指定的時間\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar secondsLater = DateAdd(startTime, 90, \"seconds\");\nreturn secondsLater;\n// returns 11:31:30\n```\n\n將 25 小時新增至指定的時間\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 25, 'hours');\nreturn hoursLater;\n// returns 12:30:00\n```\n\n",
5109
5109
  "completion": {
5110
5110
  "label": "DateAdd",
5111
5111
  "detail": "DateAdd(timeValue, addValue, units?) -> Time",
@@ -5115,7 +5115,7 @@
5115
5115
  "kind": 3,
5116
5116
  "documentation": {
5117
5117
  "kind": "markdown",
5118
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a Time value and returns a new Time value.\n\n**參數**\n\n- **timeValue**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The input Time value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the time in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5118
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n將指定單位的指定時間量新增至時間值,並傳回新時間值。\n\n**參數**\n\n- **timeValue**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 加入時間的輸入時間值。\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要以指定單位新增至時間的值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要新增至日期的數字單位。 預設為 `milliseconds`。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5119
5119
  }
5120
5120
  },
5121
5121
  "parametersInfo": {
@@ -5130,8 +5130,8 @@
5130
5130
  "name": "datediff",
5131
5131
  "bundle": "core",
5132
5132
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
5133
- "description": "Subtracts two Dates, and returns the difference in the specified units.",
5134
- "examples": "\n##### 範例\n\nSubtracts two Dates and returns the age\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtracts two Dates and returns the difference. Since the time zone is Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
5133
+ "description": "減去兩個日期,並傳回指定單位中的差異。",
5134
+ "examples": "\n##### 範例\n\n減去兩個日期並傳回年齡\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n減去兩個日期並傳回差異。 由於時區是洛杉磯\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
5135
5135
  "completion": {
5136
5136
  "label": "DateDiff",
5137
5137
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -5141,7 +5141,7 @@
5141
5141
  "kind": 3,
5142
5142
  "documentation": {
5143
5143
  "kind": "markdown",
5144
- "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**參數**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5144
+ "value": "減去兩個日期,並傳回指定單位中的差異。\n\n**參數**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 要從中減去第二個日期的日期值。\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從第一個指定日期減去的日期值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用來傳回兩個給定日期差的單位。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years`。 預設值是 `milliseconds`。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 版開始_ 指派給時區未知的輸入日期的時區。 如果未指定,則會發生以下情況: (1) 如果一個輸入具有已定義的時區,而另一個輸入未知,則具有未知時區的值將採用與另一個輸入相符的時區。 (2) 如果兩個輸入都是未知時區,則將在兩個日期上計算 DateDiff,就好像它們是在同一時區中定義的一樣。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5145
5145
  }
5146
5146
  },
5147
5147
  "parametersInfo": {
@@ -5155,8 +5155,8 @@
5155
5155
  "bundle": "core",
5156
5156
  "sinceVersion": "1.24",
5157
5157
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
5158
- "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
5159
- "examples": "\n##### 範例\n\nSubtracts two DateOnly values and returns the difference in years\n\n```arcade\nvar startDate = DateOnly(1996,11,10);\nvar endDate = DateOnly(); // today's date\nvar age = DateDiff(endDate, startDate, 'years');\nFloor(age); // round down\n// returns 26\n```\n\n",
5158
+ "description": "減去兩個 DateOnly 值,並傳回指定單位中的差異。",
5159
+ "examples": "\n##### 範例\n\n減去兩個 DateOnly 值並傳回年差異。\n\n```arcade\nvar startDate = DateOnly(1996,11,10);\nvar endDate = DateOnly(); // today's date\nvar age = DateDiff(endDate, startDate, 'years');\nFloor(age); // round down\n// returns 26\n```\n\n",
5160
5160
  "completion": {
5161
5161
  "label": "DateDiff",
5162
5162
  "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
@@ -5166,7 +5166,7 @@
5166
5166
  "kind": 3,
5167
5167
  "documentation": {
5168
5168
  "kind": "markdown",
5169
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two DateOnly values, and returns the difference in the specified units.\n\n**參數**\n\n- **dateOnly1**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to subtract a second DateOnly value.\n- **dateOnly2**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value to subtract from the first given DateOnly value.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given DateOnly values. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5169
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n減去兩個 DateOnly 值,並傳回指定單位中的差異。\n\n**參數**\n\n- **dateOnly1**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要從中減去第二個 DateOnly 值的 DateOnly 值。\n- **dateOnly2**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要從第一個指定 DateOnly 值減去的 DateOnly 值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用來傳回兩個指定 DateOnly 值差的單位。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years`。 預設值是 `milliseconds`。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5170
5170
  }
5171
5171
  },
5172
5172
  "parametersInfo": {
@@ -5180,8 +5180,8 @@
5180
5180
  "bundle": "core",
5181
5181
  "sinceVersion": "1.24",
5182
5182
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
5183
- "description": "Subtracts two Time values, and returns the difference in the specified units.",
5184
- "examples": "\n##### 範例\n\nSubtracts two Time values and returns the difference in hours\n\n```arcade\nDateDiff(Time(23,0), Time(9,0), 'hours')\n// returns 14\n```\n\n",
5183
+ "description": "減去兩個時間值,並傳回指定單位中的差異。",
5184
+ "examples": "\n##### 範例\n\n減去兩個時間值並傳回小時差異。\n\n```arcade\nDateDiff(Time(23,0), Time(9,0), 'hours')\n// returns 14\n```\n\n",
5185
5185
  "completion": {
5186
5186
  "label": "DateDiff",
5187
5187
  "detail": "DateDiff(time1, time2, units?) -> Number",
@@ -5191,7 +5191,7 @@
5191
5191
  "kind": 3,
5192
5192
  "documentation": {
5193
5193
  "kind": "markdown",
5194
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two Time values, and returns the difference in the specified units.\n\n**參數**\n\n- **time1**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value from which to subtract a second Time value.\n- **time2**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value to subtract from the first given Time value.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Time values. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`. The default value is `milliseconds`.\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5194
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n減去兩個時間值,並傳回指定單位中的差異。\n\n**參數**\n\n- **time1**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 要從中減去第二個時間值的時間值。\n- **time2**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 從第一個指定時間值減去的時間值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用來傳回兩個給定時間值差的單位。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`。 預設值是 `milliseconds`。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5195
5195
  }
5196
5196
  },
5197
5197
  "parametersInfo": {
@@ -5207,8 +5207,8 @@
5207
5207
  "bundle": "core",
5208
5208
  "sinceVersion": "1.24",
5209
5209
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
5210
- "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
5211
- "examples": "\n##### 範例\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
5210
+ "description": "根據設定檔的執行內容的時區中的目前日期來建立 DateOnly 值。",
5211
+ "examples": "\n##### 範例\n\n傳回目前 DateOnly (無時間)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
5212
5212
  "completion": {
5213
5213
  "label": "DateOnly",
5214
5214
  "detail": "DateOnly() -> DateOnly",
@@ -5218,7 +5218,7 @@
5218
5218
  "kind": 3,
5219
5219
  "documentation": {
5220
5220
  "kind": "markdown",
5221
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value based on the current date in the time zone of the profile's execution context.\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5221
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據設定檔的執行內容的時區中的目前日期來建立 DateOnly 值。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5222
5222
  }
5223
5223
  },
5224
5224
  "parametersInfo": {
@@ -5232,8 +5232,8 @@
5232
5232
  "bundle": "core",
5233
5233
  "sinceVersion": "1.24",
5234
5234
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
5235
- "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
5236
- "examples": "\n##### 範例\n\nCreates a DateOnly value from inputs representing the year, month, and day\n\n```arcade\nDateOnly(1996, 11, 10)\n// returns 1996-12-10\n```\n\n",
5235
+ "description": "從表示年、月和日的輸入中建立 DateOnly 值。",
5236
+ "examples": "\n##### 範例\n\n從表示年、月和日的輸入中建立 DateOnly 值\n\n```arcade\nDateOnly(1996, 11, 10)\n// returns 1996-12-10\n```\n\n",
5237
5237
  "completion": {
5238
5238
  "label": "DateOnly",
5239
5239
  "detail": "DateOnly(year, month, day) -> DateOnly",
@@ -5243,7 +5243,7 @@
5243
5243
  "kind": 3,
5244
5244
  "documentation": {
5245
5245
  "kind": "markdown",
5246
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from inputs representing the year, month, and day.\n\n**參數**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December. If this value falls outside the normal range (0-11), the function will return `null`.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31). If this value falls outside the normal range (1-31), the function will return `null`.\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5246
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示年、月和日的輸入中建立 DateOnly 值。\n\n**參數**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 代表一年的一個數字。\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - (0-11),其中 `0` 是一月,`11` 是十二月。 若此值超出正常範圍 (0-11),則函數將傳回 `null`。\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 月中日期 (1-31) 若此值超出正常範圍 (1-31),則函數將傳回 `null`。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5247
5247
  }
5248
5248
  },
5249
5249
  "parametersInfo": {
@@ -5257,8 +5257,8 @@
5257
5257
  "bundle": "core",
5258
5258
  "sinceVersion": "1.24",
5259
5259
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
5260
- "description": "Creates a DateOnly date with the given Unix epoch number.",
5261
- "examples": "\n##### 範例\n\nReturns the DateOnly from the number of milliseconds since January 1, 1970\n\n```arcade\nDateOnly(1476987783555);\n// returns 2016-10-20\n```\n\n",
5260
+ "description": "建立具有指定 Unix 紀元號的 DateOnly 日期。",
5261
+ "examples": "\n##### 範例\n\n傳回 DateOnly 1970 1 1 日以來的毫秒數\n\n```arcade\nDateOnly(1476987783555);\n// returns 2016-10-20\n```\n\n",
5262
5262
  "completion": {
5263
5263
  "label": "DateOnly",
5264
5264
  "detail": "DateOnly(epoch) -> DateOnly",
@@ -5268,7 +5268,7 @@
5268
5268
  "kind": 3,
5269
5269
  "documentation": {
5270
5270
  "kind": "markdown",
5271
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**參數**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5271
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立具有指定 Unix 紀元號的 DateOnly 日期。\n\n**參數**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 1970 1 1 UTC 後經過的毫秒數。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5272
5272
  }
5273
5273
  },
5274
5274
  "parametersInfo": {
@@ -5282,8 +5282,8 @@
5282
5282
  "bundle": "core",
5283
5283
  "sinceVersion": "1.24",
5284
5284
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
5285
- "description": "Creates a DateOnly value from a text input representing an ISO formatted date, or another formatted text pattern.",
5286
- "examples": "\n##### 範例\n\nCreates a DateOnly value from a text value representing the date\n\n```arcade\nDateOnly(\"2023-05-11T13:43:18.990+01:00\");\n// returns 2023-05-11\n```\n\nCreates a DateOnly value from a text value representing the date in the given format\n\n```arcade\nDateOnly(\"10 Jan 2022\",\"D MMM Y\")\n// returns 2022-01-10\n```\n\n",
5285
+ "description": "從表示 ISO 格式日期或其他格式化文字模式的文字輸入中,建立 DateOnly 值。",
5286
+ "examples": "\n##### 範例\n\n從表示日期的文字值中建立 DateOnly 值\n\n```arcade\nDateOnly(\"2023-05-11T13:43:18.990+01:00\");\n// returns 2023-05-11\n```\n\n從給定格式表示日期的文字值中建立 DateOnly 值\n\n```arcade\nDateOnly(\"10 Jan 2022\",\"D MMM Y\")\n// returns 2022-01-10\n```\n\n",
5287
5287
  "completion": {
5288
5288
  "label": "DateOnly",
5289
5289
  "detail": "DateOnly(textValue, format?) -> DateOnly",
@@ -5293,7 +5293,7 @@
5293
5293
  "kind": 3,
5294
5294
  "documentation": {
5295
5295
  "kind": "markdown",
5296
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a text input representing an ISO formatted date, or another formatted text pattern.\n\n**參數**\n\n- **textValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value representing a date. This should either be an ISO formatted date or another formatted text representing a date. If this value does not follow ISO format, the `format` parameter must be defined indicating the date's format.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value indicating the format of the `dateValue` input. \nPossible values: \n - `D`: Day of the month, not padded (1 - 31) \n - `DD`: Day of the month, padded (01 - 31) \n - `DDD`: Ordinal day of the year (1 - 365) \n - `d`: Day of the week (1 - 7) \n - `ddd`: Abbreviated day of the week (e.g. Mon) \n - `dddd`: Full day of the week (e.g. Monday) \n - `M`: Month number (1 - 12) \n - `MM`: Month number, padded (01 - 12) \n - `MMM`: Abbreviated month name (e.g. Jan) \n - `MMMM`: Full month name (e.g. January) \n - `Y`: Full year \n - `YY`: Two-digit year \n\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5296
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示 ISO 格式日期或其他格式化文字模式的文字輸入中,建立 DateOnly 值。\n\n**參數**\n\n- **textValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 表示日期的文字值。 這應該是 ISO 格式的日期或表示日期的其他格式文字。 如果此值未遵循 ISO 格式,則必須定義 `format` 參數來指示日期的格式。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指示 `dateValue` 輸入格式的文字值。 \n可能值: \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5297
5297
  }
5298
5298
  },
5299
5299
  "parametersInfo": {
@@ -5307,8 +5307,8 @@
5307
5307
  "bundle": "core",
5308
5308
  "sinceVersion": "1.24",
5309
5309
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
5310
- "description": "Creates a DateOnly value from a given date.",
5311
- "examples": "\n##### 範例\n\nReturns the DateOnly from the given date\n\n```arcade\nDateOnly(Date(2008,10,11,10,30));\n// returns 2008-11-11\n```\n\n",
5310
+ "description": "從指定的日期中建立 DateOnly 值。",
5311
+ "examples": "\n##### 範例\n\n從指定的日期中傳回 DateOnly\n\n```arcade\nDateOnly(Date(2008,10,11,10,30));\n// returns 2008-11-11\n```\n\n",
5312
5312
  "completion": {
5313
5313
  "label": "DateOnly",
5314
5314
  "detail": "DateOnly(dateValue) -> DateOnly",
@@ -5318,7 +5318,7 @@
5318
5318
  "kind": 3,
5319
5319
  "documentation": {
5320
5320
  "kind": "markdown",
5321
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5321
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從指定的日期中建立 DateOnly 值。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從中建立 DateOnly 值的日期。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5322
5322
  }
5323
5323
  },
5324
5324
  "parametersInfo": {
@@ -5332,8 +5332,8 @@
5332
5332
  "bundle": "core",
5333
5333
  "sinceVersion": "1.24",
5334
5334
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
5335
- "description": "Creates a copy of a DateOnly value.",
5336
- "examples": "\n##### 範例\n\nCreates a copy of DateOnly value\n\n```arcade\nvar originalDateOnly = DateOnly(1996,11,10)\nvar copiedDateOnly = DateOnly(originalDateOnly)\nreturn copiedDateOnly;\n```\n\n",
5335
+ "description": "建立 DateOnly 值的副本。",
5336
+ "examples": "\n##### 範例\n\n建立 DateOnly 值的副本。\n\n```arcade\nvar originalDateOnly = DateOnly(1996,11,10)\nvar copiedDateOnly = DateOnly(originalDateOnly)\nreturn copiedDateOnly;\n```\n\n",
5337
5337
  "completion": {
5338
5338
  "label": "DateOnly",
5339
5339
  "detail": "DateOnly(dateOnlyValue) -> DateOnly",
@@ -5343,7 +5343,7 @@
5343
5343
  "kind": 3,
5344
5344
  "documentation": {
5345
5345
  "kind": "markdown",
5346
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value to copy.\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5346
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立 DateOnly 值的副本。\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要複製的 DateOnly 值。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
5347
5347
  }
5348
5348
  },
5349
5349
  "parametersInfo": {
@@ -5358,7 +5358,7 @@
5358
5358
  "bundle": "core",
5359
5359
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
5360
5360
  "description": "傳回指定日期的月中日期。",
5361
- "examples": "\n##### 範例\n\n傳回目前日期的月中日期\n\n```arcade\nDay(Now())\n```\n\nReturns the day of the month from a DateOnly value\n\n```arcade\nDay(DateOnly(1996, 11, 10))\n// returns 10\n```\n\n",
5361
+ "examples": "\n##### 範例\n\n傳回目前日期的月中日期\n\n```arcade\nDay(Now())\n```\n\n從 DateOnly 值傳回月中日期\n\n```arcade\nDay(DateOnly(1996, 11, 10))\n// returns 10\n```\n\n",
5362
5362
  "completion": {
5363
5363
  "label": "Day",
5364
5364
  "detail": "Day(dateValue) -> Number",
@@ -5368,7 +5368,7 @@
5368
5368
  "kind": 3,
5369
5369
  "documentation": {
5370
5370
  "kind": "markdown",
5371
- "value": "傳回指定日期的月中日期。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月中日期的日期值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5371
+ "value": "傳回指定日期的月中日期。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月中日期的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5372
5372
  }
5373
5373
  },
5374
5374
  "parametersInfo": {
@@ -5382,8 +5382,8 @@
5382
5382
  "name": "hour",
5383
5383
  "bundle": "core",
5384
5384
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
5385
- "description": "Returns the hour of the time in the given Date or Time value (0-23).",
5386
- "examples": "\n##### 範例\n\nReturns the hour of the current time\n\n```arcade\nHour(Now())\n```\n\nReturns the hour of the time\n\n```arcade\nHour(Date(2023, 1, 1, 12, 59, 23))\n// returns 12\n```\n\nReturns the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
5385
+ "description": "傳回指定日期或時間值中的時間小時 (0-23)",
5386
+ "examples": "\n##### 範例\n\n傳回目前時間的小時\n\n```arcade\nHour(Now())\n```\n\n傳回時間的小時\n\n```arcade\nHour(Date(2023, 1, 1, 12, 59, 23))\n// returns 12\n```\n\n傳回時間的小時\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
5387
5387
  "completion": {
5388
5388
  "label": "Hour",
5389
5389
  "detail": "Hour(dateTimeValue) -> Number",
@@ -5393,7 +5393,7 @@
5393
5393
  "kind": 3,
5394
5394
  "documentation": {
5395
5395
  "kind": "markdown",
5396
- "value": "Returns the hour of the time in the given Date or Time value (0-23).\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - A Date or Time value from which to get the hour of the time. Time values are supported starting at version 1.24.\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5396
+ "value": "傳回指定日期或時間值中的時間小時 (0-23)。\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 從中取得時間之小時的日期或時間值。 從版本 1.24 開始支援時間值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5397
5397
  }
5398
5398
  },
5399
5399
  "parametersInfo": {
@@ -5409,7 +5409,7 @@
5409
5409
  "sinceVersion": "1.12",
5410
5410
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
5411
5411
  "description": "根據 ISO 8601 標準傳回指定日期的月份。 值範圍為 1-12,1 月為 `1`,12 月為 `12`。",
5412
- "examples": "\n##### 範例\n\n根據 ISO 8601 標準取得指定日期的月份。 傳回 12,代表 12 月。\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\nGets the month of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOMonth(DateOnly(1996, 0, 10))\n// returns 1, for January\n```\n\n",
5412
+ "examples": "\n##### 範例\n\n根據 ISO 8601 標準取得指定日期的月份。 傳回 12,代表 12 月。\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n根據 ISO 8601 標準取得指定 DateOnly 值的月份。\n\n```arcade\nISOMonth(DateOnly(1996, 0, 10))\n// returns 1, for January\n```\n\n",
5413
5413
  "completion": {
5414
5414
  "label": "ISOMonth",
5415
5415
  "detail": "ISOMonth(dateValue) -> Number",
@@ -5419,7 +5419,7 @@
5419
5419
  "kind": 3,
5420
5420
  "documentation": {
5421
5421
  "kind": "markdown",
5422
- "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 標準傳回指定日期的月份。 值範圍為 1-12,1 月為 `1`,12 月為 `12`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月份的日期值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5422
+ "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 標準傳回指定日期的月份。 值範圍為 1-12,1 月為 `1`,12 月為 `12`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月份的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5423
5423
  }
5424
5424
  },
5425
5425
  "parametersInfo": {
@@ -5434,7 +5434,7 @@
5434
5434
  "sinceVersion": "1.12",
5435
5435
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
5436
5436
  "description": "根據 ISO 8601 週日期行事曆,傳回指定日期在一年當中的週次。 值範圍為 1-53,其中一年的第一週為 `1`,一年的最後一週為 `52` 或 `53` (根據年份而定)。",
5437
- "examples": "\n##### 範例\n\n根據 ISO 8601 標準取得指定日期的週次。 傳回 `1`,因為此日期包含在明年的第一週。\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\nGets the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeek(DateOnly(1996, 11, 10))\n// returns 50\n```\n\n",
5437
+ "examples": "\n##### 範例\n\n根據 ISO 8601 標準取得指定日期的週次。 傳回 `1`,因為此日期包含在明年的第一週。\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n根據 ISO 8601 標準取得指定 DateOnly 值的週次。\n\n```arcade\nISOWeek(DateOnly(1996, 11, 10))\n// returns 50\n```\n\n",
5438
5438
  "completion": {
5439
5439
  "label": "ISOWeek",
5440
5440
  "detail": "ISOWeek(dateValue) -> Number",
@@ -5444,7 +5444,7 @@
5444
5444
  "kind": 3,
5445
5445
  "documentation": {
5446
5446
  "kind": "markdown",
5447
- "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 週日期行事曆,傳回指定日期在一年當中的週次。 值範圍為 1-53,其中一年的第一週為 `1`,一年的最後一週為 `52` 或 `53` (根據年份而定)。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要取得週次的日期值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5447
+ "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 週日期行事曆,傳回指定日期在一年當中的週次。 值範圍為 1-53,其中一年的第一週為 `1`,一年的最後一週為 `52` 或 `53` (根據年份而定)。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要取得週次的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5448
5448
  }
5449
5449
  },
5450
5450
  "parametersInfo": {
@@ -5459,7 +5459,7 @@
5459
5459
  "sinceVersion": "1.12",
5460
5460
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
5461
5461
  "description": "根據 ISO 8601 標準傳回指定日期的星期幾。 值範圍為 1-7,其中星期一為 `1,星期日為 `7`。",
5462
- "examples": "\n##### 範例\n\n根據 ISO 8601 標準傳回指定日期的星期幾。 傳回 `3` 代表星期三。\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
5462
+ "examples": "\n##### 範例\n\n根據 ISO 8601 標準傳回指定日期的星期幾。 傳回 `3` 代表星期三。\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n根據 ISO 8601 標準傳回指定 DateOnly 值的星期幾。\n\n```arcade\nISOWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
5463
5463
  "completion": {
5464
5464
  "label": "ISOWeekday",
5465
5465
  "detail": "ISOWeekday(dateValue) -> Number",
@@ -5469,7 +5469,7 @@
5469
5469
  "kind": 3,
5470
5470
  "documentation": {
5471
5471
  "kind": "markdown",
5472
- "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 標準傳回指定日期的星期幾。 值範圍為 1-7,其中星期一為 `1,星期日為 `7`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中傳回星期幾的日期值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5472
+ "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 標準傳回指定日期的星期幾。 值範圍為 1-7,其中星期一為 `1,星期日為 `7`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中傳回星期幾的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5473
5473
  }
5474
5474
  },
5475
5475
  "parametersInfo": {
@@ -5484,7 +5484,7 @@
5484
5484
  "sinceVersion": "1.12",
5485
5485
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
5486
5486
  "description": "根據 ISO 8601 週日期行事曆,傳回指定日期的年份。",
5487
- "examples": "\n##### 範例\n\n根據 ISO 8601 週日期行事曆,取得指定日期的年份。 傳回 `1981`,因為此日期包含在明年的第一週。\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\nGets the year of the given DateOnly value, based on the ISO 8601 week date calendar.\n\n```arcade\nISOYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
5487
+ "examples": "\n##### 範例\n\n根據 ISO 8601 週日期行事曆,取得指定日期的年份。 傳回 `1981`,因為此日期包含在明年的第一週。\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n根據 ISO 8601 週日期行事曆,取得指定 DateOnly 值的年份。\n\n```arcade\nISOYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
5488
5488
  "completion": {
5489
5489
  "label": "ISOYear",
5490
5490
  "detail": "ISOYear(dateValue) -> Number",
@@ -5494,7 +5494,7 @@
5494
5494
  "kind": 3,
5495
5495
  "documentation": {
5496
5496
  "kind": "markdown",
5497
- "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 週日期行事曆,傳回指定日期的年份。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得年的日期值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5497
+ "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 週日期行事曆,傳回指定日期的年份。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得年的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5498
5498
  }
5499
5499
  },
5500
5500
  "parametersInfo": {
@@ -5508,8 +5508,8 @@
5508
5508
  "name": "millisecond",
5509
5509
  "bundle": "core",
5510
5510
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
5511
- "description": "Returns the millisecond of the time in the given Time or Date value.",
5512
- "examples": "\n##### 範例\n\nReturns the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\nReturns the millisecond of the time\n\n```arcade\nMillisecond(Date(2023, 1, 1, 12, 59, 23, 999))\n// returns 999\n```\n\nReturns the millisecond of the time\n\n```arcade\nMillisecond(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
5511
+ "description": "傳回指定時間或日期值中時間的毫秒。",
5512
+ "examples": "\n##### 範例\n\n傳回目前時間的毫秒\n\n```arcade\nMillisecond(Now())\n```\n\n傳回時間的毫秒\n\n```arcade\nMillisecond(Date(2023, 1, 1, 12, 59, 23, 999))\n// returns 999\n```\n\n傳回時間的毫秒\n\n```arcade\nMillisecond(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
5513
5513
  "completion": {
5514
5514
  "label": "Millisecond",
5515
5515
  "detail": "Millisecond(dateTimeValue) -> Number",
@@ -5519,7 +5519,7 @@
5519
5519
  "kind": 3,
5520
5520
  "documentation": {
5521
5521
  "kind": "markdown",
5522
- "value": "Returns the millisecond of the time in the given Time or Date value.\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - A Date or Time value from which to get the millisecond of the time. Time values are supported starting at version 1.24.\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5522
+ "value": "傳回指定時間或日期值中時間的毫秒。\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 從中取得時間之毫秒的日期或時間值。 從版本 1.24 開始支援時間值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5523
5523
  }
5524
5524
  },
5525
5525
  "parametersInfo": {
@@ -5534,8 +5534,8 @@
5534
5534
  "name": "minute",
5535
5535
  "bundle": "core",
5536
5536
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
5537
- "description": "Returns the minute of the time in the given Time or Date value.",
5538
- "examples": "\n##### 範例\n\nReturns the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\nReturns the minute of the time\n\n```arcade\nMinute(Date(2013, 1, 1, 2, 15, 23))\n// returns 15\n```\n\nReturns the minute of the time\n\n```arcade\nMinute(Time(2, 59, 23))\n// returns 59\n```\n\n",
5537
+ "description": "傳回指定時間或日期值中時間的分鐘。",
5538
+ "examples": "\n##### 範例\n\n傳回目前時間的分鐘\n\n```arcade\nMinute(Now())\n```\n\n傳回時間的分鐘\n\n```arcade\nMinute(Date(2013, 1, 1, 2, 15, 23))\n// returns 15\n```\n\n傳回時間的分鐘\n\n```arcade\nMinute(Time(2, 59, 23))\n// returns 59\n```\n\n",
5539
5539
  "completion": {
5540
5540
  "label": "Minute",
5541
5541
  "detail": "Minute(dateTimeValue) -> Number",
@@ -5545,7 +5545,7 @@
5545
5545
  "kind": 3,
5546
5546
  "documentation": {
5547
5547
  "kind": "markdown",
5548
- "value": "Returns the minute of the time in the given Time or Date value.\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - A Date or Time value from which to get the minute of the time. Time values are supported starting at version 1.24.\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5548
+ "value": "傳回指定時間或日期值中時間的分鐘。\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 從中取得時間之分鐘的日期或時間值。 從版本 1.24 開始支援時間值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5549
5549
  }
5550
5550
  },
5551
5551
  "parametersInfo": {
@@ -5560,7 +5560,7 @@
5560
5560
  "bundle": "core",
5561
5561
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
5562
5562
  "description": "傳回指定日期的月份。 值範圍從 0-11,其中一月是 `0`,十二月是 `11`。",
5563
- "examples": "\n##### 範例\n\n取得指定日期的月份。 傳回 11,代表 11 月。\n\n```arcade\nMonth(Date(1980, 11, 31))\n// returns 11\n```\n\nGets the month of the given DateOnly value.\n\n```arcade\nMonth(DateOnly(1996, 0, 31))\n// returns 0, for the month of January\n```\n\n",
5563
+ "examples": "\n##### 範例\n\n取得指定日期的月份。 值可以在 0-11 之間,其中 `0` 代表一月,`11` 代表十二月。\n\n```arcade\nMonth(Date(1980, 11, 31))\n// returns 11\n```\n\n取得指定 DateOnly 值的月份。\n\n```arcade\nMonth(DateOnly(1996, 0, 31))\n// returns 0, for the month of January\n```\n\n",
5564
5564
  "completion": {
5565
5565
  "label": "Month",
5566
5566
  "detail": "Month(dateValue) -> Number",
@@ -5570,7 +5570,7 @@
5570
5570
  "kind": 3,
5571
5571
  "documentation": {
5572
5572
  "kind": "markdown",
5573
- "value": "傳回指定日期的月份。 值範圍從 0-11,其中一月是 `0`,十二月是 `11`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月份的日期值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5573
+ "value": "傳回指定日期的月份。 值範圍從 0-11,其中一月是 `0`,十二月是 `11`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月份的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5574
5574
  }
5575
5575
  },
5576
5576
  "parametersInfo": {
@@ -5583,8 +5583,8 @@
5583
5583
  "name": "now",
5584
5584
  "bundle": "core",
5585
5585
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#now",
5586
- "description": "在用戶端的本地或系統時間中建立日期值。",
5587
- "examples": "\n##### 範例\n\n傳回目前日期和時間\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nNow()\n```\n\n",
5586
+ "description": "建立日期值,表示設定檔之執行內容的時區中的目前日期和時間。",
5587
+ "examples": "\n##### 範例\n\n傳回設定檔的預設時區的目前日期和時間\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nNow()\n```\n\n",
5588
5588
  "completion": {
5589
5589
  "label": "Now",
5590
5590
  "detail": "Now() -> Date",
@@ -5594,7 +5594,7 @@
5594
5594
  "kind": 3,
5595
5595
  "documentation": {
5596
5596
  "kind": "markdown",
5597
- "value": "在用戶端的本地或系統時間中建立日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5597
+ "value": "建立日期值,表示設定檔之執行內容的時區中的目前日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5598
5598
  }
5599
5599
  },
5600
5600
  "parametersInfo": {
@@ -5608,8 +5608,8 @@
5608
5608
  "name": "second",
5609
5609
  "bundle": "core",
5610
5610
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
5611
- "description": "Returns the second of the time in the given Date or Time value.",
5612
- "examples": "\n##### 範例\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\nGets the second of the time\n\n```arcade\nSecond(Date(2023, 1, 1, 2, 59, 01))\n// returns 1\n```\n\nGets the second of the time\n\n```arcade\nSecond(Time(2, 59, 23))\n// returns 23\n```\n\n",
5611
+ "description": "傳回指定日期或時間值中的時間秒。",
5612
+ "examples": "\n##### 範例\n\n取得目前時間的秒\n\n```arcade\nSecond(Now())\n```\n\n取得時間的秒\n\n```arcade\nSecond(Date(2023, 1, 1, 2, 59, 01))\n// returns 1\n```\n\n取得時間的秒\n\n```arcade\nSecond(Time(2, 59, 23))\n// returns 23\n```\n\n",
5613
5613
  "completion": {
5614
5614
  "label": "Second",
5615
5615
  "detail": "Second(dateTimeValue) -> Number",
@@ -5619,7 +5619,7 @@
5619
5619
  "kind": 3,
5620
5620
  "documentation": {
5621
5621
  "kind": "markdown",
5622
- "value": "Returns the second of the time in the given Date or Time value.\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - A Date or Time value from which to get the second of the time. Time values are supported starting at version 1.24.\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5622
+ "value": "傳回指定日期或時間值中的時間秒。\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 從中取得時間之秒的日期或時間值。 從版本 1.24 開始支援時間值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5623
5623
  }
5624
5624
  },
5625
5625
  "parametersInfo": {
@@ -5635,8 +5635,8 @@
5635
5635
  "bundle": "core",
5636
5636
  "sinceVersion": "1.24",
5637
5637
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
5638
- "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
5639
- "examples": "\n##### 範例\n\nReturns the current time displayed using the profile's default time zone\n\n```arcade\n// Time represents 12:41:20 PM\nTime()\n```\n\n",
5638
+ "description": "建立時間值,表示設定檔之執行內容的時區中的目前時間。",
5639
+ "examples": "\n##### 範例\n\n傳回使用設定檔的預設時區顯示的目前時間\n\n```arcade\n// Time represents 12:41:20 PM\nTime()\n```\n\n",
5640
5640
  "completion": {
5641
5641
  "label": "Time",
5642
5642
  "detail": "Time() -> Time",
@@ -5646,7 +5646,7 @@
5646
5646
  "kind": 3,
5647
5647
  "documentation": {
5648
5648
  "kind": "markdown",
5649
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value representing the current time in the time zone of the profile's execution context.\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5649
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立時間值,表示設定檔之執行內容的時區中的目前時間。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5650
5650
  }
5651
5651
  },
5652
5652
  "parametersInfo": {
@@ -5660,8 +5660,8 @@
5660
5660
  "bundle": "core",
5661
5661
  "sinceVersion": "1.24",
5662
5662
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
5663
- "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
5664
- "examples": "\n##### 範例\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds\n\n```arcade\nTime(13, 20);\n// returns a Time value of 13:20:00\n \nTime(2, 59, 23)\n// returns a Time value of 02:59:23\n \nTime(15, 47, 0, 474)\n// returns a Time value of 15:47:00.474\n```\n\n",
5663
+ "description": "從表示小時、分鐘、秒和毫秒的輸入中建立時間值。",
5664
+ "examples": "\n##### 範例\n\n從表示小時、分鐘、秒和毫秒的輸入中建立時間值\n\n```arcade\nTime(13, 20);\n// returns a Time value of 13:20:00\n \nTime(2, 59, 23)\n// returns a Time value of 02:59:23\n \nTime(15, 47, 0, 474)\n// returns a Time value of 15:47:00.474\n```\n\n",
5665
5665
  "completion": {
5666
5666
  "label": "Time",
5667
5667
  "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
@@ -5671,7 +5671,7 @@
5671
5671
  "kind": 3,
5672
5672
  "documentation": {
5673
5673
  "kind": "markdown",
5674
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds.\n\n**參數**\n\n- **hours**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing hours of the Time value (0-23). If this value falls outside the normal range (0-23), the function will return `null`.\n- **minutes**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing the minutes of the Time value (0-59). If this value falls outside the normal range (0-59), the function will return `null`.\n- **seconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing the seconds of the Time value (0-59). If this value falls outside the normal range (0-59), the function will return `null`.\n- **milliseconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing the milliseconds of the Time value (0-999). If this value falls outside the normal range (0-999), the function will return `null`.\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5674
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示小時、分鐘、秒和毫秒的輸入中建立時間值。\n\n**參數**\n\n- **hours**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 表示時間值之小時 (0-23) 的數字。 若此值超出正常範圍 (0-23),則函數將傳回 `null`。\n- **minutes**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 表示時間值之分鐘的數字 (0-59) 若此值超出正常範圍 (0-59),則函數將傳回 `null`。\n- **seconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 表示時間值之秒的數字 (0-59) 若此值超出正常範圍 (0-59),則函數將傳回 `null`。\n- **milliseconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 表示時間值之毫秒的數字 (0-999) 若此值超出正常範圍 (0-999),則函數將傳回 `null`。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5675
5675
  }
5676
5676
  },
5677
5677
  "parametersInfo": {
@@ -5685,8 +5685,8 @@
5685
5685
  "bundle": "core",
5686
5686
  "sinceVersion": "1.24",
5687
5687
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
5688
- "description": "Creates a Time value from a given number representing milliseconds since midnight.",
5689
- "examples": "\n##### 範例\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(8119800);\n// returns a Time value of 02:15:19.800\n```\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(86400001);\n// returns null - the input value exceeds the number of milliseconds in a day\n```\n\n",
5688
+ "description": "從表示自午夜以來的毫秒數的給定數字中建立時間值。",
5689
+ "examples": "\n##### 範例\n\n傳回自午夜以來的毫秒數的時間\n\n```arcade\nTime(8119800);\n// returns a Time value of 02:15:19.800\n```\n\n傳回自午夜以來的毫秒數的時間\n\n```arcade\nTime(86400001);\n// returns null - the input value exceeds the number of milliseconds in a day\n```\n\n",
5690
5690
  "completion": {
5691
5691
  "label": "Time",
5692
5692
  "detail": "Time(numValue) -> Time",
@@ -5696,7 +5696,7 @@
5696
5696
  "kind": 3,
5697
5697
  "documentation": {
5698
5698
  "kind": "markdown",
5699
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given number representing milliseconds since midnight.\n\n**參數**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight. If this value is larger than 86,400,000 (the maximum number of milliseconds in a day) or less than 0, the function will return `null`.\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5699
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示自午夜以來的毫秒數的給定數字中建立時間值。\n\n**參數**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 自午夜以來的毫秒數。 如果此值大於 86,400,000 (一天中的最大毫秒數) 或小於 0,則函數將傳回 `null`。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5700
5700
  }
5701
5701
  },
5702
5702
  "parametersInfo": {
@@ -5710,8 +5710,8 @@
5710
5710
  "bundle": "core",
5711
5711
  "sinceVersion": "1.24",
5712
5712
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
5713
- "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
5714
- "examples": "\n##### 範例\n\nCreates a Time value from a text value representing the time\n\n```arcade\nTime(\"1:20 PM\");\n// returns a Time value of 13:20:00\n```\n\nCreates a Time value from a text value representing the time and formatting\n\n```arcade\nTime(\"12 05 04\", \"HH MM ss\")\n// returns a Time value of 12:05:04\n```\n\n",
5713
+ "description": "從表示時間的文字輸入中建立時間值,並選擇性使用指示文字格式的輸入。",
5714
+ "examples": "\n##### 範例\n\n從表示時間的文字值中建立時間值\n\n```arcade\nTime(\"1:20 PM\");\n// returns a Time value of 13:20:00\n```\n\n從表示時間和格式的文字值中建立時間值\n\n```arcade\nTime(\"12 05 04\", \"HH MM ss\")\n// returns a Time value of 12:05:04\n```\n\n",
5715
5715
  "completion": {
5716
5716
  "label": "Time",
5717
5717
  "detail": "Time(textValue, format?) -> Time",
@@ -5721,7 +5721,7 @@
5721
5721
  "kind": 3,
5722
5722
  "documentation": {
5723
5723
  "kind": "markdown",
5724
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a text input representing time, with an optional input indicating the text's format.\n\n**參數**\n\n- **textValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value representing a time.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value indicating the format of the `timeValue` input. \nPossible values: \n - `h`: Civilian hours, not padded (0 - 12) \n - `hh`: Civilian hours, padded (00 - 12) \n - `H`: Military hours, not padded (0 - 24) \n - `HH`: Military hours, padded (00 - 24) \n - `m`: Minutes, not padded (0 - 59) \n - `mm`: Minutes, padded (00 - 59) \n - `s`: Seconds, not padded (0 - 59) \n - `ss`: Seconds, padded (00 - 59) \n - `A`: AM/PM \n\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5724
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示時間的文字輸入中建立時間值,並選擇性使用指示文字格式的輸入。\n\n**參數**\n\n- **textValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 表示時間的文字值。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指示 `timeValue` 輸入格式的文字值。 \n可能值: \n - `h`: 平民小時,未填充 (0 - 12) \n - `hh`: 平民小時,填充 (00 - 12) \n - `H`: 軍事小時,未填充 (0 - 24) \n - `HH`: 軍事小時,填充 (00 - 24) \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59) \n - `A`: AM/PM \n\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5725
5725
  }
5726
5726
  },
5727
5727
  "parametersInfo": {
@@ -5735,8 +5735,8 @@
5735
5735
  "bundle": "core",
5736
5736
  "sinceVersion": "1.24",
5737
5737
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
5738
- "description": "Creates a Time value from a given date.",
5739
- "examples": "\n##### 範例\n\nReturns the Time from the given date\n\n```arcade\nTime(Date(2008,10,11,10,30));\n// returns a Time value of 10:30:00 AM\n```\n\n",
5738
+ "description": "從指定的日期中建立時間值。",
5739
+ "examples": "\n##### 範例\n\n從指定的日期中傳回時間\n\n```arcade\nTime(Date(2008,10,11,10,30));\n// returns a Time value of 10:30:00 AM\n```\n\n",
5740
5740
  "completion": {
5741
5741
  "label": "Time",
5742
5742
  "detail": "Time(dateValue) -> Time",
@@ -5746,7 +5746,7 @@
5746
5746
  "kind": 3,
5747
5747
  "documentation": {
5748
5748
  "kind": "markdown",
5749
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5749
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從指定的日期中建立時間值。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從中取得時間的日期。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5750
5750
  }
5751
5751
  },
5752
5752
  "parametersInfo": {
@@ -5760,8 +5760,8 @@
5760
5760
  "bundle": "core",
5761
5761
  "sinceVersion": "1.24",
5762
5762
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time6",
5763
- "description": "Creates a copy of a Time value.",
5764
- "examples": "\n##### 範例\n\nCreates a copy of Time value\n\n```arcade\nvar originalTime = Time(23,32,00)\nvar copiedTime = Time(originalTime)\nreturn copiedTime;\n```\n\n",
5763
+ "description": "建立時間值的副本。",
5764
+ "examples": "\n##### 範例\n\n建立時間值的副本\n\n```arcade\nvar originalTime = Time(23,32,00)\nvar copiedTime = Time(originalTime)\nreturn copiedTime;\n```\n\n",
5765
5765
  "completion": {
5766
5766
  "label": "Time",
5767
5767
  "detail": "Time(timeValue) -> Time",
@@ -5771,7 +5771,7 @@
5771
5771
  "kind": 3,
5772
5772
  "documentation": {
5773
5773
  "kind": "markdown",
5774
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a Time value.\n\n**參數**\n\n- **timeValue**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value to copy.\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5774
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立時間值的副本。\n\n**參數**\n\n- **timeValue**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 要複製的時間值。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
5775
5775
  }
5776
5776
  },
5777
5777
  "parametersInfo": {
@@ -5811,8 +5811,8 @@
5811
5811
  "bundle": "core",
5812
5812
  "sinceVersion": "1.24",
5813
5813
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
5814
- "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.",
5815
- "examples": "\n##### 範例\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
5814
+ "description": "傳回指定日期的時區。 時區將是以下之一:\n\n- 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n- 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` `-03:00`)\n\n- `system` - 時區將基於用戶端或系統的本地時區\n\n- `UTC` - 座標通用時間\n\n- `Unknown` - 未定義時區資訊。",
5815
+ "examples": "\n##### 範例\n\n傳回日期的時區\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
5816
5816
  "completion": {
5817
5817
  "label": "TimeZone",
5818
5818
  "detail": "TimeZone(dateValue) -> Text",
@@ -5822,7 +5822,7 @@
5822
5822
  "kind": 3,
5823
5823
  "documentation": {
5824
5824
  "kind": "markdown",
5825
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
5825
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指定日期的時區。 時區將是以下之一:\n\n- 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n- 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` `-03:00`)\n\n- `system` - 時區將基於用戶端或系統的本地時區\n\n- `UTC` - 座標通用時間\n\n- `Unknown` - 未定義時區資訊。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從中取得時區的日期值。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
5826
5826
  }
5827
5827
  },
5828
5828
  "parametersInfo": {
@@ -5836,8 +5836,8 @@
5836
5836
  "bundle": "core",
5837
5837
  "sinceVersion": "1.24",
5838
5838
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
5839
- "description": "Returns the time zone offset in milliseconds from UTC for the given Date.",
5840
- "examples": "\n##### 範例\n\nReturns the time zone offset in milliseconds from UTC\n\n```arcade\nvar inputDate = Date(2011, 10, 11, 8, 0, 0, 0, \"America/New_York\")\nTimeZoneOffset(inputDate);\n// returns -18000000\n```\n\n",
5839
+ "description": "從給定日期的 UTC 中傳回以毫秒為單位的時區偏移。",
5840
+ "examples": "\n##### 範例\n\n從 UTC 中傳回以毫秒為單位的時區偏移\n\n```arcade\nvar inputDate = Date(2011, 10, 11, 8, 0, 0, 0, \"America/New_York\")\nTimeZoneOffset(inputDate);\n// returns -18000000\n```\n\n",
5841
5841
  "completion": {
5842
5842
  "label": "TimeZoneOffset",
5843
5843
  "detail": "TimeZoneOffset(dateValue) -> Number",
@@ -5847,7 +5847,7 @@
5847
5847
  "kind": 3,
5848
5848
  "documentation": {
5849
5849
  "kind": "markdown",
5850
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone offset in milliseconds from UTC for the given Date.\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone offset.\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5850
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從給定日期的 UTC 中傳回以毫秒為單位的時區偏移。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從中取得時區偏移的日期值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5851
5851
  }
5852
5852
  },
5853
5853
  "parametersInfo": {
@@ -5860,8 +5860,8 @@
5860
5860
  "name": "today",
5861
5861
  "bundle": "core",
5862
5862
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#today",
5863
- "description": "傳回客戶當地時間中的目前日期。",
5864
- "examples": "\n##### 範例\n\n傳回目前的日期 (截斷時間),例如,Mon Oct 24 2016 00:00:00 GMT-0700 (PDT)\n\n```arcade\nToday()\n```\n\n",
5863
+ "description": "傳回設定檔的執行內容所在時區的目前日期午夜。",
5864
+ "examples": "\n##### 範例\n\n傳回目前日期午夜,例如 Mon Oct 24 2016 00:00:00 GMT-0700 (PDT)\n\n```arcade\nToday()\n```\n\n",
5865
5865
  "completion": {
5866
5866
  "label": "Today",
5867
5867
  "detail": "Today() -> Date",
@@ -5871,7 +5871,7 @@
5871
5871
  "kind": 3,
5872
5872
  "documentation": {
5873
5873
  "kind": "markdown",
5874
- "value": "傳回客戶當地時間中的目前日期。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5874
+ "value": "傳回設定檔的執行內容所在時區的目前日期午夜。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5875
5875
  }
5876
5876
  },
5877
5877
  "parametersInfo": {
@@ -5886,7 +5886,7 @@
5886
5886
  "sinceVersion": "1.1",
5887
5887
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#tolocal",
5888
5888
  "description": "建立與輸入日期的紀元相符的新日期值,並將時區設為用戶端的本地或系統時區。",
5889
- "examples": "\n##### 範例\n\n將 UTC 日期轉換為用戶端的本地時間\n\n```arcade\n// Date represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nToLocal(Timestamp())\n```\n\n",
5889
+ "examples": "\n##### 範例\n\n建立與輸入日期同一紀元的當地時間日期\n\n```arcade\n// Date represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nToLocal(Timestamp())\n```\n\n",
5890
5890
  "completion": {
5891
5891
  "label": "ToLocal",
5892
5892
  "detail": "ToLocal(inputDate) -> Date",
@@ -5896,7 +5896,7 @@
5896
5896
  "kind": 3,
5897
5897
  "documentation": {
5898
5898
  "kind": "markdown",
5899
- "value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為用戶端的本地或系統時區。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 可轉換成客戶當地時間的日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5899
+ "value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為用戶端的本地或系統時區。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 以用戶端當地時間表示的日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5900
5900
  }
5901
5901
  },
5902
5902
  "parametersInfo": {
@@ -5910,8 +5910,8 @@
5910
5910
  "bundle": "core",
5911
5911
  "sinceVersion": "1.1",
5912
5912
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#toutc",
5913
- "description": "建立與輸入日期的紀元相符的新日期值,並將時區設為 UTC。",
5914
- "examples": "\n##### 範例\n\n將日期物件從本地時間轉換為 UTC\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nNow()\n// Date represents Jan 27, 2023, 8:41:20 PM UTC\nToUTC(Now())\n```\n\n",
5913
+ "description": "建立與輸入日期的紀元相符的新日期值,並將時區設為 UTC (座標通用時間)。",
5914
+ "examples": "\n##### 範例\n\n建立與輸入日期同一紀元的 UTC 時間日期。\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nNow()\n// Date represents Jan 27, 2023, 8:41:20 PM UTC\nToUTC(Now())\n```\n\n",
5915
5915
  "completion": {
5916
5916
  "label": "ToUTC",
5917
5917
  "detail": "ToUTC(inputDate) -> Date",
@@ -5921,7 +5921,7 @@
5921
5921
  "kind": 3,
5922
5922
  "documentation": {
5923
5923
  "kind": "markdown",
5924
- "value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為 UTC。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 要轉換為 UTC 時間的日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5924
+ "value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為 UTC (座標通用時間)。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - UTC 時間表示的日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5925
5925
  }
5926
5926
  },
5927
5927
  "parametersInfo": {
@@ -5936,7 +5936,7 @@
5936
5936
  "sinceVersion": "1.14",
5937
5937
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
5938
5938
  "description": "傳回給定日期年份中的週數。 值範圍為 0-53,其中一年的第一週為 `0`,一年的最後一週為 `51`、 `52` 或 `53` (根據年份而定)。 第一週和最後一週的長度可能不是完整 7 天。",
5939
- "examples": "\n##### 範例\n\n使用一週的預設開始日 (星期日)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\n將一週的開始設為星期四\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\n將一週的開始設為星期五\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\nReturns the week from the DateOnly value\n\n```arcade\nWeek(DateOnly(1996, 11, 10))\n// returns 49\n```\n\n",
5939
+ "examples": "\n##### 範例\n\n使用一週的預設開始日 (星期日)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\n將一週的開始設為星期四\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\n將一週的開始設為星期五\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\n從 DateOnly 值傳回週次\n\n```arcade\nWeek(DateOnly(1996, 11, 10))\n// returns 49\n```\n\n",
5940
5940
  "completion": {
5941
5941
  "label": "Week",
5942
5942
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -5946,7 +5946,7 @@
5946
5946
  "kind": 3,
5947
5947
  "documentation": {
5948
5948
  "kind": "markdown",
5949
- "value": "**[自版本 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回給定日期年份中的週數。 值範圍為 0-53,其中一年的第一週為 `0`,一年的最後一週為 `51`、 `52` 或 `53` (根據年份而定)。 第一週和最後一週的長度可能不是完整 7 天。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要取得週次的日期值。\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 代表一週開始日期的數字。 星期日 = 0;星期一 = 1;星期二 = 2; 星期三 = 3;星期四 = 4;星期五 = 5;星期六 = 6。 預設值為 `0` (星期日)。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5949
+ "value": "**[自版本 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回給定日期年份中的週數。 值範圍為 0-53,其中一年的第一週為 `0`,一年的最後一週為 `51`、 `52` 或 `53` (根據年份而定)。 第一週和最後一週的長度可能不是完整 7 天。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要從中取得週次的日期或 DateOnly 值。 從版本 1.24 開始支援 DateOnly 值。\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 代表一週開始日期的數字。 星期日 = 0;星期一 = 1;星期二 = 2; 星期三 = 3;星期四 = 4;星期五 = 5;星期六 = 6。 預設值為 `0` (星期日)。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5950
5950
  }
5951
5951
  },
5952
5952
  "parametersInfo": {
@@ -5960,7 +5960,7 @@
5960
5960
  "bundle": "core",
5961
5961
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
5962
5962
  "description": "傳回指定日期的星期幾。 值範圍為 0-6,其中星期日為 `0`,星期六為 `6`。",
5963
- "examples": "\n##### 範例\n\n傳回指定日期的星期幾。 傳回 `3` 代表星期三。\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value.\n\n```arcade\nWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
5963
+ "examples": "\n##### 範例\n\n傳回指定日期的星期幾。 傳回 `3` 代表星期三。\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n傳回給定 DateOnly 值的星期幾。\n\n```arcade\nWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
5964
5964
  "completion": {
5965
5965
  "label": "Weekday",
5966
5966
  "detail": "Weekday(dateValue) -> Number",
@@ -5970,7 +5970,7 @@
5970
5970
  "kind": 3,
5971
5971
  "documentation": {
5972
5972
  "kind": "markdown",
5973
- "value": "傳回指定日期的星期幾。 值範圍為 0-6,其中星期日為 `0`,星期六為 `6`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中傳回星期幾的日期值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5973
+ "value": "傳回指定日期的星期幾。 值範圍為 0-6,其中星期日為 `0`,星期六為 `6`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中傳回星期幾的日期或 DateOnly 值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5974
5974
  }
5975
5975
  },
5976
5976
  "parametersInfo": {
@@ -5984,7 +5984,7 @@
5984
5984
  "bundle": "core",
5985
5985
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
5986
5986
  "description": "傳回指定日期的年。",
5987
- "examples": "\n##### 範例\n\n取得目前日期的年\n\n```arcade\nYear(Now())\n```\n\nGets the year of the given DateOnly value\n\n```arcade\nYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
5987
+ "examples": "\n##### 範例\n\n取得目前日期的年\n\n```arcade\nYear(Now())\n```\n\n取得指定 DateOnly 值的年\n\n```arcade\nYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
5988
5988
  "completion": {
5989
5989
  "label": "Year",
5990
5990
  "detail": "Year(dateValue) -> Number",
@@ -5994,7 +5994,7 @@
5994
5994
  "kind": 3,
5995
5995
  "documentation": {
5996
5996
  "kind": "markdown",
5997
- "value": "傳回指定日期的年。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得年的日期值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5997
+ "value": "傳回指定日期的年。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要從中取得年的日期或 DateOnly 值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5998
5998
  }
5999
5999
  },
6000
6000
  "parametersInfo": {
@@ -6492,8 +6492,8 @@
6492
6492
  "bundle": "core",
6493
6493
  "sinceVersion": "1.24",
6494
6494
  "link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
6495
- "description": "Indicates if two values are equal. Object types (i.e. Arrays, Features, Dictionaries, Geometry) will return true only if they are the same object.",
6496
- "examples": "\n##### 範例\n\nCompares if two values are equal\n\n```arcade\nEquals(1, \"1\") // returns false\n\nvar testVal = \"test\";\nEquals(testVal, \"test\") // returns true\n\nvar array1 = Array(5);\nvar array2 = Array(5);\nEquals(array1, array2); // returns false\nEquals(array1, array1); // returns true\n```\n\n",
6495
+ "description": "指示兩個值是否相等。 僅當它們是同一物件時,物件類型 (即陣列、圖徵、字典、幾何) 才會傳回 true",
6496
+ "examples": "\n##### 範例\n\n比較兩個值是否相等\n\n```arcade\nEquals(1, \"1\") // returns false\n\nvar testVal = \"test\";\nEquals(testVal, \"test\") // returns true\n\nvar array1 = Array(5);\nvar array2 = Array(5);\nEquals(array1, array2); // returns false\nEquals(array1, array1); // returns true\n```\n\n",
6497
6497
  "completion": {
6498
6498
  "label": "Equals",
6499
6499
  "detail": "Equals(value1, value2) -> Boolean",
@@ -6503,7 +6503,7 @@
6503
6503
  "kind": 3,
6504
6504
  "documentation": {
6505
6505
  "kind": "markdown",
6506
- "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates if two values are equal. Object types (i.e. Arrays, Features, Dictionaries, Geometry) will return true only if they are the same object.\n\n**參數**\n\n- **value1**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The first input value.\n- **value2**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The second input value.\n\n**返回值**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6506
+ "value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n指示兩個值是否相等。 僅當它們是同一物件時,物件類型 (即陣列、圖徵、字典、幾何) 才會傳回 true。\n\n**參數**\n\n- **value1**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 第一個輸入值。\n- **value2**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 第二個輸入值。\n\n**返回值**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6507
6507
  }
6508
6508
  },
6509
6509
  "parametersInfo": {
@@ -6746,7 +6746,7 @@
6746
6746
  "bundle": "core",
6747
6747
  "sinceVersion": "1.12",
6748
6748
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#back",
6749
- "description": "傳回陣列的最後一個元素。 如果陣列是空的,則 `Back(inputArray)` 將造成指令碼評估失敗。",
6749
+ "description": "傳回陣列的最後一個元素。 如果輸入點陣為空,則表達式評估將失敗。",
6750
6750
  "examples": "\n##### 範例\n\n傳回 `'gray'`。\n\n```arcade\nvar colors = ['orange', 'purple', 'gray']\nBack(colors)\n```\n\n",
6751
6751
  "completion": {
6752
6752
  "label": "Back",
@@ -6757,7 +6757,7 @@
6757
6757
  "kind": 3,
6758
6758
  "documentation": {
6759
6759
  "kind": "markdown",
6760
- "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回陣列的最後一個元素。 如果陣列是空的,則 `Back(inputArray)` 將造成指令碼評估失敗。\n\n**參數**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - 要從中取得最後一個值的陣列。\n\n**返回值**: [Any](https://developers.arcgis.com/arcade/guide/types/#any)"
6760
+ "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回陣列的最後一個元素。 如果輸入點陣為空,則表達式評估將失敗。\n\n**參數**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - 要從中取得最後一個值的陣列。\n\n**返回值**: [Any](https://developers.arcgis.com/arcade/guide/types/#any)"
6761
6761
  }
6762
6762
  },
6763
6763
  "parametersInfo": {
@@ -6921,7 +6921,7 @@
6921
6921
  "bundle": "core",
6922
6922
  "sinceVersion": "1.12",
6923
6923
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
6924
- "description": "傳回陣列的第一個元素。 如果陣列為空,則 `Front(inputArray)` 將傳回 null。",
6924
+ "description": "傳回陣列的第一個元素。 如果輸入點陣為空,則表達式評估將失敗。",
6925
6925
  "examples": "\n##### 範例\n\n傳回 `'orange'`。\n\n```arcade\nvar colors = ['orange', 'purple', 'gray']\nFront(colors)\n```\n\n",
6926
6926
  "completion": {
6927
6927
  "label": "Front",
@@ -6932,7 +6932,7 @@
6932
6932
  "kind": 3,
6933
6933
  "documentation": {
6934
6934
  "kind": "markdown",
6935
- "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回陣列的第一個元素。 如果陣列為空,則 `Front(inputArray)` 將傳回 null。\n\n**參數**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - 要從中取得第一個值的陣列。\n\n**返回值**: [Any](https://developers.arcgis.com/arcade/guide/types/#any)"
6935
+ "value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回陣列的第一個元素。 如果輸入點陣為空,則表達式評估將失敗。\n\n**參數**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - 從中取得第一個值的陣列。\n\n**返回值**: [Any](https://developers.arcgis.com/arcade/guide/types/#any)"
6936
6936
  }
6937
6937
  },
6938
6938
  "parametersInfo": {