@arcgis/coding-components 1.0.0-beta.11 → 1.0.0-beta.13

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 (130) 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 +858 -192
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +821 -155
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +829 -163
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +829 -163
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +829 -163
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +829 -163
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +829 -163
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +858 -192
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +853 -187
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +829 -163
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +829 -163
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +858 -192
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +829 -163
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +858 -192
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +829 -163
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +829 -163
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +858 -192
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +821 -155
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +859 -193
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +859 -193
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +829 -163
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +829 -163
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +829 -163
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +829 -163
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +829 -163
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +829 -163
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +829 -163
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +829 -163
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +858 -192
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +829 -163
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +829 -163
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +845 -179
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +829 -163
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +858 -192
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +858 -192
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +858 -192
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +858 -192
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +859 -193
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +859 -193
  41. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +859 -193
  42. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +1 -2
  43. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +1 -2
  44. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +1 -2
  45. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +1 -2
  46. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +1 -2
  47. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +1 -2
  48. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +1 -2
  49. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +1 -2
  50. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +1 -2
  51. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +1 -2
  52. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +1 -2
  53. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +1 -2
  54. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +1 -2
  55. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +1 -2
  56. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +1 -2
  57. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +1 -2
  58. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +1 -2
  59. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +1 -2
  60. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +1 -2
  61. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +1 -2
  62. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +1 -2
  63. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +1 -2
  64. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +1 -2
  65. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +1 -2
  66. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +1 -2
  67. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +1 -2
  68. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +1 -2
  69. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +1 -2
  70. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +1 -2
  71. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +1 -2
  72. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +1 -2
  73. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +1 -2
  74. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +1 -2
  75. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +1 -2
  76. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +1 -2
  77. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +1 -2
  78. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +1 -2
  79. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +1 -2
  80. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +1 -2
  81. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +1 -2
  82. package/dist/arcgis-coding-components/index.esm.js +1 -1
  83. package/dist/arcgis-coding-components/{p-ed254359.js → p-00c0b964.js} +1 -1
  84. package/dist/arcgis-coding-components/{p-616bcc2c.js → p-0f471c2c.js} +1 -1
  85. package/dist/arcgis-coding-components/{p-4d7cdaf4.js → p-2daa5deb.js} +1 -1
  86. package/dist/arcgis-coding-components/{p-b866ffa3.js → p-65933e8a.js} +1 -1
  87. package/dist/arcgis-coding-components/{p-2eee5b07.js → p-92019d78.js} +7 -7
  88. package/dist/arcgis-coding-components/{p-ee4aaf72.js → p-bcd478e3.js} +1 -1
  89. package/dist/arcgis-coding-components/{p-41feaa6e.js → p-be85ec3d.js} +1 -1
  90. package/dist/arcgis-coding-components/{p-63d6d128.js → p-bf83cfac.js} +1 -1
  91. package/dist/arcgis-coding-components/p-dd2d53e7.entry.js +1 -0
  92. package/dist/arcgis-coding-components/{p-c14a46af.js → p-f1b6ba59.js} +1 -1
  93. package/dist/cjs/{arcade-defaults-f77b7bae.js → arcade-defaults-990ceb0a.js} +51 -33
  94. package/dist/cjs/{arcade-mode-4b1d5adc.js → arcade-mode-6a101da0.js} +1 -1
  95. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +40 -10
  96. package/dist/cjs/{cssMode-c21a8b34.js → cssMode-ef738198.js} +1 -1
  97. package/dist/cjs/{html-baddeebf.js → html-e97a8c1e.js} +1 -1
  98. package/dist/cjs/{htmlMode-3ca73779.js → htmlMode-0afb8251.js} +1 -1
  99. package/dist/cjs/index.cjs.js +1 -1
  100. package/dist/cjs/{javascript-4226e8d4.js → javascript-09fbcb7d.js} +2 -2
  101. package/dist/cjs/{jsonMode-4496d6b9.js → jsonMode-9a315af5.js} +1 -1
  102. package/dist/cjs/{tsMode-6fa6f2f6.js → tsMode-000c3471.js} +1 -1
  103. package/dist/cjs/{typescript-5b6bab68.js → typescript-a9f8ce6c.js} +1 -1
  104. package/dist/components/arcade-api.js +2 -1
  105. package/dist/components/arcade-defaults.js +3 -23
  106. package/dist/components/arcade-results.js +40 -10
  107. package/dist/components/arcade-suggestions.js +2 -1
  108. package/dist/components/arcade-variables.js +1 -1
  109. package/dist/components/arcgis-arcade-editor.js +1 -1
  110. package/dist/components/code-editor.js +1 -1
  111. package/dist/components/fields.js +125 -0
  112. package/dist/components/index2.js +282 -32
  113. package/dist/components/utilities.js +2 -334
  114. package/dist/esm/{arcade-defaults-24670a1d.js → arcade-defaults-a8808d6a.js} +52 -33
  115. package/dist/esm/{arcade-mode-dc10ed9f.js → arcade-mode-6c8aff99.js} +1 -1
  116. package/dist/esm/arcgis-arcade-api_6.entry.js +40 -10
  117. package/dist/esm/{cssMode-0ae84348.js → cssMode-e19675cf.js} +1 -1
  118. package/dist/esm/{html-c18864a6.js → html-0e2f7c2f.js} +1 -1
  119. package/dist/esm/{htmlMode-426699f2.js → htmlMode-a4dd6993.js} +1 -1
  120. package/dist/esm/index.js +1 -1
  121. package/dist/esm/{javascript-982f2d73.js → javascript-9d754452.js} +2 -2
  122. package/dist/esm/{jsonMode-170e0a0e.js → jsonMode-cfafe91a.js} +1 -1
  123. package/dist/esm/{tsMode-99d2e8e5.js → tsMode-612386a7.js} +1 -1
  124. package/dist/esm/{typescript-de4f8a27.js → typescript-a17e2ba3.js} +1 -1
  125. package/dist/types/utils/arcade-executor.d.ts +35 -3
  126. package/dist/types/utils/fields.d.ts +10 -0
  127. package/dist/types/utils/profile/types.d.ts +2 -2
  128. package/dist/types/utils/utilities.d.ts +0 -6
  129. package/package.json +8 -8
  130. package/dist/arcgis-coding-components/p-9a6baa15.entry.js +0 -1
@@ -221,6 +221,31 @@
221
221
  "max": 2
222
222
  }
223
223
  },
224
+ {
225
+ "type": "function",
226
+ "name": "equals",
227
+ "bundle": "core",
228
+ "sinceVersion": "1.24",
229
+ "link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
230
+ "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.",
231
+ "examples": "\n##### Esempio\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",
232
+ "completion": {
233
+ "label": "Equals",
234
+ "detail": "Equals(value1, value2) -> Boolean",
235
+ "insertText": "Equals(${1:value1_}, ${2:value2_})$0",
236
+ "insertTextMode": 2,
237
+ "insertTextFormat": 2,
238
+ "kind": 3,
239
+ "documentation": {
240
+ "kind": "markdown",
241
+ "value": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
242
+ }
243
+ },
244
+ "parametersInfo": {
245
+ "min": 2,
246
+ "max": 2
247
+ }
248
+ },
224
249
  {
225
250
  "type": "function",
226
251
  "name": "iif",
@@ -1004,29 +1029,54 @@
1004
1029
  "id": "date_functions",
1005
1030
  "title": "Funzioni di data",
1006
1031
  "items": [
1032
+ {
1033
+ "type": "function",
1034
+ "name": "changetimezone",
1035
+ "bundle": "core",
1036
+ "sinceVersion": "1.24",
1037
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
1038
+ "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`.",
1039
+ "examples": "\n##### Esempi\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",
1040
+ "completion": {
1041
+ "label": "ChangeTimeZone",
1042
+ "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
1043
+ "insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
1044
+ "insertTextMode": 2,
1045
+ "insertTextFormat": 2,
1046
+ "kind": 3,
1047
+ "documentation": {
1048
+ "kind": "markdown",
1049
+ "value": "**[Versione iniziale 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**Parametri**\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. \nThe time zone must be one of the following:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1050
+ }
1051
+ },
1052
+ "parametersInfo": {
1053
+ "min": 2,
1054
+ "max": 2
1055
+ }
1056
+ },
1007
1057
  [
1008
1058
  {
1009
1059
  "type": "function",
1010
1060
  "name": "date",
1011
1061
  "bundle": "core",
1012
1062
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
1013
- "description": "Crea un oggetto Data da un insieme di parametri. Per impostazione predefinita, le date sono create nell'ora locale del client o sistema.",
1014
- "examples": "\n##### Esempi\n\nCrea una data che rappresenta l'ora fornita nell'ora locale del sistema che esegue Arcade\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nCrea una data che rappresenta l'ora attuale nell'ora locale del sistema che esegue Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
1063
+ "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.",
1064
+ "examples": "\n##### Esempi\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",
1015
1065
  "completion": {
1016
1066
  "label": "Date",
1017
- "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
1067
+ "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
1018
1068
  "insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
1019
1069
  "insertTextMode": 2,
1020
1070
  "insertTextFormat": 2,
1021
1071
  "kind": 3,
1022
1072
  "documentation": {
1023
1073
  "kind": "markdown",
1024
- "value": "Crea un oggetto Data da un insieme di parametri. Per impostazione predefinita, le date sono create nell'ora locale del client o sistema.\n\n**Parametri**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Un numero che rappresenta un anno.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Il mese (0-11) in cui `0` è gennaio e `11` è dicembre.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La data del mese (1-31)\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - L'ora del giorno (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Il minuto dell'ora (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Il secondo del minuto (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Il millisecondo del secondo (0-999).\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1074
+ "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**Parametri**\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. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1025
1075
  }
1026
1076
  },
1027
1077
  "parametersInfo": {
1028
1078
  "min": 3,
1029
- "max": 7
1079
+ "max": 8
1030
1080
  }
1031
1081
  },
1032
1082
  {
@@ -1034,8 +1084,8 @@
1034
1084
  "name": "date",
1035
1085
  "bundle": "core",
1036
1086
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
1037
- "description": "Crea una data con il numero epoch Unix nel fuso orario locale del client o sistema.",
1038
- "examples": "\n##### Esempio\n\nMillisecondi a partire dal 1 gennaio 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n",
1087
+ "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.",
1088
+ "examples": "\n##### Esempi\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",
1039
1089
  "completion": {
1040
1090
  "label": "Date",
1041
1091
  "detail": "Date(epoch?) -> Date",
@@ -1045,7 +1095,7 @@
1045
1095
  "kind": 3,
1046
1096
  "documentation": {
1047
1097
  "kind": "markdown",
1048
- "value": "Crea una data con il numero epoch Unix nel fuso orario locale del client o sistema.\n\n**Parametro**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Il numero di millisecondi dal 1° gennaio 1970 UTC.\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1098
+ "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**Parametro**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1049
1099
  }
1050
1100
  },
1051
1101
  "parametersInfo": {
@@ -1058,8 +1108,8 @@
1058
1108
  "name": "date",
1059
1109
  "bundle": "core",
1060
1110
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
1061
- "description": "Converte un valore di testo ISO 8601 in un oggetto Data nel fuso orario locale del client o sistema.",
1062
- "examples": "\n##### Esempio\n\nValore di testo 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",
1111
+ "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.",
1112
+ "examples": "\n##### Esempi\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",
1063
1113
  "completion": {
1064
1114
  "label": "Date",
1065
1115
  "detail": "Date(timestamp?) -> Date",
@@ -1069,70 +1119,376 @@
1069
1119
  "kind": 3,
1070
1120
  "documentation": {
1071
1121
  "kind": "markdown",
1072
- "value": "Converte un valore di testo ISO 8601 in un oggetto Data nel fuso orario locale del client o sistema.\n\n**Parametro**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Un valore testuale ISO 8601 da convertire in data.\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1122
+ "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**Parametro**\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**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1073
1123
  }
1074
1124
  },
1075
1125
  "parametersInfo": {
1076
1126
  "min": 0,
1077
1127
  "max": 1
1078
1128
  }
1129
+ },
1130
+ {
1131
+ "type": "function",
1132
+ "name": "date",
1133
+ "bundle": "core",
1134
+ "sinceVersion": "1.24",
1135
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
1136
+ "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
1137
+ "examples": "\n##### Esempio\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",
1138
+ "completion": {
1139
+ "label": "Date",
1140
+ "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
1141
+ "insertText": "Date(${1:dateOnlyValue_})$0",
1142
+ "insertTextMode": 2,
1143
+ "insertTextFormat": 2,
1144
+ "kind": 3,
1145
+ "documentation": {
1146
+ "kind": "markdown",
1147
+ "value": "**[Versione iniziale 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**Parametri**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): 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. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1148
+ }
1149
+ },
1150
+ "parametersInfo": {
1151
+ "min": 1,
1152
+ "max": 3
1153
+ }
1154
+ },
1155
+ {
1156
+ "type": "function",
1157
+ "name": "date",
1158
+ "bundle": "core",
1159
+ "sinceVersion": "1.24",
1160
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
1161
+ "description": "Creates a copy of the given Date.",
1162
+ "examples": "\n##### Esempio\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
1163
+ "completion": {
1164
+ "label": "Date",
1165
+ "detail": "Date(dateValue) -> Date",
1166
+ "insertText": "Date(${1:dateValue_})$0",
1167
+ "insertTextMode": 2,
1168
+ "insertTextFormat": 2,
1169
+ "kind": 3,
1170
+ "documentation": {
1171
+ "kind": "markdown",
1172
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1173
+ }
1174
+ },
1175
+ "parametersInfo": {
1176
+ "min": 1,
1177
+ "max": 1
1178
+ }
1079
1179
  }
1080
1180
  ],
1081
- {
1082
- "type": "function",
1083
- "name": "dateadd",
1084
- "bundle": "core",
1085
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd",
1086
- "description": "Aggiunge a una data una determinata quantità di tempo nelle unità specificate e restituisce una nuova data.",
1087
- "examples": "\n##### Esempio\n\nAggiunge 7 giorni alla data nel campo specificato\n\n```arcade\nvar startDate = Date($feature.dateField);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n```\n\n",
1088
- "completion": {
1089
- "label": "DateAdd",
1090
- "detail": "DateAdd(dateValue, addValue, units?) -> Date",
1091
- "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
1092
- "insertTextMode": 2,
1093
- "insertTextFormat": 2,
1094
- "kind": 3,
1095
- "documentation": {
1096
- "kind": "markdown",
1097
- "value": "Aggiunge a una data una determinata quantità di tempo nelle unità specificate e restituisce una nuova data.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - La data di input a cui aggiungere tempo.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Il valore da aggiungere alla data nelle unità specificate.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Le unità del numero da aggiungere alla data. Predefinito è 'millisecondi`. I tipi di unità supportati includono millisecondi, secondi, minuti, ore, giorni, mesi e anni\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1181
+ [
1182
+ {
1183
+ "type": "function",
1184
+ "name": "dateadd",
1185
+ "bundle": "core",
1186
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
1187
+ "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.",
1188
+ "examples": "\n##### Esempio\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",
1189
+ "completion": {
1190
+ "label": "DateAdd",
1191
+ "detail": "DateAdd(dateValue, addValue, units?) -> Date",
1192
+ "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
1193
+ "insertTextMode": 2,
1194
+ "insertTextFormat": 2,
1195
+ "kind": 3,
1196
+ "documentation": {
1197
+ "kind": "markdown",
1198
+ "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**Parametri**\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**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1199
+ }
1200
+ },
1201
+ "parametersInfo": {
1202
+ "min": 2,
1203
+ "max": 3
1098
1204
  }
1099
1205
  },
1100
- "parametersInfo": {
1101
- "min": 2,
1102
- "max": 3
1206
+ {
1207
+ "type": "function",
1208
+ "name": "dateadd",
1209
+ "bundle": "core",
1210
+ "sinceVersion": "1.24",
1211
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
1212
+ "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
1213
+ "examples": "\n##### Esempi\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",
1214
+ "completion": {
1215
+ "label": "DateAdd",
1216
+ "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
1217
+ "insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
1218
+ "insertTextMode": 2,
1219
+ "insertTextFormat": 2,
1220
+ "kind": 3,
1221
+ "documentation": {
1222
+ "kind": "markdown",
1223
+ "value": "**[Versione iniziale 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**Parametri**\n\n- **dateOnlyValue**: 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**Valore restituito**: DateOnly"
1224
+ }
1225
+ },
1226
+ "parametersInfo": {
1227
+ "min": 2,
1228
+ "max": 3
1229
+ }
1230
+ },
1231
+ {
1232
+ "type": "function",
1233
+ "name": "dateadd",
1234
+ "bundle": "core",
1235
+ "sinceVersion": "1.24",
1236
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
1237
+ "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
1238
+ "examples": "\n##### Esempi\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",
1239
+ "completion": {
1240
+ "label": "DateAdd",
1241
+ "detail": "DateAdd(timeValue, addValue, units?) -> Time",
1242
+ "insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
1243
+ "insertTextMode": 2,
1244
+ "insertTextFormat": 2,
1245
+ "kind": 3,
1246
+ "documentation": {
1247
+ "kind": "markdown",
1248
+ "value": "**[Versione iniziale 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**Parametri**\n\n- **timeValue**: 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**Valore restituito**: Time"
1249
+ }
1250
+ },
1251
+ "parametersInfo": {
1252
+ "min": 2,
1253
+ "max": 3
1254
+ }
1103
1255
  }
1104
- },
1105
- {
1106
- "type": "function",
1107
- "name": "datediff",
1108
- "bundle": "core",
1109
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff",
1110
- "description": "Sottrae due date e restituisce la differenza nelle unità specificate.",
1111
- "examples": "\n##### Esempio\n\nSottrae due date e restituisce l'età\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n",
1112
- "completion": {
1113
- "label": "DateDiff",
1114
- "detail": "DateDiff(date1, date2, units?) -> Number",
1115
- "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
1116
- "insertTextMode": 2,
1117
- "insertTextFormat": 2,
1118
- "kind": 3,
1119
- "documentation": {
1120
- "kind": "markdown",
1121
- "value": "Sottrae due date e restituisce la differenza nelle unità specificate.\n\n**Parametri**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Il valore data da cui sottrarre una seconda data.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Il valore data da sottrarre dalla prima data specificata.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Le unità nelle quali restituire la differenza di due date specifiche. I tipi di unità supportati includono millisecondi, secondi, minuti, ore, giorni, mesi e anni. Il valore predefinito è millisecondi.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1256
+ ],
1257
+ [
1258
+ {
1259
+ "type": "function",
1260
+ "name": "datediff",
1261
+ "bundle": "core",
1262
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
1263
+ "description": "Subtracts two Dates, and returns the difference in the specified units.",
1264
+ "examples": "\n##### Esempi\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",
1265
+ "completion": {
1266
+ "label": "DateDiff",
1267
+ "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
1268
+ "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
1269
+ "insertTextMode": 2,
1270
+ "insertTextFormat": 2,
1271
+ "kind": 3,
1272
+ "documentation": {
1273
+ "kind": "markdown",
1274
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametri**\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. \nPossible values: \n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1275
+ }
1276
+ },
1277
+ "parametersInfo": {
1278
+ "min": 2,
1279
+ "max": 4
1122
1280
  }
1123
1281
  },
1124
- "parametersInfo": {
1125
- "min": 2,
1126
- "max": 3
1282
+ {
1283
+ "type": "function",
1284
+ "name": "datediff",
1285
+ "bundle": "core",
1286
+ "sinceVersion": "1.24",
1287
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
1288
+ "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
1289
+ "examples": "\n##### Esempio\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",
1290
+ "completion": {
1291
+ "label": "DateDiff",
1292
+ "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
1293
+ "insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
1294
+ "insertTextMode": 2,
1295
+ "insertTextFormat": 2,
1296
+ "kind": 3,
1297
+ "documentation": {
1298
+ "kind": "markdown",
1299
+ "value": "**[Versione iniziale 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**Parametri**\n\n- **dateOnly1**: DateOnly - The DateOnly value from which to subtract a second DateOnly value.\n- **dateOnly2**: 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**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1300
+ }
1301
+ },
1302
+ "parametersInfo": {
1303
+ "min": 2,
1304
+ "max": 3
1305
+ }
1306
+ },
1307
+ {
1308
+ "type": "function",
1309
+ "name": "datediff",
1310
+ "bundle": "core",
1311
+ "sinceVersion": "1.24",
1312
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
1313
+ "description": "Subtracts two Time values, and returns the difference in the specified units.",
1314
+ "examples": "\n##### Esempio\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",
1315
+ "completion": {
1316
+ "label": "DateDiff",
1317
+ "detail": "DateDiff(time1, time2, units?) -> Number",
1318
+ "insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
1319
+ "insertTextMode": 2,
1320
+ "insertTextFormat": 2,
1321
+ "kind": 3,
1322
+ "documentation": {
1323
+ "kind": "markdown",
1324
+ "value": "**[Versione iniziale 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**Parametri**\n\n- **time1**: Time - The Time value from which to subtract a second Time value.\n- **time2**: 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**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1325
+ }
1326
+ },
1327
+ "parametersInfo": {
1328
+ "min": 2,
1329
+ "max": 3
1330
+ }
1127
1331
  }
1128
- },
1332
+ ],
1333
+ [
1334
+ {
1335
+ "type": "function",
1336
+ "name": "dateonly",
1337
+ "bundle": "core",
1338
+ "sinceVersion": "1.24",
1339
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
1340
+ "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
1341
+ "examples": "\n##### Esempio\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
1342
+ "completion": {
1343
+ "label": "DateOnly",
1344
+ "detail": "DateOnly() -> DateOnly",
1345
+ "insertText": "DateOnly($0)",
1346
+ "insertTextMode": 2,
1347
+ "insertTextFormat": 2,
1348
+ "kind": 3,
1349
+ "documentation": {
1350
+ "kind": "markdown",
1351
+ "value": "**[Versione iniziale 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**Valore restituito**: DateOnly"
1352
+ }
1353
+ },
1354
+ "parametersInfo": {
1355
+ "min": 0,
1356
+ "max": 0
1357
+ }
1358
+ },
1359
+ {
1360
+ "type": "function",
1361
+ "name": "dateonly",
1362
+ "bundle": "core",
1363
+ "sinceVersion": "1.24",
1364
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
1365
+ "description": "Creates a DateOnly value from a given date.",
1366
+ "examples": "\n##### Esempio\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",
1367
+ "completion": {
1368
+ "label": "DateOnly",
1369
+ "detail": "DateOnly(dateValue) -> DateOnly",
1370
+ "insertText": "DateOnly(${1:dateValue_})$0",
1371
+ "insertTextMode": 2,
1372
+ "insertTextFormat": 2,
1373
+ "kind": 3,
1374
+ "documentation": {
1375
+ "kind": "markdown",
1376
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**Valore restituito**: DateOnly"
1377
+ }
1378
+ },
1379
+ "parametersInfo": {
1380
+ "min": 1,
1381
+ "max": 1
1382
+ }
1383
+ },
1384
+ {
1385
+ "type": "function",
1386
+ "name": "dateonly",
1387
+ "bundle": "core",
1388
+ "sinceVersion": "1.24",
1389
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
1390
+ "description": "Creates a DateOnly date with the given Unix epoch number.",
1391
+ "examples": "\n##### Esempio\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",
1392
+ "completion": {
1393
+ "label": "DateOnly",
1394
+ "detail": "DateOnly(epoch) -> DateOnly",
1395
+ "insertText": "DateOnly(${1:epoch_})$0",
1396
+ "insertTextMode": 2,
1397
+ "insertTextFormat": 2,
1398
+ "kind": 3,
1399
+ "documentation": {
1400
+ "kind": "markdown",
1401
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**Parametro**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Valore restituito**: DateOnly"
1402
+ }
1403
+ },
1404
+ "parametersInfo": {
1405
+ "min": 1,
1406
+ "max": 1
1407
+ }
1408
+ },
1409
+ {
1410
+ "type": "function",
1411
+ "name": "dateonly",
1412
+ "bundle": "core",
1413
+ "sinceVersion": "1.24",
1414
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
1415
+ "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
1416
+ "examples": "\n##### Esempio\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",
1417
+ "completion": {
1418
+ "label": "DateOnly",
1419
+ "detail": "DateOnly(year, month, day) -> DateOnly",
1420
+ "insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
1421
+ "insertTextMode": 2,
1422
+ "insertTextFormat": 2,
1423
+ "kind": 3,
1424
+ "documentation": {
1425
+ "kind": "markdown",
1426
+ "value": "**[Versione iniziale 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**Parametri**\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\n**Valore restituito**: DateOnly"
1427
+ }
1428
+ },
1429
+ "parametersInfo": {
1430
+ "min": 3,
1431
+ "max": 3
1432
+ }
1433
+ },
1434
+ {
1435
+ "type": "function",
1436
+ "name": "dateonly",
1437
+ "bundle": "core",
1438
+ "sinceVersion": "1.24",
1439
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
1440
+ "description": "Creates a DateOnly value from a text input representing an ISO formatted date, or another formatted text with an additional input indicating the date's format.",
1441
+ "examples": "\n##### Esempi\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",
1442
+ "completion": {
1443
+ "label": "DateOnly",
1444
+ "detail": "DateOnly(dateValue, format?) -> DateOnly",
1445
+ "insertText": "DateOnly(${1:dateValue_})$0",
1446
+ "insertTextMode": 2,
1447
+ "insertTextFormat": 2,
1448
+ "kind": 3,
1449
+ "documentation": {
1450
+ "kind": "markdown",
1451
+ "value": "**[Versione iniziale 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 with an additional input indicating the date's format.\n\n**Parametri**\n\n- **dateValue**: [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**Valore restituito**: DateOnly"
1452
+ }
1453
+ },
1454
+ "parametersInfo": {
1455
+ "min": 1,
1456
+ "max": 2
1457
+ }
1458
+ },
1459
+ {
1460
+ "type": "function",
1461
+ "name": "dateonly",
1462
+ "bundle": "core",
1463
+ "sinceVersion": "1.24",
1464
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
1465
+ "description": "Creates a copy of a DateOnly value.",
1466
+ "examples": "\n##### Esempio\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",
1467
+ "completion": {
1468
+ "label": "DateOnly",
1469
+ "detail": "DateOnly(dateOnlyValue) -> DateOnly",
1470
+ "insertText": "DateOnly(${1:dateOnlyValue_})$0",
1471
+ "insertTextMode": 2,
1472
+ "insertTextFormat": 2,
1473
+ "kind": 3,
1474
+ "documentation": {
1475
+ "kind": "markdown",
1476
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**Parametro**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**Valore restituito**: DateOnly"
1477
+ }
1478
+ },
1479
+ "parametersInfo": {
1480
+ "min": 1,
1481
+ "max": 1
1482
+ }
1483
+ }
1484
+ ],
1129
1485
  {
1130
1486
  "type": "function",
1131
1487
  "name": "day",
1132
1488
  "bundle": "core",
1133
1489
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
1134
1490
  "description": "Restituisce il giorno del mese della data specificata.",
1135
- "examples": "\n##### Esempio\n\nOttiene il giorno del mese della data corrente\n\n```arcade\nDay(Now())\n```\n\n",
1491
+ "examples": "\n##### Esempi\n\nOttiene il giorno del mese della data corrente\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",
1136
1492
  "completion": {
1137
1493
  "label": "Day",
1138
1494
  "detail": "Day(dateValue) -> Number",
@@ -1142,7 +1498,7 @@
1142
1498
  "kind": 3,
1143
1499
  "documentation": {
1144
1500
  "kind": "markdown",
1145
- "value": "Restituisce il giorno del mese della data specificata.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere il giorno del mese.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1501
+ "value": "Restituisce il giorno del mese della data specificata.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valore data da cui ottenere il giorno del mese.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1146
1502
  }
1147
1503
  },
1148
1504
  "parametersInfo": {
@@ -1150,30 +1506,57 @@
1150
1506
  "max": 1
1151
1507
  }
1152
1508
  },
1153
- {
1154
- "type": "function",
1155
- "name": "hour",
1156
- "bundle": "core",
1157
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour",
1158
- "description": "Restituisce l'ora dell'indicazione temporale nella data specificata (0-23).",
1159
- "examples": "\n##### Esempio\n\nOttiene l'ora dell'ora corrente\n\n```arcade\nHour(Now())\n```\n\n",
1160
- "completion": {
1161
- "label": "Hour",
1162
- "detail": "Hour(dateValue) -> Number",
1163
- "insertText": "Hour(${1:dateValue_})$0",
1164
- "insertTextMode": 2,
1165
- "insertTextFormat": 2,
1166
- "kind": 3,
1167
- "documentation": {
1168
- "kind": "markdown",
1169
- "value": "Restituisce l'ora dell'indicazione temporale nella data specificata (0-23).\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere l'ora dell'indicazione temporale.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1509
+ [
1510
+ {
1511
+ "type": "function",
1512
+ "name": "hour",
1513
+ "bundle": "core",
1514
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
1515
+ "description": "Returns the hour of the time in the given date (0-23).",
1516
+ "examples": "\n##### Esempio\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
1517
+ "completion": {
1518
+ "label": "Hour",
1519
+ "detail": "Hour(dateValue) -> Number",
1520
+ "insertText": "Hour(${1:dateValue_})$0",
1521
+ "insertTextMode": 2,
1522
+ "insertTextFormat": 2,
1523
+ "kind": 3,
1524
+ "documentation": {
1525
+ "kind": "markdown",
1526
+ "value": "Returns the hour of the time in the given date (0-23).\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the hour of the time.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1527
+ }
1528
+ },
1529
+ "parametersInfo": {
1530
+ "min": 1,
1531
+ "max": 1
1170
1532
  }
1171
1533
  },
1172
- "parametersInfo": {
1173
- "min": 1,
1174
- "max": 1
1534
+ {
1535
+ "type": "function",
1536
+ "name": "hour",
1537
+ "bundle": "core",
1538
+ "sinceVersion": "1.24",
1539
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
1540
+ "description": "Returns the hour of the given time (0-23).",
1541
+ "examples": "\n##### Esempio\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
1542
+ "completion": {
1543
+ "label": "Hour",
1544
+ "detail": "Hour(timeValue) -> Number",
1545
+ "insertText": "Hour(${1:timeValue_})$0",
1546
+ "insertTextMode": 2,
1547
+ "insertTextFormat": 2,
1548
+ "kind": 3,
1549
+ "documentation": {
1550
+ "kind": "markdown",
1551
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**Parametro**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1552
+ }
1553
+ },
1554
+ "parametersInfo": {
1555
+ "min": 1,
1556
+ "max": 1
1557
+ }
1175
1558
  }
1176
- },
1559
+ ],
1177
1560
  {
1178
1561
  "type": "function",
1179
1562
  "name": "isomonth",
@@ -1181,7 +1564,7 @@
1181
1564
  "sinceVersion": "1.12",
1182
1565
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
1183
1566
  "description": "Restituisce il mese della data specificata, in base alla norma ISO 8601. I valori vanno da 1 a 12 dove gennaio è '1' e dicembre è '12'.",
1184
- "examples": "\n##### Esempio\n\nOttiene il mese della data specificata, in base alla norma ISO 8601. Restituisce '12' per il mese di dicembre.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n",
1567
+ "examples": "\n##### Esempi\n\nOttiene il mese della data specificata, in base alla norma ISO 8601. Restituisce '12' per il mese di dicembre.\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",
1185
1568
  "completion": {
1186
1569
  "label": "ISOMonth",
1187
1570
  "detail": "ISOMonth(dateValue) -> Number",
@@ -1191,7 +1574,7 @@
1191
1574
  "kind": 3,
1192
1575
  "documentation": {
1193
1576
  "kind": "markdown",
1194
- "value": "**[Versione iniziale 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce il mese della data specificata, in base alla norma ISO 8601. I valori vanno da 1 a 12 dove gennaio è '1' e dicembre è '12'.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere il mese.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1577
+ "value": "**[Versione iniziale 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce il mese della data specificata, in base alla norma ISO 8601. I valori vanno da 1 a 12 dove gennaio è '1' e dicembre è '12'.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valore data da cui ottenere il mese.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1195
1578
  }
1196
1579
  },
1197
1580
  "parametersInfo": {
@@ -1206,7 +1589,7 @@
1206
1589
  "sinceVersion": "1.12",
1207
1590
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
1208
1591
  "description": "Restituisce la settimana dell'anno della data specificata, in base al calendario della data della settimana ISO 8601. I valori vanno da 1 a 53 dove la prima settimana dell'anno è '1' e l'ultima settimana dell'anno è '52' o '53', a seconda dell'anno.",
1209
- "examples": "\n##### Esempio\n\nOttiene la settimana della data indicata, in base alla norma ISO 8601. Restituisce '1', poiché questa data è inclusa nella prima settimana dell'anno successivo.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
1592
+ "examples": "\n##### Esempi\n\nOttiene la settimana della data indicata, in base alla norma ISO 8601. Restituisce '1', poiché questa data è inclusa nella prima settimana dell'anno successivo.\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",
1210
1593
  "completion": {
1211
1594
  "label": "ISOWeek",
1212
1595
  "detail": "ISOWeek(dateValue) -> Number",
@@ -1216,7 +1599,7 @@
1216
1599
  "kind": 3,
1217
1600
  "documentation": {
1218
1601
  "kind": "markdown",
1219
- "value": "**[Versione iniziale 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce la settimana dell'anno della data specificata, in base al calendario della data della settimana ISO 8601. I valori vanno da 1 a 53 dove la prima settimana dell'anno è '1' e l'ultima settimana dell'anno è '52' o '53', a seconda dell'anno.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere la settimana.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1602
+ "value": "**[Versione iniziale 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce la settimana dell'anno della data specificata, in base al calendario della data della settimana ISO 8601. I valori vanno da 1 a 53 dove la prima settimana dell'anno è '1' e l'ultima settimana dell'anno è '52' o '53', a seconda dell'anno.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valore data da cui ottenere la settimana.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1220
1603
  }
1221
1604
  },
1222
1605
  "parametersInfo": {
@@ -1231,7 +1614,7 @@
1231
1614
  "sinceVersion": "1.12",
1232
1615
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
1233
1616
  "description": "Restituisce il giorno della settimana della data specificata, in base alla norma ISO 8601. I valori vanno da 1 a 7, dove lunedì è '1' e domenica è '7'.",
1234
- "examples": "\n##### Esempio\n\nRestituisce il giorno della settimana della data specificata, in base alla norma ISO 8601. Restituisce '3' per mercoledì.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n",
1617
+ "examples": "\n##### Esempi\n\nRestituisce il giorno della settimana della data specificata, in base alla norma ISO 8601. Restituisce '3' per mercoledì.\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",
1235
1618
  "completion": {
1236
1619
  "label": "ISOWeekday",
1237
1620
  "detail": "ISOWeekday(dateValue) -> Number",
@@ -1241,7 +1624,7 @@
1241
1624
  "kind": 3,
1242
1625
  "documentation": {
1243
1626
  "kind": "markdown",
1244
- "value": "**[Versione iniziale 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce il giorno della settimana della data specificata, in base alla norma ISO 8601. I valori vanno da 1 a 7, dove lunedì è '1' e domenica è '7'.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui viene restituito il giorno della settimana.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1627
+ "value": "**[Versione iniziale 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce il giorno della settimana della data specificata, in base alla norma ISO 8601. I valori vanno da 1 a 7, dove lunedì è '1' e domenica è '7'.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valore data da cui viene restituito il giorno della settimana.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1245
1628
  }
1246
1629
  },
1247
1630
  "parametersInfo": {
@@ -1256,7 +1639,7 @@
1256
1639
  "sinceVersion": "1.12",
1257
1640
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
1258
1641
  "description": "Restituisce l'anno della data specificata, in base al calendario settimanale ISO 8601.",
1259
- "examples": "\n##### Esempio\n\nOttiene l'anno della data specificata, in base al calendario della data della settimana ISO 8601. Restituisce '1981', poiché questa data è inclusa nella prima settimana dell'anno successivo.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n",
1642
+ "examples": "\n##### Esempi\n\nOttiene l'anno della data specificata, in base al calendario della data della settimana ISO 8601. Restituisce '1981', poiché questa data è inclusa nella prima settimana dell'anno successivo.\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",
1260
1643
  "completion": {
1261
1644
  "label": "ISOYear",
1262
1645
  "detail": "ISOYear(dateValue) -> Number",
@@ -1266,7 +1649,7 @@
1266
1649
  "kind": 3,
1267
1650
  "documentation": {
1268
1651
  "kind": "markdown",
1269
- "value": "**[Versione iniziale 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce l'anno della data specificata, in base al calendario settimanale ISO 8601.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere l'anno.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1652
+ "value": "**[Versione iniziale 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce l'anno della data specificata, in base al calendario settimanale ISO 8601.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valore data da cui ottenere l'anno.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1270
1653
  }
1271
1654
  },
1272
1655
  "parametersInfo": {
@@ -1274,61 +1657,115 @@
1274
1657
  "max": 1
1275
1658
  }
1276
1659
  },
1277
- {
1278
- "type": "function",
1279
- "name": "millisecond",
1280
- "bundle": "core",
1281
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
1282
- "description": "Restituisce il millisecondo dell'indicazione temporale nella data.",
1283
- "examples": "\n##### Esempio\n\nOttiene il millisecondo dell'ora corrente\n\n```arcade\nMillisecond(Now())\n```\n\n",
1284
- "completion": {
1285
- "label": "Millisecond",
1286
- "detail": "Millisecond(dateValue) -> Number",
1287
- "insertText": "Millisecond(${1:dateValue_})$0",
1288
- "insertTextMode": 2,
1289
- "insertTextFormat": 2,
1290
- "kind": 3,
1291
- "documentation": {
1292
- "kind": "markdown",
1293
- "value": "Restituisce il millisecondo dell'indicazione temporale nella data.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere il millisecondo del periodo.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1660
+ [
1661
+ {
1662
+ "type": "function",
1663
+ "name": "millisecond",
1664
+ "bundle": "core",
1665
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
1666
+ "description": "Returns the millisecond of the time in the date.",
1667
+ "examples": "\n##### Esempio\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
1668
+ "completion": {
1669
+ "label": "Millisecond",
1670
+ "detail": "Millisecond(dateValue) -> Number",
1671
+ "insertText": "Millisecond(${1:dateValue_})$0",
1672
+ "insertTextMode": 2,
1673
+ "insertTextFormat": 2,
1674
+ "kind": 3,
1675
+ "documentation": {
1676
+ "kind": "markdown",
1677
+ "value": "Returns the millisecond of the time in the date.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the millisecond of the time.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1678
+ }
1679
+ },
1680
+ "parametersInfo": {
1681
+ "min": 1,
1682
+ "max": 1
1294
1683
  }
1295
1684
  },
1296
- "parametersInfo": {
1297
- "min": 1,
1298
- "max": 1
1685
+ {
1686
+ "type": "function",
1687
+ "name": "millisecond",
1688
+ "bundle": "core",
1689
+ "sinceVersion": "1.24",
1690
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
1691
+ "description": "Returns the millisecond of the given time.",
1692
+ "examples": "\n##### Esempio\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
1693
+ "completion": {
1694
+ "label": "Millisecond",
1695
+ "detail": "Millisecond(timeValue) -> Number",
1696
+ "insertText": "Millisecond(${1:timeValue_})$0",
1697
+ "insertTextMode": 2,
1698
+ "insertTextFormat": 2,
1699
+ "kind": 3,
1700
+ "documentation": {
1701
+ "kind": "markdown",
1702
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**Parametro**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1703
+ }
1704
+ },
1705
+ "parametersInfo": {
1706
+ "min": 1,
1707
+ "max": 1
1708
+ }
1299
1709
  }
1300
- },
1301
- {
1302
- "type": "function",
1303
- "name": "minute",
1304
- "bundle": "core",
1305
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
1306
- "description": "Restituisce il minuto dell'indicazione temporale nella data specificata.",
1307
- "examples": "\n##### Esempio\n\nOttiene il minuto dell'ora corrente\n\n```arcade\nMinute(Now())\n```\n\n",
1308
- "completion": {
1309
- "label": "Minute",
1310
- "detail": "Minute(dateValue) -> Number",
1311
- "insertText": "Minute(${1:dateValue_})$0",
1312
- "insertTextMode": 2,
1313
- "insertTextFormat": 2,
1314
- "kind": 3,
1315
- "documentation": {
1316
- "kind": "markdown",
1317
- "value": "Restituisce il minuto dell'indicazione temporale nella data specificata.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere il minuto dell'indicazione temporale.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1710
+ ],
1711
+ [
1712
+ {
1713
+ "type": "function",
1714
+ "name": "minute",
1715
+ "bundle": "core",
1716
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
1717
+ "description": "Returns the minute of the time in the given date.",
1718
+ "examples": "\n##### Esempio\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
1719
+ "completion": {
1720
+ "label": "Minute",
1721
+ "detail": "Minute(dateValue) -> Number",
1722
+ "insertText": "Minute(${1:dateValue_})$0",
1723
+ "insertTextMode": 2,
1724
+ "insertTextFormat": 2,
1725
+ "kind": 3,
1726
+ "documentation": {
1727
+ "kind": "markdown",
1728
+ "value": "Returns the minute of the time in the given date.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the minute of the time.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1729
+ }
1730
+ },
1731
+ "parametersInfo": {
1732
+ "min": 1,
1733
+ "max": 1
1318
1734
  }
1319
1735
  },
1320
- "parametersInfo": {
1321
- "min": 1,
1322
- "max": 1
1736
+ {
1737
+ "type": "function",
1738
+ "name": "minute",
1739
+ "bundle": "core",
1740
+ "sinceVersion": "1.24",
1741
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
1742
+ "description": "Returns the minute of the given time.",
1743
+ "examples": "\n##### Esempio\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
1744
+ "completion": {
1745
+ "label": "Minute",
1746
+ "detail": "Minute(timeValue) -> Number",
1747
+ "insertText": "Minute(${1:timeValue_})$0",
1748
+ "insertTextMode": 2,
1749
+ "insertTextFormat": 2,
1750
+ "kind": 3,
1751
+ "documentation": {
1752
+ "kind": "markdown",
1753
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**Parametro**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1754
+ }
1755
+ },
1756
+ "parametersInfo": {
1757
+ "min": 1,
1758
+ "max": 1
1759
+ }
1323
1760
  }
1324
- },
1761
+ ],
1325
1762
  {
1326
1763
  "type": "function",
1327
1764
  "name": "month",
1328
1765
  "bundle": "core",
1329
1766
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
1330
1767
  "description": "Restituisce il mese della data specificata. I valori variano da 0 a 11, con gennaio corrispondente a `0` e dicembre corrispondente a `11`.",
1331
- "examples": "\n##### Esempio\n\nOttiene il mese della data specificata. Restituisce 11 per il mese di dicembre.\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
1768
+ "examples": "\n##### Esempi\n\nOttiene il mese della data specificata. Restituisce 11 per il mese di dicembre.\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",
1332
1769
  "completion": {
1333
1770
  "label": "Month",
1334
1771
  "detail": "Month(dateValue) -> Number",
@@ -1338,7 +1775,7 @@
1338
1775
  "kind": 3,
1339
1776
  "documentation": {
1340
1777
  "kind": "markdown",
1341
- "value": "Restituisce il mese della data specificata. I valori variano da 0 a 11, con gennaio corrispondente a `0` e dicembre corrispondente a `11`.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere il mese.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1778
+ "value": "Restituisce il mese della data specificata. I valori variano da 0 a 11, con gennaio corrispondente a `0` e dicembre corrispondente a `11`.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valore data da cui ottenere il mese.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1342
1779
  }
1343
1780
  },
1344
1781
  "parametersInfo": {
@@ -1370,23 +1807,227 @@
1370
1807
  "max": 0
1371
1808
  }
1372
1809
  },
1810
+ [
1811
+ {
1812
+ "type": "function",
1813
+ "name": "second",
1814
+ "bundle": "core",
1815
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
1816
+ "description": "Returns the second of the time in the date.",
1817
+ "examples": "\n##### Esempio\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
1818
+ "completion": {
1819
+ "label": "Second",
1820
+ "detail": "Second(dateValue) -> Number",
1821
+ "insertText": "Second(${1:dateValue_})$0",
1822
+ "insertTextMode": 2,
1823
+ "insertTextFormat": 2,
1824
+ "kind": 3,
1825
+ "documentation": {
1826
+ "kind": "markdown",
1827
+ "value": "Returns the second of the time in the date.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the second of the time.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1828
+ }
1829
+ },
1830
+ "parametersInfo": {
1831
+ "min": 1,
1832
+ "max": 1
1833
+ }
1834
+ },
1835
+ {
1836
+ "type": "function",
1837
+ "name": "second",
1838
+ "bundle": "core",
1839
+ "sinceVersion": "1.24",
1840
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
1841
+ "description": "Returns the second of the given time.",
1842
+ "examples": "\n##### Esempio\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
1843
+ "completion": {
1844
+ "label": "Second",
1845
+ "detail": "Second(timeValue) -> Number",
1846
+ "insertText": "Second(${1:timeValue_})$0",
1847
+ "insertTextMode": 2,
1848
+ "insertTextFormat": 2,
1849
+ "kind": 3,
1850
+ "documentation": {
1851
+ "kind": "markdown",
1852
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**Parametro**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1853
+ }
1854
+ },
1855
+ "parametersInfo": {
1856
+ "min": 1,
1857
+ "max": 1
1858
+ }
1859
+ }
1860
+ ],
1861
+ [
1862
+ {
1863
+ "type": "function",
1864
+ "name": "time",
1865
+ "bundle": "core",
1866
+ "sinceVersion": "1.24",
1867
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
1868
+ "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
1869
+ "examples": "\n##### Esempio\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",
1870
+ "completion": {
1871
+ "label": "Time",
1872
+ "detail": "Time() -> Time",
1873
+ "insertText": "Time($0)",
1874
+ "insertTextMode": 2,
1875
+ "insertTextFormat": 2,
1876
+ "kind": 3,
1877
+ "documentation": {
1878
+ "kind": "markdown",
1879
+ "value": "**[Versione iniziale 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**Valore restituito**: Time"
1880
+ }
1881
+ },
1882
+ "parametersInfo": {
1883
+ "min": 0,
1884
+ "max": 0
1885
+ }
1886
+ },
1887
+ {
1888
+ "type": "function",
1889
+ "name": "time",
1890
+ "bundle": "core",
1891
+ "sinceVersion": "1.24",
1892
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
1893
+ "description": "Creates a Time value from a given date.",
1894
+ "examples": "\n##### Esempio\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",
1895
+ "completion": {
1896
+ "label": "Time",
1897
+ "detail": "Time(dateValue) -> Time",
1898
+ "insertText": "Time(${1:dateValue_})$0",
1899
+ "insertTextMode": 2,
1900
+ "insertTextFormat": 2,
1901
+ "kind": 3,
1902
+ "documentation": {
1903
+ "kind": "markdown",
1904
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**Valore restituito**: Time"
1905
+ }
1906
+ },
1907
+ "parametersInfo": {
1908
+ "min": 1,
1909
+ "max": 1
1910
+ }
1911
+ },
1912
+ {
1913
+ "type": "function",
1914
+ "name": "time",
1915
+ "bundle": "core",
1916
+ "sinceVersion": "1.24",
1917
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
1918
+ "description": "Creates a Time value from a given number representing milliseconds since midnight. If the input value is larger than 86,400,000 (the maximum number of milliseconds in a day) or less than 0, the function will return `null`.",
1919
+ "examples": "\n##### Esempi\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",
1920
+ "completion": {
1921
+ "label": "Time",
1922
+ "detail": "Time(numValue) -> Time",
1923
+ "insertText": "Time(${1:numValue_})$0",
1924
+ "insertTextMode": 2,
1925
+ "insertTextFormat": 2,
1926
+ "kind": 3,
1927
+ "documentation": {
1928
+ "kind": "markdown",
1929
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given number representing milliseconds since midnight. If the input 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**Parametro**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**Valore restituito**: Time"
1930
+ }
1931
+ },
1932
+ "parametersInfo": {
1933
+ "min": 1,
1934
+ "max": 1
1935
+ }
1936
+ },
1937
+ {
1938
+ "type": "function",
1939
+ "name": "time",
1940
+ "bundle": "core",
1941
+ "sinceVersion": "1.24",
1942
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
1943
+ "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
1944
+ "examples": "\n##### Esempio\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",
1945
+ "completion": {
1946
+ "label": "Time",
1947
+ "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
1948
+ "insertText": "Time(${1:hours_}, ${2:minutes_})$0",
1949
+ "insertTextMode": 2,
1950
+ "insertTextFormat": 2,
1951
+ "kind": 3,
1952
+ "documentation": {
1953
+ "kind": "markdown",
1954
+ "value": "**[Versione iniziale 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**Parametri**\n\n- **hours**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing hours of the Time value (0-23).\n- **minutes**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the minutes of the Time value (0-59).\n- **seconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the seconds of the Time value (0-59).\n- **milliseconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the milliseconds of the Time value (0-999).\n\n**Valore restituito**: Time"
1955
+ }
1956
+ },
1957
+ "parametersInfo": {
1958
+ "min": 2,
1959
+ "max": 4
1960
+ }
1961
+ },
1962
+ {
1963
+ "type": "function",
1964
+ "name": "time",
1965
+ "bundle": "core",
1966
+ "sinceVersion": "1.24",
1967
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
1968
+ "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
1969
+ "examples": "\n##### Esempi\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",
1970
+ "completion": {
1971
+ "label": "Time",
1972
+ "detail": "Time(timeValue, format?) -> Time",
1973
+ "insertText": "Time(${1:timeValue_})$0",
1974
+ "insertTextMode": 2,
1975
+ "insertTextFormat": 2,
1976
+ "kind": 3,
1977
+ "documentation": {
1978
+ "kind": "markdown",
1979
+ "value": "**[Versione iniziale 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**Parametri**\n\n- **timeValue**: [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**Valore restituito**: Time"
1980
+ }
1981
+ },
1982
+ "parametersInfo": {
1983
+ "min": 1,
1984
+ "max": 2
1985
+ }
1986
+ }
1987
+ ],
1988
+ {
1989
+ "type": "function",
1990
+ "name": "timestamp",
1991
+ "bundle": "core",
1992
+ "sinceVersion": "1.1",
1993
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
1994
+ "description": "Crea un valore di data che rappresenta la data e ora correnti in UTC.",
1995
+ "examples": "\n##### Esempio\n\nCrea una data con il fuso UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
1996
+ "completion": {
1997
+ "label": "Timestamp",
1998
+ "detail": "Timestamp() -> Date",
1999
+ "insertText": "Timestamp($0)",
2000
+ "insertTextMode": 2,
2001
+ "insertTextFormat": 2,
2002
+ "kind": 3,
2003
+ "documentation": {
2004
+ "kind": "markdown",
2005
+ "value": "**[Versione iniziale 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCrea un valore di data che rappresenta la data e ora correnti in UTC.\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
2006
+ }
2007
+ },
2008
+ "parametersInfo": {
2009
+ "min": 0,
2010
+ "max": 0
2011
+ }
2012
+ },
1373
2013
  {
1374
2014
  "type": "function",
1375
- "name": "second",
2015
+ "name": "timezone",
1376
2016
  "bundle": "core",
1377
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second",
1378
- "description": "Restituisce il secondo dell'indicazione temporale nella data.",
1379
- "examples": "\n##### Esempio\n\nOttiene il secondo dell'ora corrente\n\n```arcade\nSecond(Now())\n```\n\n",
2017
+ "sinceVersion": "1.24",
2018
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
2019
+ "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (i.e. `America/New_York`)\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n- `system` - time zone will be based on the client or system's local time zone \n- `UTC`\n- `unknown`\n",
2020
+ "examples": "\n##### Esempio\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",
1380
2021
  "completion": {
1381
- "label": "Second",
1382
- "detail": "Second(dateValue) -> Number",
1383
- "insertText": "Second(${1:dateValue_})$0",
2022
+ "label": "TimeZone",
2023
+ "detail": "TimeZone(dateValue) -> Text",
2024
+ "insertText": "TimeZone(${1:dateValue_})$0",
1384
2025
  "insertTextMode": 2,
1385
2026
  "insertTextFormat": 2,
1386
2027
  "kind": 3,
1387
2028
  "documentation": {
1388
2029
  "kind": "markdown",
1389
- "value": "Restituisce il secondo dell'indicazione temporale nella data.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere il secondo dell'indicazione temporale.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2030
+ "value": "**[Versione iniziale 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- text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (i.e. `America/New_York`)\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n- `system` - time zone will be based on the client or system's local time zone \n- `UTC`\n- `unknown`\n\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Valore restituito**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1390
2031
  }
1391
2032
  },
1392
2033
  "parametersInfo": {
@@ -1396,27 +2037,27 @@
1396
2037
  },
1397
2038
  {
1398
2039
  "type": "function",
1399
- "name": "timestamp",
2040
+ "name": "timezoneoffset",
1400
2041
  "bundle": "core",
1401
- "sinceVersion": "1.1",
1402
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
1403
- "description": "Crea un valore di data che rappresenta la data e ora correnti in UTC.",
1404
- "examples": "\n##### Esempio\n\nCrea una data con il fuso UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
2042
+ "sinceVersion": "1.24",
2043
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
2044
+ "description": "Returns the time zone offset in minutes from UTC for the given Date.",
2045
+ "examples": "\n##### Esempio\n\nReturns the time zone offset in minutes 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",
1405
2046
  "completion": {
1406
- "label": "Timestamp",
1407
- "detail": "Timestamp() -> Date",
1408
- "insertText": "Timestamp($0)",
2047
+ "label": "TimeZoneOffset",
2048
+ "detail": "TimeZoneOffset(dateValue) -> Number",
2049
+ "insertText": "TimeZoneOffset(${1:dateValue_})$0",
1409
2050
  "insertTextMode": 2,
1410
2051
  "insertTextFormat": 2,
1411
2052
  "kind": 3,
1412
2053
  "documentation": {
1413
2054
  "kind": "markdown",
1414
- "value": "**[Versione iniziale 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCrea un valore di data che rappresenta la data e ora correnti in UTC.\n\n**Valore restituito**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
2055
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone offset in minutes from UTC for the given Date.\n\n**Parametro**\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**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1415
2056
  }
1416
2057
  },
1417
2058
  "parametersInfo": {
1418
- "min": 0,
1419
- "max": 0
2059
+ "min": 1,
2060
+ "max": 1
1420
2061
  }
1421
2062
  },
1422
2063
  {
@@ -1500,7 +2141,7 @@
1500
2141
  "sinceVersion": "1.14",
1501
2142
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
1502
2143
  "description": "Restituisce il numero di settimane dell'anno della data specificata. I valori vanno da 0 a 53 dove la prima settimana dell'anno è \\\"0\\\" e l'ultima settimana dell'anno è \\\"51\\\", \\\"52\\\" o \\\"53\\\", a seconda dell'anno. La prima e l'ultima settimana potrebbero non comprendere tutti e sette i giorni.",
1503
- "examples": "\n##### Esempi\n\nUsa il giorno iniziale predefinito (Domenica)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nImposta il giorno iniziale a Giovedì\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nImposta il giorno iniziale a Venerdì\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",
2144
+ "examples": "\n##### Esempi\n\nUsa il giorno iniziale predefinito (Domenica)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nImposta il giorno iniziale a Giovedì\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nImposta il giorno iniziale a Venerdì\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",
1504
2145
  "completion": {
1505
2146
  "label": "Week",
1506
2147
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -1510,7 +2151,7 @@
1510
2151
  "kind": 3,
1511
2152
  "documentation": {
1512
2153
  "kind": "markdown",
1513
- "value": "**[Versione iniziale 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce il numero di settimane dell'anno della data specificata. I valori vanno da 0 a 53 dove la prima settimana dell'anno è \\\"0\\\" e l'ultima settimana dell'anno è \\\"51\\\", \\\"52\\\" o \\\"53\\\", a seconda dell'anno. La prima e l'ultima settimana potrebbero non comprendere tutti e sette i giorni.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere la settimana.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Un numero che rappresenta il primo giorno della settimana. Domenica = 0; Lunedì = 1; Martedì = 2; Mercoledì = 3; Giovedì = 4; Venerdì = 5; Sabato = 6. Il predefinito è \\\"0\\\" (Domenica).\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2154
+ "value": "**[Versione iniziale 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce il numero di settimane dell'anno della data specificata. I valori vanno da 0 a 53 dove la prima settimana dell'anno è \\\"0\\\" e l'ultima settimana dell'anno è \\\"51\\\", \\\"52\\\" o \\\"53\\\", a seconda dell'anno. La prima e l'ultima settimana potrebbero non comprendere tutti e sette i giorni.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valore data da cui ottenere la settimana.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Un numero che rappresenta il primo giorno della settimana. Domenica = 0; Lunedì = 1; Martedì = 2; Mercoledì = 3; Giovedì = 4; Venerdì = 5; Sabato = 6. Il predefinito è \\\"0\\\" (Domenica).\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1514
2155
  }
1515
2156
  },
1516
2157
  "parametersInfo": {
@@ -1524,7 +2165,7 @@
1524
2165
  "bundle": "core",
1525
2166
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
1526
2167
  "description": "Restituisce il giorno della settimana della data specificata. I valori variano da 0 a 6, con domenica corrispondente a `0` e sabato a `6`.",
1527
- "examples": "\n##### Esempio\n\nRestituisce il giorno della settimana della data specificata. Restituisce '3' per mercoledì.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
2168
+ "examples": "\n##### Esempi\n\nRestituisce il giorno della settimana della data specificata. Restituisce '3' per mercoledì.\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",
1528
2169
  "completion": {
1529
2170
  "label": "Weekday",
1530
2171
  "detail": "Weekday(dateValue) -> Number",
@@ -1534,7 +2175,7 @@
1534
2175
  "kind": 3,
1535
2176
  "documentation": {
1536
2177
  "kind": "markdown",
1537
- "value": "Restituisce il giorno della settimana della data specificata. I valori variano da 0 a 6, con domenica corrispondente a `0` e sabato a `6`.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui viene restituito il giorno della settimana.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2178
+ "value": "Restituisce il giorno della settimana della data specificata. I valori variano da 0 a 6, con domenica corrispondente a `0` e sabato a `6`.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valore data da cui viene restituito il giorno della settimana.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1538
2179
  }
1539
2180
  },
1540
2181
  "parametersInfo": {
@@ -1548,7 +2189,7 @@
1548
2189
  "bundle": "core",
1549
2190
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
1550
2191
  "description": "Restituisce l'anno della data specificata.",
1551
- "examples": "\n##### Esempio\n\nOttiene l'anno della data corrente\n\n```arcade\nYear(Now())\n```\n\n",
2192
+ "examples": "\n##### Esempi\n\nOttiene l'anno della data corrente\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",
1552
2193
  "completion": {
1553
2194
  "label": "Year",
1554
2195
  "detail": "Year(dateValue) -> Number",
@@ -1558,7 +2199,7 @@
1558
2199
  "kind": 3,
1559
2200
  "documentation": {
1560
2201
  "kind": "markdown",
1561
- "value": "Restituisce l'anno della data specificata.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valore data da cui ottenere l'anno.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2202
+ "value": "Restituisce l'anno della data specificata.\n\n**Parametro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valore data da cui ottenere l'anno.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1562
2203
  }
1563
2204
  },
1564
2205
  "parametersInfo": {
@@ -1973,7 +2614,7 @@
1973
2614
  "bundle": "core",
1974
2615
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
1975
2616
  "description": "Converte il suo argomento in un valore testo e opzionalmente lo formatta. Restituisce `null` se fallisce.",
1976
- "examples": "\n##### Esempi\n\nAggiunge il numero a sinistra del decimale\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nLimita il numero a sinistra del decimale\n\n```arcade\nText(123, '00') // '23'\n```\n\nRaggruppa il numero per migliaia\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nArrotonda il numero a due posizioni decimali\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormatta numero come valuta\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nArrotonda il numero a due posizioni decimali\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nMantiene le cifre importanti e raggruppa per migliaia\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormatta il numero e formatta positivo/negativo. Se esiste un modello secondario negativo, serve solo a specificare il prefisso e il suffisso negativi.\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMoltiplica per 100 e formatta come percentuale\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormatta la data e l'ora al momento. es. Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nLe date salvate nel campo `datetime` rappresentano già l'ora locale, ma Arcade le considera come UTC. Sposta l'ora locale in UTC per evitare di applicare due volte l'offset del fuso orario.\n\n```arcade\nText(ToUTC($feature.datetime), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n",
2617
+ "examples": "\n##### Esempi\n\nAggiunge il numero a sinistra del decimale\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nLimita il numero a sinistra del decimale\n\n```arcade\nText(123, '00') // '23'\n```\n\nRaggruppa il numero per migliaia\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nArrotonda il numero a due posizioni decimali\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormatta numero come valuta\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nArrotonda il numero a due posizioni decimali\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nMantiene le cifre importanti e raggruppa per migliaia\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormatta il numero e formatta positivo/negativo. Se esiste un modello secondario negativo, serve solo a specificare il prefisso e il suffisso negativi.\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMoltiplica per 100 e formatta come percentuale\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormatta la data e l'ora al momento. es. Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nLe date salvate nel campo `datetime` rappresentano già l'ora locale, ma Arcade le considera come UTC. Sposta l'ora locale in UTC per evitare di applicare due volte l'offset del fuso orario.\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",
1977
2618
  "completion": {
1978
2619
  "label": "Text",
1979
2620
  "detail": "Text(value, format?) -> Text",
@@ -3568,6 +4209,31 @@
3568
4209
  "max": 4
3569
4210
  }
3570
4211
  },
4212
+ {
4213
+ "type": "function",
4214
+ "name": "featuresetbyrelationshipclass",
4215
+ "bundle": "data-access",
4216
+ "sinceVersion": "1.24",
4217
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
4218
+ "description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
4219
+ "examples": "\n##### Esempio\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",
4220
+ "completion": {
4221
+ "label": "FeatureSetByRelationshipClass",
4222
+ "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
4223
+ "insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
4224
+ "insertTextMode": 2,
4225
+ "insertTextFormat": 2,
4226
+ "kind": 3,
4227
+ "documentation": {
4228
+ "kind": "markdown",
4229
+ "value": "**[Versione iniziale 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature as a FeatureSet based on the class name of the relationship.\n\n**Parametri**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records. This feature must come from a feature service; feature collections are not supported.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The class name of the relationship according to the feature service associated with the given feature.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - 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**Valore restituito**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
4230
+ }
4231
+ },
4232
+ "parametersInfo": {
4233
+ "min": 2,
4234
+ "max": 4
4235
+ }
4236
+ },
3571
4237
  {
3572
4238
  "type": "function",
3573
4239
  "name": "featuresetbyrelationshipname",
@@ -6087,7 +6753,7 @@
6087
6753
  "kind": 3,
6088
6754
  "documentation": {
6089
6755
  "kind": "markdown",
6090
- "value": "**[Versione iniziale 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGenera un valore di codice hash per la variabile data.\n\n**Parametro**\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)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - La variabile da sottoporre ad hashing.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6756
+ "value": "**[Versione iniziale 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGenera un valore di codice hash per la variabile data.\n\n**Parametro**\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)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| DateOnly \\| Time - La variabile da sottoporre ad hashing.\n\n**Valore restituito**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6091
6757
  }
6092
6758
  },
6093
6759
  "parametersInfo": {