@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
@@ -555,29 +555,54 @@
555
555
  "id": "date_functions",
556
556
  "title": "Funções de data",
557
557
  "items": [
558
+ {
559
+ "type": "function",
560
+ "name": "changetimezone",
561
+ "bundle": "core",
562
+ "sinceVersion": "1.24",
563
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
564
+ "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`.",
565
+ "examples": "\n##### Exemplos\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",
566
+ "completion": {
567
+ "label": "ChangeTimeZone",
568
+ "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
569
+ "insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
570
+ "insertTextMode": 2,
571
+ "insertTextFormat": 2,
572
+ "kind": 3,
573
+ "documentation": {
574
+ "kind": "markdown",
575
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
576
+ }
577
+ },
578
+ "parametersInfo": {
579
+ "min": 2,
580
+ "max": 2
581
+ }
582
+ },
558
583
  [
559
584
  {
560
585
  "type": "function",
561
586
  "name": "date",
562
587
  "bundle": "core",
563
588
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
564
- "description": "Cria um objeto de Data a partir de um conjunto de parâmetros. Por predefinição, as datas são criadas na hora local do cliente ou sistema.",
565
- "examples": "\n##### Exemplos\n\nCria uma data que representa a hora específica na hora local do sistema a executar o Arcade\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nCria uma data que representa a hora atual na hora local do sistema a executar o Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
589
+ "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.",
590
+ "examples": "\n##### Exemplos\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",
566
591
  "completion": {
567
592
  "label": "Date",
568
- "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
593
+ "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
569
594
  "insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
570
595
  "insertTextMode": 2,
571
596
  "insertTextFormat": 2,
572
597
  "kind": 3,
573
598
  "documentation": {
574
599
  "kind": "markdown",
575
- "value": "Cria um objeto de Data a partir de um conjunto de parâmetros. Por predefinição, as datas são criadas na hora local do cliente ou sistema.\n\n**Parâmetros**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Um número que representa um ano.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O mês (0-11) em que `0` é janeiro e `11` é dezembro.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O dia do mês (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A hora do dia (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O minuto da hora (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O segundo do minuto (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O milissegundo do segundo (0-999).\n\n**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
600
+ "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**Parâmetros**\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**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
576
601
  }
577
602
  },
578
603
  "parametersInfo": {
579
604
  "min": 3,
580
- "max": 7
605
+ "max": 8
581
606
  }
582
607
  },
583
608
  {
@@ -585,8 +610,8 @@
585
610
  "name": "date",
586
611
  "bundle": "core",
587
612
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
588
- "description": "Cria uma data com o número de época Unix específico no fuso horário local do cliente ou sistema.",
589
- "examples": "\n##### Exemplo\n\nMilissegundos desde 1 de janeiro de 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n",
613
+ "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.",
614
+ "examples": "\n##### Exemplos\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",
590
615
  "completion": {
591
616
  "label": "Date",
592
617
  "detail": "Date(epoch?) -> Date",
@@ -596,7 +621,7 @@
596
621
  "kind": 3,
597
622
  "documentation": {
598
623
  "kind": "markdown",
599
- "value": "Cria uma data com o número de época Unix específico no fuso horário local do cliente ou sistema.\n\n**Parâmetro**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O número de milissegundos desde 1 de janeiro de 1970 UTC.\n\n**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
624
+ "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**Parâmetro**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
600
625
  }
601
626
  },
602
627
  "parametersInfo": {
@@ -609,8 +634,8 @@
609
634
  "name": "date",
610
635
  "bundle": "core",
611
636
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
612
- "description": "Converte um valor de texto ISO 8601 num objeto de Data no fuso horário local do cliente ou sistema.",
613
- "examples": "\n##### Exemplo\n\nValor de texto 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",
637
+ "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.",
638
+ "examples": "\n##### Exemplos\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",
614
639
  "completion": {
615
640
  "label": "Date",
616
641
  "detail": "Date(timestamp?) -> Date",
@@ -620,70 +645,376 @@
620
645
  "kind": 3,
621
646
  "documentation": {
622
647
  "kind": "markdown",
623
- "value": "Converte um valor de texto ISO 8601 num objeto de Data no fuso horário local do cliente ou sistema.\n\n**Parâmetro**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Um valor de texto ISO 8601 a ser convertido numa data.\n\n**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
648
+ "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**Parâmetro**\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**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
624
649
  }
625
650
  },
626
651
  "parametersInfo": {
627
652
  "min": 0,
628
653
  "max": 1
629
654
  }
655
+ },
656
+ {
657
+ "type": "function",
658
+ "name": "date",
659
+ "bundle": "core",
660
+ "sinceVersion": "1.24",
661
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
662
+ "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
663
+ "examples": "\n##### Exemplo\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",
664
+ "completion": {
665
+ "label": "Date",
666
+ "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
667
+ "insertText": "Date(${1:dateOnlyValue_})$0",
668
+ "insertTextMode": 2,
669
+ "insertTextFormat": 2,
670
+ "kind": 3,
671
+ "documentation": {
672
+ "kind": "markdown",
673
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
674
+ }
675
+ },
676
+ "parametersInfo": {
677
+ "min": 1,
678
+ "max": 3
679
+ }
680
+ },
681
+ {
682
+ "type": "function",
683
+ "name": "date",
684
+ "bundle": "core",
685
+ "sinceVersion": "1.24",
686
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
687
+ "description": "Creates a copy of the given Date.",
688
+ "examples": "\n##### Exemplo\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
689
+ "completion": {
690
+ "label": "Date",
691
+ "detail": "Date(dateValue) -> Date",
692
+ "insertText": "Date(${1:dateValue_})$0",
693
+ "insertTextMode": 2,
694
+ "insertTextFormat": 2,
695
+ "kind": 3,
696
+ "documentation": {
697
+ "kind": "markdown",
698
+ "value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
699
+ }
700
+ },
701
+ "parametersInfo": {
702
+ "min": 1,
703
+ "max": 1
704
+ }
630
705
  }
631
706
  ],
632
- {
633
- "type": "function",
634
- "name": "dateadd",
635
- "bundle": "core",
636
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd",
637
- "description": "Adiciona uma quantidade especificada de tempo nas unidades especificadas para uma data e devolve uma nova data.",
638
- "examples": "\n##### Exemplo\n\nAdiciona 7 dias à data no campo fornecido\n\n```arcade\nvar startDate = Date($feature.dateField);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n```\n\n",
639
- "completion": {
640
- "label": "DateAdd",
641
- "detail": "DateAdd(dateValue, addValue, units?) -> Date",
642
- "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
643
- "insertTextMode": 2,
644
- "insertTextFormat": 2,
645
- "kind": 3,
646
- "documentation": {
647
- "kind": "markdown",
648
- "value": "Adiciona uma quantidade especificada de tempo nas unidades especificadas para uma data e devolve uma nova data.\n\n**Parâmetros**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A data de entrada à qual adicionar a hora.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O valor a adicionar à data nas unidades especificadas.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - As unidades do número a adicionar à data. O valor predefinido é 'milliseconds`. Os tipos de unidades suportados incluem `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
707
+ [
708
+ {
709
+ "type": "function",
710
+ "name": "dateadd",
711
+ "bundle": "core",
712
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
713
+ "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.",
714
+ "examples": "\n##### Exemplo\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",
715
+ "completion": {
716
+ "label": "DateAdd",
717
+ "detail": "DateAdd(dateValue, addValue, units?) -> Date",
718
+ "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
719
+ "insertTextMode": 2,
720
+ "insertTextFormat": 2,
721
+ "kind": 3,
722
+ "documentation": {
723
+ "kind": "markdown",
724
+ "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**Parâmetros**\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**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
725
+ }
726
+ },
727
+ "parametersInfo": {
728
+ "min": 2,
729
+ "max": 3
649
730
  }
650
731
  },
651
- "parametersInfo": {
652
- "min": 2,
653
- "max": 3
732
+ {
733
+ "type": "function",
734
+ "name": "dateadd",
735
+ "bundle": "core",
736
+ "sinceVersion": "1.24",
737
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
738
+ "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
739
+ "examples": "\n##### Exemplos\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",
740
+ "completion": {
741
+ "label": "DateAdd",
742
+ "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
743
+ "insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
744
+ "insertTextMode": 2,
745
+ "insertTextFormat": 2,
746
+ "kind": 3,
747
+ "documentation": {
748
+ "kind": "markdown",
749
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: DateOnly"
750
+ }
751
+ },
752
+ "parametersInfo": {
753
+ "min": 2,
754
+ "max": 3
755
+ }
756
+ },
757
+ {
758
+ "type": "function",
759
+ "name": "dateadd",
760
+ "bundle": "core",
761
+ "sinceVersion": "1.24",
762
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
763
+ "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
764
+ "examples": "\n##### Exemplos\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",
765
+ "completion": {
766
+ "label": "DateAdd",
767
+ "detail": "DateAdd(timeValue, addValue, units?) -> Time",
768
+ "insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
769
+ "insertTextMode": 2,
770
+ "insertTextFormat": 2,
771
+ "kind": 3,
772
+ "documentation": {
773
+ "kind": "markdown",
774
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: Time"
775
+ }
776
+ },
777
+ "parametersInfo": {
778
+ "min": 2,
779
+ "max": 3
780
+ }
654
781
  }
655
- },
656
- {
657
- "type": "function",
658
- "name": "datediff",
659
- "bundle": "core",
660
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff",
661
- "description": "Subtrai duas datas e devolve a diferença nas unidades especificadas.",
662
- "examples": "\n##### Exemplo\n\nSubtrai duas datas e devolve a idade\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n",
663
- "completion": {
664
- "label": "DateDiff",
665
- "detail": "DateDiff(date1, date2, units?) -> Number",
666
- "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
667
- "insertTextMode": 2,
668
- "insertTextFormat": 2,
669
- "kind": 3,
670
- "documentation": {
671
- "kind": "markdown",
672
- "value": "Subtrai duas datas e devolve a diferença nas unidades especificadas.\n\n**Parâmetros**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valor de data ao qual subtrair uma segunda data.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valor de data a subtrair à primeira data especificada.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - As unidades nas quais devolver a diferença entre as duas datas especificadas. Os tipos de unidades suportados incluem `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. O valor predefinido é `milliseconds`.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
782
+ ],
783
+ [
784
+ {
785
+ "type": "function",
786
+ "name": "datediff",
787
+ "bundle": "core",
788
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
789
+ "description": "Subtracts two Dates, and returns the difference in the specified units.",
790
+ "examples": "\n##### Exemplos\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",
791
+ "completion": {
792
+ "label": "DateDiff",
793
+ "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
794
+ "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
795
+ "insertTextMode": 2,
796
+ "insertTextFormat": 2,
797
+ "kind": 3,
798
+ "documentation": {
799
+ "kind": "markdown",
800
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parâmetros**\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**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
801
+ }
802
+ },
803
+ "parametersInfo": {
804
+ "min": 2,
805
+ "max": 4
673
806
  }
674
807
  },
675
- "parametersInfo": {
676
- "min": 2,
677
- "max": 3
808
+ {
809
+ "type": "function",
810
+ "name": "datediff",
811
+ "bundle": "core",
812
+ "sinceVersion": "1.24",
813
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
814
+ "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
815
+ "examples": "\n##### Exemplo\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",
816
+ "completion": {
817
+ "label": "DateDiff",
818
+ "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
819
+ "insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
820
+ "insertTextMode": 2,
821
+ "insertTextFormat": 2,
822
+ "kind": 3,
823
+ "documentation": {
824
+ "kind": "markdown",
825
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
826
+ }
827
+ },
828
+ "parametersInfo": {
829
+ "min": 2,
830
+ "max": 3
831
+ }
832
+ },
833
+ {
834
+ "type": "function",
835
+ "name": "datediff",
836
+ "bundle": "core",
837
+ "sinceVersion": "1.24",
838
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
839
+ "description": "Subtracts two Time values, and returns the difference in the specified units.",
840
+ "examples": "\n##### Exemplo\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",
841
+ "completion": {
842
+ "label": "DateDiff",
843
+ "detail": "DateDiff(time1, time2, units?) -> Number",
844
+ "insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
845
+ "insertTextMode": 2,
846
+ "insertTextFormat": 2,
847
+ "kind": 3,
848
+ "documentation": {
849
+ "kind": "markdown",
850
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
851
+ }
852
+ },
853
+ "parametersInfo": {
854
+ "min": 2,
855
+ "max": 3
856
+ }
678
857
  }
679
- },
858
+ ],
859
+ [
860
+ {
861
+ "type": "function",
862
+ "name": "dateonly",
863
+ "bundle": "core",
864
+ "sinceVersion": "1.24",
865
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
866
+ "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
867
+ "examples": "\n##### Exemplo\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
868
+ "completion": {
869
+ "label": "DateOnly",
870
+ "detail": "DateOnly() -> DateOnly",
871
+ "insertText": "DateOnly($0)",
872
+ "insertTextMode": 2,
873
+ "insertTextFormat": 2,
874
+ "kind": 3,
875
+ "documentation": {
876
+ "kind": "markdown",
877
+ "value": "**[Desde a versão 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**Valor de devolução**: DateOnly"
878
+ }
879
+ },
880
+ "parametersInfo": {
881
+ "min": 0,
882
+ "max": 0
883
+ }
884
+ },
885
+ {
886
+ "type": "function",
887
+ "name": "dateonly",
888
+ "bundle": "core",
889
+ "sinceVersion": "1.24",
890
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
891
+ "description": "Creates a DateOnly value from a given date.",
892
+ "examples": "\n##### Exemplo\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",
893
+ "completion": {
894
+ "label": "DateOnly",
895
+ "detail": "DateOnly(dateValue) -> DateOnly",
896
+ "insertText": "DateOnly(${1:dateValue_})$0",
897
+ "insertTextMode": 2,
898
+ "insertTextFormat": 2,
899
+ "kind": 3,
900
+ "documentation": {
901
+ "kind": "markdown",
902
+ "value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**Valor de devolução**: DateOnly"
903
+ }
904
+ },
905
+ "parametersInfo": {
906
+ "min": 1,
907
+ "max": 1
908
+ }
909
+ },
910
+ {
911
+ "type": "function",
912
+ "name": "dateonly",
913
+ "bundle": "core",
914
+ "sinceVersion": "1.24",
915
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
916
+ "description": "Creates a DateOnly date with the given Unix epoch number.",
917
+ "examples": "\n##### Exemplo\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",
918
+ "completion": {
919
+ "label": "DateOnly",
920
+ "detail": "DateOnly(epoch) -> DateOnly",
921
+ "insertText": "DateOnly(${1:epoch_})$0",
922
+ "insertTextMode": 2,
923
+ "insertTextFormat": 2,
924
+ "kind": 3,
925
+ "documentation": {
926
+ "kind": "markdown",
927
+ "value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**Parâmetro**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Valor de devolução**: DateOnly"
928
+ }
929
+ },
930
+ "parametersInfo": {
931
+ "min": 1,
932
+ "max": 1
933
+ }
934
+ },
935
+ {
936
+ "type": "function",
937
+ "name": "dateonly",
938
+ "bundle": "core",
939
+ "sinceVersion": "1.24",
940
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
941
+ "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
942
+ "examples": "\n##### Exemplo\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",
943
+ "completion": {
944
+ "label": "DateOnly",
945
+ "detail": "DateOnly(year, month, day) -> DateOnly",
946
+ "insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
947
+ "insertTextMode": 2,
948
+ "insertTextFormat": 2,
949
+ "kind": 3,
950
+ "documentation": {
951
+ "kind": "markdown",
952
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: DateOnly"
953
+ }
954
+ },
955
+ "parametersInfo": {
956
+ "min": 3,
957
+ "max": 3
958
+ }
959
+ },
960
+ {
961
+ "type": "function",
962
+ "name": "dateonly",
963
+ "bundle": "core",
964
+ "sinceVersion": "1.24",
965
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
966
+ "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.",
967
+ "examples": "\n##### Exemplos\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",
968
+ "completion": {
969
+ "label": "DateOnly",
970
+ "detail": "DateOnly(dateValue, format?) -> DateOnly",
971
+ "insertText": "DateOnly(${1:dateValue_})$0",
972
+ "insertTextMode": 2,
973
+ "insertTextFormat": 2,
974
+ "kind": 3,
975
+ "documentation": {
976
+ "kind": "markdown",
977
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: DateOnly"
978
+ }
979
+ },
980
+ "parametersInfo": {
981
+ "min": 1,
982
+ "max": 2
983
+ }
984
+ },
985
+ {
986
+ "type": "function",
987
+ "name": "dateonly",
988
+ "bundle": "core",
989
+ "sinceVersion": "1.24",
990
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
991
+ "description": "Creates a copy of a DateOnly value.",
992
+ "examples": "\n##### Exemplo\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",
993
+ "completion": {
994
+ "label": "DateOnly",
995
+ "detail": "DateOnly(dateOnlyValue) -> DateOnly",
996
+ "insertText": "DateOnly(${1:dateOnlyValue_})$0",
997
+ "insertTextMode": 2,
998
+ "insertTextFormat": 2,
999
+ "kind": 3,
1000
+ "documentation": {
1001
+ "kind": "markdown",
1002
+ "value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**Parâmetro**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**Valor de devolução**: DateOnly"
1003
+ }
1004
+ },
1005
+ "parametersInfo": {
1006
+ "min": 1,
1007
+ "max": 1
1008
+ }
1009
+ }
1010
+ ],
680
1011
  {
681
1012
  "type": "function",
682
1013
  "name": "day",
683
1014
  "bundle": "core",
684
1015
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
685
1016
  "description": "Devolve o dia do mês da data especificada.",
686
- "examples": "\n##### Exemplo\n\nObtém o dia do mês da data atual\n\n```arcade\nDay(Now())\n```\n\n",
1017
+ "examples": "\n##### Exemplos\n\nObtém o dia do mês da data atual\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",
687
1018
  "completion": {
688
1019
  "label": "Day",
689
1020
  "detail": "Day(dateValue) -> Number",
@@ -693,7 +1024,7 @@
693
1024
  "kind": 3,
694
1025
  "documentation": {
695
1026
  "kind": "markdown",
696
- "value": "Devolve o dia do mês da data especificada.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter o dia do mês.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1027
+ "value": "Devolve o dia do mês da data especificada.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data a partir do qual obter o dia do mês.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
697
1028
  }
698
1029
  },
699
1030
  "parametersInfo": {
@@ -701,30 +1032,57 @@
701
1032
  "max": 1
702
1033
  }
703
1034
  },
704
- {
705
- "type": "function",
706
- "name": "hour",
707
- "bundle": "core",
708
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour",
709
- "description": "Devolve a hora na data especificada (0-23).",
710
- "examples": "\n##### Exemplo\n\nObtém a hora atual\n\n```arcade\nHour(Now())\n```\n\n",
711
- "completion": {
712
- "label": "Hour",
713
- "detail": "Hour(dateValue) -> Number",
714
- "insertText": "Hour(${1:dateValue_})$0",
715
- "insertTextMode": 2,
716
- "insertTextFormat": 2,
717
- "kind": 3,
718
- "documentation": {
719
- "kind": "markdown",
720
- "value": "Devolve a hora na data especificada (0-23).\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter a hora.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1035
+ [
1036
+ {
1037
+ "type": "function",
1038
+ "name": "hour",
1039
+ "bundle": "core",
1040
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
1041
+ "description": "Returns the hour of the time in the given date (0-23).",
1042
+ "examples": "\n##### Exemplo\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
1043
+ "completion": {
1044
+ "label": "Hour",
1045
+ "detail": "Hour(dateValue) -> Number",
1046
+ "insertText": "Hour(${1:dateValue_})$0",
1047
+ "insertTextMode": 2,
1048
+ "insertTextFormat": 2,
1049
+ "kind": 3,
1050
+ "documentation": {
1051
+ "kind": "markdown",
1052
+ "value": "Returns the hour of the time in the given date (0-23).\n\n**Parâmetro**\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**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1053
+ }
1054
+ },
1055
+ "parametersInfo": {
1056
+ "min": 1,
1057
+ "max": 1
721
1058
  }
722
1059
  },
723
- "parametersInfo": {
724
- "min": 1,
725
- "max": 1
1060
+ {
1061
+ "type": "function",
1062
+ "name": "hour",
1063
+ "bundle": "core",
1064
+ "sinceVersion": "1.24",
1065
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
1066
+ "description": "Returns the hour of the given time (0-23).",
1067
+ "examples": "\n##### Exemplo\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
1068
+ "completion": {
1069
+ "label": "Hour",
1070
+ "detail": "Hour(timeValue) -> Number",
1071
+ "insertText": "Hour(${1:timeValue_})$0",
1072
+ "insertTextMode": 2,
1073
+ "insertTextFormat": 2,
1074
+ "kind": 3,
1075
+ "documentation": {
1076
+ "kind": "markdown",
1077
+ "value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**Parâmetro**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1078
+ }
1079
+ },
1080
+ "parametersInfo": {
1081
+ "min": 1,
1082
+ "max": 1
1083
+ }
726
1084
  }
727
- },
1085
+ ],
728
1086
  {
729
1087
  "type": "function",
730
1088
  "name": "isomonth",
@@ -732,7 +1090,7 @@
732
1090
  "sinceVersion": "1.12",
733
1091
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
734
1092
  "description": "Devolve o mês da data fornecida, com base na norma ISO 8601. Os valores variam entre 1 - 12, em que janeiro é `1` e dezembro é `12`.",
735
- "examples": "\n##### Exemplo\n\nObtém o mês da data fornecida, com base na norma ISO 8601. Devolve `12` para o mês de dezembro.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n",
1093
+ "examples": "\n##### Exemplos\n\nObtém o mês da data fornecida, com base na norma ISO 8601. Devolve `12` para o mês de dezembro.\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",
736
1094
  "completion": {
737
1095
  "label": "ISOMonth",
738
1096
  "detail": "ISOMonth(dateValue) -> Number",
@@ -742,7 +1100,7 @@
742
1100
  "kind": 3,
743
1101
  "documentation": {
744
1102
  "kind": "markdown",
745
- "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve o mês da data fornecida, com base na norma ISO 8601. Os valores variam entre 1 - 12, em que janeiro é `1` e dezembro é `12`.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter o mês.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1103
+ "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve o mês da data fornecida, com base na norma ISO 8601. Os valores variam entre 1 - 12, em que janeiro é `1` e dezembro é `12`.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data a partir do qual obter o mês.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
746
1104
  }
747
1105
  },
748
1106
  "parametersInfo": {
@@ -757,7 +1115,7 @@
757
1115
  "sinceVersion": "1.12",
758
1116
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
759
1117
  "description": "Devolve a semana do ano da data fornecida, com base no calendário de datas semanal da norma ISO 8601. Os valores variam entre 1 - 53, em que a primeira semana do ano é `1` e a última semana do ano é `52` ou `53`, dependendo do ano.",
760
- "examples": "\n##### Exemplo\n\nObtém a semana da data fornecida, com base na norma ISO 8601. Devolve `1`, pois esta data está incluída na primeira semana do ano seguinte.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
1118
+ "examples": "\n##### Exemplos\n\nObtém a semana da data fornecida, com base na norma ISO 8601. Devolve `1`, pois esta data está incluída na primeira semana do ano seguinte.\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",
761
1119
  "completion": {
762
1120
  "label": "ISOWeek",
763
1121
  "detail": "ISOWeek(dateValue) -> Number",
@@ -767,7 +1125,7 @@
767
1125
  "kind": 3,
768
1126
  "documentation": {
769
1127
  "kind": "markdown",
770
- "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve a semana do ano da data fornecida, com base no calendário de datas semanal da norma ISO 8601. Os valores variam entre 1 - 53, em que a primeira semana do ano é `1` e a última semana do ano é `52` ou `53`, dependendo do ano.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual se obtém a semana.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1128
+ "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve a semana do ano da data fornecida, com base no calendário de datas semanal da norma ISO 8601. Os valores variam entre 1 - 53, em que a primeira semana do ano é `1` e a última semana do ano é `52` ou `53`, dependendo do ano.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data a partir do qual se obtém a semana.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
771
1129
  }
772
1130
  },
773
1131
  "parametersInfo": {
@@ -782,7 +1140,7 @@
782
1140
  "sinceVersion": "1.12",
783
1141
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
784
1142
  "description": "Devolve o dia da semana da data fornecida, com base na norma ISO 8601. Os valores variam entre 1-7, em que segunda-feira é `1` e domingo é `7`.",
785
- "examples": "\n##### Exemplo\n\nDevolve o dia da semana da data fornecida, com base na norma ISO 8601. Devolve `3` para quarta-feira.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n",
1143
+ "examples": "\n##### Exemplos\n\nDevolve o dia da semana da data fornecida, com base na norma ISO 8601. Devolve `3` para quarta-feira.\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",
786
1144
  "completion": {
787
1145
  "label": "ISOWeekday",
788
1146
  "detail": "ISOWeekday(dateValue) -> Number",
@@ -792,7 +1150,7 @@
792
1150
  "kind": 3,
793
1151
  "documentation": {
794
1152
  "kind": "markdown",
795
- "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve o dia da semana da data fornecida, com base na norma ISO 8601. Os valores variam entre 1-7, em que segunda-feira é `1` e domingo é `7`.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter o dia da semana.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1153
+ "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve o dia da semana da data fornecida, com base na norma ISO 8601. Os valores variam entre 1-7, em que segunda-feira é `1` e domingo é `7`.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data a partir do qual obter o dia da semana.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
796
1154
  }
797
1155
  },
798
1156
  "parametersInfo": {
@@ -807,65 +1165,17 @@
807
1165
  "sinceVersion": "1.12",
808
1166
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
809
1167
  "description": "Devolve o ano da data fornecida, com base no calendário de datas semanal da norma ISO 8601.",
810
- "examples": "\n##### Exemplo\n\nObtém o ano da data fornecida, com base no calendário de datas semanal da norma ISO 8601. Devolve `1981`, pois esta data está incluída na primeira semana do ano seguinte.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n",
1168
+ "examples": "\n##### Exemplos\n\nObtém o ano da data fornecida, com base no calendário de datas semanal da norma ISO 8601. Devolve `1981`, pois esta data está incluída na primeira semana do ano seguinte.\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",
811
1169
  "completion": {
812
1170
  "label": "ISOYear",
813
- "detail": "ISOYear(dateValue) -> Number",
814
- "insertText": "ISOYear(${1:dateValue_})$0",
815
- "insertTextMode": 2,
816
- "insertTextFormat": 2,
817
- "kind": 3,
818
- "documentation": {
819
- "kind": "markdown",
820
- "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve o ano da data fornecida, com base no calendário de datas semanal da norma ISO 8601.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter o ano.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
821
- }
822
- },
823
- "parametersInfo": {
824
- "min": 1,
825
- "max": 1
826
- }
827
- },
828
- {
829
- "type": "function",
830
- "name": "millisecond",
831
- "bundle": "core",
832
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
833
- "description": "Devolve o milissegundo da hora na data.",
834
- "examples": "\n##### Exemplo\n\nObtém o milissegundo da hora atual\n\n```arcade\nMillisecond(Now())\n```\n\n",
835
- "completion": {
836
- "label": "Millisecond",
837
- "detail": "Millisecond(dateValue) -> Number",
838
- "insertText": "Millisecond(${1:dateValue_})$0",
839
- "insertTextMode": 2,
840
- "insertTextFormat": 2,
841
- "kind": 3,
842
- "documentation": {
843
- "kind": "markdown",
844
- "value": "Devolve o milissegundo da hora na data.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter o milissegundo da hora.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
845
- }
846
- },
847
- "parametersInfo": {
848
- "min": 1,
849
- "max": 1
850
- }
851
- },
852
- {
853
- "type": "function",
854
- "name": "minute",
855
- "bundle": "core",
856
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
857
- "description": "Devolve o minuto da hora na data especificada.",
858
- "examples": "\n##### Exemplo\n\nObtém o minuto da hora atual\n\n```arcade\nMinute(Now())\n```\n\n",
859
- "completion": {
860
- "label": "Minute",
861
- "detail": "Minute(dateValue) -> Number",
862
- "insertText": "Minute(${1:dateValue_})$0",
1171
+ "detail": "ISOYear(dateValue) -> Number",
1172
+ "insertText": "ISOYear(${1:dateValue_})$0",
863
1173
  "insertTextMode": 2,
864
1174
  "insertTextFormat": 2,
865
1175
  "kind": 3,
866
1176
  "documentation": {
867
1177
  "kind": "markdown",
868
- "value": "Devolve o minuto da hora na data especificada.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter o minuto da hora.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1178
+ "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve o ano da data fornecida, com base no calendário de datas semanal da norma ISO 8601.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data a partir do qual obter o ano.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
869
1179
  }
870
1180
  },
871
1181
  "parametersInfo": {
@@ -873,13 +1183,115 @@
873
1183
  "max": 1
874
1184
  }
875
1185
  },
1186
+ [
1187
+ {
1188
+ "type": "function",
1189
+ "name": "millisecond",
1190
+ "bundle": "core",
1191
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
1192
+ "description": "Returns the millisecond of the time in the date.",
1193
+ "examples": "\n##### Exemplo\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
1194
+ "completion": {
1195
+ "label": "Millisecond",
1196
+ "detail": "Millisecond(dateValue) -> Number",
1197
+ "insertText": "Millisecond(${1:dateValue_})$0",
1198
+ "insertTextMode": 2,
1199
+ "insertTextFormat": 2,
1200
+ "kind": 3,
1201
+ "documentation": {
1202
+ "kind": "markdown",
1203
+ "value": "Returns the millisecond of the time in the date.\n\n**Parâmetro**\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**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1204
+ }
1205
+ },
1206
+ "parametersInfo": {
1207
+ "min": 1,
1208
+ "max": 1
1209
+ }
1210
+ },
1211
+ {
1212
+ "type": "function",
1213
+ "name": "millisecond",
1214
+ "bundle": "core",
1215
+ "sinceVersion": "1.24",
1216
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
1217
+ "description": "Returns the millisecond of the given time.",
1218
+ "examples": "\n##### Exemplo\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
1219
+ "completion": {
1220
+ "label": "Millisecond",
1221
+ "detail": "Millisecond(timeValue) -> Number",
1222
+ "insertText": "Millisecond(${1:timeValue_})$0",
1223
+ "insertTextMode": 2,
1224
+ "insertTextFormat": 2,
1225
+ "kind": 3,
1226
+ "documentation": {
1227
+ "kind": "markdown",
1228
+ "value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**Parâmetro**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1229
+ }
1230
+ },
1231
+ "parametersInfo": {
1232
+ "min": 1,
1233
+ "max": 1
1234
+ }
1235
+ }
1236
+ ],
1237
+ [
1238
+ {
1239
+ "type": "function",
1240
+ "name": "minute",
1241
+ "bundle": "core",
1242
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
1243
+ "description": "Returns the minute of the time in the given date.",
1244
+ "examples": "\n##### Exemplo\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
1245
+ "completion": {
1246
+ "label": "Minute",
1247
+ "detail": "Minute(dateValue) -> Number",
1248
+ "insertText": "Minute(${1:dateValue_})$0",
1249
+ "insertTextMode": 2,
1250
+ "insertTextFormat": 2,
1251
+ "kind": 3,
1252
+ "documentation": {
1253
+ "kind": "markdown",
1254
+ "value": "Returns the minute of the time in the given date.\n\n**Parâmetro**\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**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1255
+ }
1256
+ },
1257
+ "parametersInfo": {
1258
+ "min": 1,
1259
+ "max": 1
1260
+ }
1261
+ },
1262
+ {
1263
+ "type": "function",
1264
+ "name": "minute",
1265
+ "bundle": "core",
1266
+ "sinceVersion": "1.24",
1267
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
1268
+ "description": "Returns the minute of the given time.",
1269
+ "examples": "\n##### Exemplo\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
1270
+ "completion": {
1271
+ "label": "Minute",
1272
+ "detail": "Minute(timeValue) -> Number",
1273
+ "insertText": "Minute(${1:timeValue_})$0",
1274
+ "insertTextMode": 2,
1275
+ "insertTextFormat": 2,
1276
+ "kind": 3,
1277
+ "documentation": {
1278
+ "kind": "markdown",
1279
+ "value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**Parâmetro**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1280
+ }
1281
+ },
1282
+ "parametersInfo": {
1283
+ "min": 1,
1284
+ "max": 1
1285
+ }
1286
+ }
1287
+ ],
876
1288
  {
877
1289
  "type": "function",
878
1290
  "name": "month",
879
1291
  "bundle": "core",
880
1292
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
881
1293
  "description": "Devolve o mês da data especificada. Os valores variam entre 0 e 11, em que janeiro é `0` e dezembro é `11`.",
882
- "examples": "\n##### Exemplo\n\nObtém o mês da Data fornecida. Devolve 11 para o mês de dezembro.\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
1294
+ "examples": "\n##### Exemplos\n\nObtém o mês da Data fornecida. Devolve 11 para o mês de dezembro.\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",
883
1295
  "completion": {
884
1296
  "label": "Month",
885
1297
  "detail": "Month(dateValue) -> Number",
@@ -889,7 +1301,7 @@
889
1301
  "kind": 3,
890
1302
  "documentation": {
891
1303
  "kind": "markdown",
892
- "value": "Devolve o mês da data especificada. Os valores variam entre 0 e 11, em que janeiro é `0` e dezembro é `11`.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter o mês.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1304
+ "value": "Devolve o mês da data especificada. Os valores variam entre 0 e 11, em que janeiro é `0` e dezembro é `11`.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data a partir do qual obter o mês.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
893
1305
  }
894
1306
  },
895
1307
  "parametersInfo": {
@@ -921,23 +1333,227 @@
921
1333
  "max": 0
922
1334
  }
923
1335
  },
1336
+ [
1337
+ {
1338
+ "type": "function",
1339
+ "name": "second",
1340
+ "bundle": "core",
1341
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
1342
+ "description": "Returns the second of the time in the date.",
1343
+ "examples": "\n##### Exemplo\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
1344
+ "completion": {
1345
+ "label": "Second",
1346
+ "detail": "Second(dateValue) -> Number",
1347
+ "insertText": "Second(${1:dateValue_})$0",
1348
+ "insertTextMode": 2,
1349
+ "insertTextFormat": 2,
1350
+ "kind": 3,
1351
+ "documentation": {
1352
+ "kind": "markdown",
1353
+ "value": "Returns the second of the time in the date.\n\n**Parâmetro**\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**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1354
+ }
1355
+ },
1356
+ "parametersInfo": {
1357
+ "min": 1,
1358
+ "max": 1
1359
+ }
1360
+ },
1361
+ {
1362
+ "type": "function",
1363
+ "name": "second",
1364
+ "bundle": "core",
1365
+ "sinceVersion": "1.24",
1366
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
1367
+ "description": "Returns the second of the given time.",
1368
+ "examples": "\n##### Exemplo\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
1369
+ "completion": {
1370
+ "label": "Second",
1371
+ "detail": "Second(timeValue) -> Number",
1372
+ "insertText": "Second(${1:timeValue_})$0",
1373
+ "insertTextMode": 2,
1374
+ "insertTextFormat": 2,
1375
+ "kind": 3,
1376
+ "documentation": {
1377
+ "kind": "markdown",
1378
+ "value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**Parâmetro**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1379
+ }
1380
+ },
1381
+ "parametersInfo": {
1382
+ "min": 1,
1383
+ "max": 1
1384
+ }
1385
+ }
1386
+ ],
1387
+ [
1388
+ {
1389
+ "type": "function",
1390
+ "name": "time",
1391
+ "bundle": "core",
1392
+ "sinceVersion": "1.24",
1393
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
1394
+ "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
1395
+ "examples": "\n##### Exemplo\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",
1396
+ "completion": {
1397
+ "label": "Time",
1398
+ "detail": "Time() -> Time",
1399
+ "insertText": "Time($0)",
1400
+ "insertTextMode": 2,
1401
+ "insertTextFormat": 2,
1402
+ "kind": 3,
1403
+ "documentation": {
1404
+ "kind": "markdown",
1405
+ "value": "**[Desde a versão 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**Valor de devolução**: Time"
1406
+ }
1407
+ },
1408
+ "parametersInfo": {
1409
+ "min": 0,
1410
+ "max": 0
1411
+ }
1412
+ },
1413
+ {
1414
+ "type": "function",
1415
+ "name": "time",
1416
+ "bundle": "core",
1417
+ "sinceVersion": "1.24",
1418
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
1419
+ "description": "Creates a Time value from a given date.",
1420
+ "examples": "\n##### Exemplo\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",
1421
+ "completion": {
1422
+ "label": "Time",
1423
+ "detail": "Time(dateValue) -> Time",
1424
+ "insertText": "Time(${1:dateValue_})$0",
1425
+ "insertTextMode": 2,
1426
+ "insertTextFormat": 2,
1427
+ "kind": 3,
1428
+ "documentation": {
1429
+ "kind": "markdown",
1430
+ "value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**Valor de devolução**: Time"
1431
+ }
1432
+ },
1433
+ "parametersInfo": {
1434
+ "min": 1,
1435
+ "max": 1
1436
+ }
1437
+ },
1438
+ {
1439
+ "type": "function",
1440
+ "name": "time",
1441
+ "bundle": "core",
1442
+ "sinceVersion": "1.24",
1443
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
1444
+ "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`.",
1445
+ "examples": "\n##### Exemplos\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",
1446
+ "completion": {
1447
+ "label": "Time",
1448
+ "detail": "Time(numValue) -> Time",
1449
+ "insertText": "Time(${1:numValue_})$0",
1450
+ "insertTextMode": 2,
1451
+ "insertTextFormat": 2,
1452
+ "kind": 3,
1453
+ "documentation": {
1454
+ "kind": "markdown",
1455
+ "value": "**[Desde a versão 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**Parâmetro**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**Valor de devolução**: Time"
1456
+ }
1457
+ },
1458
+ "parametersInfo": {
1459
+ "min": 1,
1460
+ "max": 1
1461
+ }
1462
+ },
1463
+ {
1464
+ "type": "function",
1465
+ "name": "time",
1466
+ "bundle": "core",
1467
+ "sinceVersion": "1.24",
1468
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
1469
+ "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
1470
+ "examples": "\n##### Exemplo\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",
1471
+ "completion": {
1472
+ "label": "Time",
1473
+ "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
1474
+ "insertText": "Time(${1:hours_}, ${2:minutes_})$0",
1475
+ "insertTextMode": 2,
1476
+ "insertTextFormat": 2,
1477
+ "kind": 3,
1478
+ "documentation": {
1479
+ "kind": "markdown",
1480
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: Time"
1481
+ }
1482
+ },
1483
+ "parametersInfo": {
1484
+ "min": 2,
1485
+ "max": 4
1486
+ }
1487
+ },
1488
+ {
1489
+ "type": "function",
1490
+ "name": "time",
1491
+ "bundle": "core",
1492
+ "sinceVersion": "1.24",
1493
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
1494
+ "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
1495
+ "examples": "\n##### Exemplos\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",
1496
+ "completion": {
1497
+ "label": "Time",
1498
+ "detail": "Time(timeValue, format?) -> Time",
1499
+ "insertText": "Time(${1:timeValue_})$0",
1500
+ "insertTextMode": 2,
1501
+ "insertTextFormat": 2,
1502
+ "kind": 3,
1503
+ "documentation": {
1504
+ "kind": "markdown",
1505
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: Time"
1506
+ }
1507
+ },
1508
+ "parametersInfo": {
1509
+ "min": 1,
1510
+ "max": 2
1511
+ }
1512
+ }
1513
+ ],
1514
+ {
1515
+ "type": "function",
1516
+ "name": "timestamp",
1517
+ "bundle": "core",
1518
+ "sinceVersion": "1.1",
1519
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
1520
+ "description": "Cria um valor de data que representa a data e hora atuais em UTC.",
1521
+ "examples": "\n##### Exemplo\n\nCria uma data no horário UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
1522
+ "completion": {
1523
+ "label": "Timestamp",
1524
+ "detail": "Timestamp() -> Date",
1525
+ "insertText": "Timestamp($0)",
1526
+ "insertTextMode": 2,
1527
+ "insertTextFormat": 2,
1528
+ "kind": 3,
1529
+ "documentation": {
1530
+ "kind": "markdown",
1531
+ "value": "**[Desde a versão 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCria um valor de data que representa a data e hora atuais em UTC.\n\n**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1532
+ }
1533
+ },
1534
+ "parametersInfo": {
1535
+ "min": 0,
1536
+ "max": 0
1537
+ }
1538
+ },
924
1539
  {
925
1540
  "type": "function",
926
- "name": "second",
1541
+ "name": "timezone",
927
1542
  "bundle": "core",
928
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second",
929
- "description": "Devolve o segundo da hora na data.",
930
- "examples": "\n##### Exemplo\n\nObtém o segundo da hora atual\n\n```arcade\nSecond(Now())\n```\n\n",
1543
+ "sinceVersion": "1.24",
1544
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
1545
+ "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",
1546
+ "examples": "\n##### Exemplo\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",
931
1547
  "completion": {
932
- "label": "Second",
933
- "detail": "Second(dateValue) -> Number",
934
- "insertText": "Second(${1:dateValue_})$0",
1548
+ "label": "TimeZone",
1549
+ "detail": "TimeZone(dateValue) -> Text",
1550
+ "insertText": "TimeZone(${1:dateValue_})$0",
935
1551
  "insertTextMode": 2,
936
1552
  "insertTextFormat": 2,
937
1553
  "kind": 3,
938
1554
  "documentation": {
939
1555
  "kind": "markdown",
940
- "value": "Devolve o segundo da hora na data.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter o segundo da hora.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1556
+ "value": "**[Desde a versão 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**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Valor de devolução**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
941
1557
  }
942
1558
  },
943
1559
  "parametersInfo": {
@@ -947,27 +1563,27 @@
947
1563
  },
948
1564
  {
949
1565
  "type": "function",
950
- "name": "timestamp",
1566
+ "name": "timezoneoffset",
951
1567
  "bundle": "core",
952
- "sinceVersion": "1.1",
953
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
954
- "description": "Cria um valor de data que representa a data e hora atuais em UTC.",
955
- "examples": "\n##### Exemplo\n\nCria uma data no horário UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
1568
+ "sinceVersion": "1.24",
1569
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
1570
+ "description": "Returns the time zone offset in minutes from UTC for the given Date.",
1571
+ "examples": "\n##### Exemplo\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",
956
1572
  "completion": {
957
- "label": "Timestamp",
958
- "detail": "Timestamp() -> Date",
959
- "insertText": "Timestamp($0)",
1573
+ "label": "TimeZoneOffset",
1574
+ "detail": "TimeZoneOffset(dateValue) -> Number",
1575
+ "insertText": "TimeZoneOffset(${1:dateValue_})$0",
960
1576
  "insertTextMode": 2,
961
1577
  "insertTextFormat": 2,
962
1578
  "kind": 3,
963
1579
  "documentation": {
964
1580
  "kind": "markdown",
965
- "value": "**[Desde a versão 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCria um valor de data que representa a data e hora atuais em UTC.\n\n**Valor de devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1581
+ "value": "**[Desde a versão 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**Parâmetro**\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**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
966
1582
  }
967
1583
  },
968
1584
  "parametersInfo": {
969
- "min": 0,
970
- "max": 0
1585
+ "min": 1,
1586
+ "max": 1
971
1587
  }
972
1588
  },
973
1589
  {
@@ -1051,7 +1667,7 @@
1051
1667
  "sinceVersion": "1.14",
1052
1668
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
1053
1669
  "description": "Devolve o número da semana no ano da data especificada. Os valores variam entre 0 - 53, em que a primeira semana do ano é `0` e a última semana do ano é `51`, `52` ou `53`, dependendo do ano. A primeira e a última semana podem não durar sete dias completos.",
1054
- "examples": "\n##### Exemplos\n\nUsar o início da semana predefinido (domingo)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nDefinir início da semana para quinta-feira\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nDefinir início da semana para sexta-feira\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",
1670
+ "examples": "\n##### Exemplos\n\nUsar o início da semana predefinido (domingo)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nDefinir início da semana para quinta-feira\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nDefinir início da semana para sexta-feira\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",
1055
1671
  "completion": {
1056
1672
  "label": "Week",
1057
1673
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -1061,7 +1677,7 @@
1061
1677
  "kind": 3,
1062
1678
  "documentation": {
1063
1679
  "kind": "markdown",
1064
- "value": "**[Desde a versão 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve o número da semana no ano da data especificada. Os valores variam entre 0 - 53, em que a primeira semana do ano é `0` e a última semana do ano é `51`, `52` ou `53`, dependendo do ano. A primeira e a última semana podem não durar sete dias completos.\n\n**Parâmetros**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual se obtém a semana.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Um número que representa o dia de início da semana. Domingo = 0, Segunda-feira = 1, Terça-feira = 2, Quarta-feira = 3, Quinta-feira = 4, Sexta-feira = 5, Sábado = 6. A predefinição é `0` (domingo).\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1680
+ "value": "**[Desde a versão 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve o número da semana no ano da data especificada. Os valores variam entre 0 - 53, em que a primeira semana do ano é `0` e a última semana do ano é `51`, `52` ou `53`, dependendo do ano. A primeira e a última semana podem não durar sete dias completos.\n\n**Parâmetros**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data a partir do qual se obtém a semana.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Um número que representa o dia de início da semana. Domingo = 0, Segunda-feira = 1, Terça-feira = 2, Quarta-feira = 3, Quinta-feira = 4, Sexta-feira = 5, Sábado = 6. A predefinição é `0` (domingo).\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1065
1681
  }
1066
1682
  },
1067
1683
  "parametersInfo": {
@@ -1075,7 +1691,7 @@
1075
1691
  "bundle": "core",
1076
1692
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
1077
1693
  "description": "Apresenta o dia da semana da data fornecida. Os valores variam entre 0 e 6, em que domingo é `0` e sábado é `6`.",
1078
- "examples": "\n##### Exemplo\n\nApresenta o dia da semana da data fornecida. Devolve `3` para quarta-feira.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
1694
+ "examples": "\n##### Exemplos\n\nApresenta o dia da semana da data fornecida. Devolve `3` para quarta-feira.\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",
1079
1695
  "completion": {
1080
1696
  "label": "Weekday",
1081
1697
  "detail": "Weekday(dateValue) -> Number",
@@ -1085,7 +1701,7 @@
1085
1701
  "kind": 3,
1086
1702
  "documentation": {
1087
1703
  "kind": "markdown",
1088
- "value": "Apresenta o dia da semana da data fornecida. Os valores variam entre 0 e 6, em que domingo é `0` e sábado é `6`.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter o dia da semana.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1704
+ "value": "Apresenta o dia da semana da data fornecida. Os valores variam entre 0 e 6, em que domingo é `0` e sábado é `6`.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data a partir do qual obter o dia da semana.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1089
1705
  }
1090
1706
  },
1091
1707
  "parametersInfo": {
@@ -1099,7 +1715,7 @@
1099
1715
  "bundle": "core",
1100
1716
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
1101
1717
  "description": "Devolve o ano da data especificada.",
1102
- "examples": "\n##### Exemplo\n\nObtém o ano da data atual\n\n```arcade\nYear(Now())\n```\n\n",
1718
+ "examples": "\n##### Exemplos\n\nObtém o ano da data atual\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",
1103
1719
  "completion": {
1104
1720
  "label": "Year",
1105
1721
  "detail": "Year(dateValue) -> Number",
@@ -1109,7 +1725,7 @@
1109
1725
  "kind": 3,
1110
1726
  "documentation": {
1111
1727
  "kind": "markdown",
1112
- "value": "Devolve o ano da data especificada.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data a partir do qual obter o ano.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1728
+ "value": "Devolve o ano da data especificada.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data a partir do qual obter o ano.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1113
1729
  }
1114
1730
  },
1115
1731
  "parametersInfo": {
@@ -2164,6 +2780,31 @@
2164
2780
  "max": 4
2165
2781
  }
2166
2782
  },
2783
+ {
2784
+ "type": "function",
2785
+ "name": "featuresetbyrelationshipclass",
2786
+ "bundle": "data-access",
2787
+ "sinceVersion": "1.24",
2788
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
2789
+ "description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
2790
+ "examples": "\n##### Exemplo\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",
2791
+ "completion": {
2792
+ "label": "FeatureSetByRelationshipClass",
2793
+ "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
2794
+ "insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
2795
+ "insertTextMode": 2,
2796
+ "insertTextFormat": 2,
2797
+ "kind": 3,
2798
+ "documentation": {
2799
+ "kind": "markdown",
2800
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2801
+ }
2802
+ },
2803
+ "parametersInfo": {
2804
+ "min": 2,
2805
+ "max": 4
2806
+ }
2807
+ },
2167
2808
  {
2168
2809
  "type": "function",
2169
2810
  "name": "featuresetbyrelationshipname",
@@ -5485,7 +6126,7 @@
5485
6126
  "bundle": "core",
5486
6127
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
5487
6128
  "description": "Converte o respetivo argumento num valor de texto e, opcionalmente, formata-o. Devolve `null` caso falhe.",
5488
- "examples": "\n##### Exemplos\n\nIncluir o número à esquerda da decimal\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nRestringir o número à esquerda da decimal\n\n```arcade\nText(123, '00') // '23'\n```\n\nAgrupar o número por milhares\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nArredonda o número a duas casas decimais.\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormatar número como moeda\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nArredonda o número a duas casas decimais.\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nManter dígitos significativos e agrupa por milhares\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormatar o número e formatar positivo/negativo - se o resultado for um subpadrão negativo, serve apenas para especificar o prefixo e o sufixo negativos\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMultiplicar por 100 e formatar como percentagem\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormatar data e hora no momento. Ex.: 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nA data armazenada no campo `datetime` já representa a hora local, mas o Arcade assume que é UTC. Transforma a hora local em UTC para evitar aplicar a diferença de fuso horário duas vezes.\n\n```arcade\nText(ToUTC($feature.datetime), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n",
6129
+ "examples": "\n##### Exemplos\n\nIncluir o número à esquerda da decimal\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nRestringir o número à esquerda da decimal\n\n```arcade\nText(123, '00') // '23'\n```\n\nAgrupar o número por milhares\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nArredonda o número a duas casas decimais.\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormatar número como moeda\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nArredonda o número a duas casas decimais.\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nManter dígitos significativos e agrupa por milhares\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormatar o número e formatar positivo/negativo - se o resultado for um subpadrão negativo, serve apenas para especificar o prefixo e o sufixo negativos\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMultiplicar por 100 e formatar como percentagem\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormatar data e hora no momento. Ex.: 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nA data armazenada no campo `datetime` já representa a hora local, mas o Arcade assume que é UTC. Transforma a hora local em UTC para evitar aplicar a diferença de fuso horário duas vezes.\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",
5489
6130
  "completion": {
5490
6131
  "label": "Text",
5491
6132
  "detail": "Text(value, format?) -> Text",
@@ -5760,6 +6401,31 @@
5760
6401
  "max": 2
5761
6402
  }
5762
6403
  },
6404
+ {
6405
+ "type": "function",
6406
+ "name": "equals",
6407
+ "bundle": "core",
6408
+ "sinceVersion": "1.24",
6409
+ "link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
6410
+ "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.",
6411
+ "examples": "\n##### Exemplo\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",
6412
+ "completion": {
6413
+ "label": "Equals",
6414
+ "detail": "Equals(value1, value2) -> Boolean",
6415
+ "insertText": "Equals(${1:value1_}, ${2:value2_})$0",
6416
+ "insertTextMode": 2,
6417
+ "insertTextFormat": 2,
6418
+ "kind": 3,
6419
+ "documentation": {
6420
+ "kind": "markdown",
6421
+ "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6422
+ }
6423
+ },
6424
+ "parametersInfo": {
6425
+ "min": 2,
6426
+ "max": 2
6427
+ }
6428
+ },
5763
6429
  {
5764
6430
  "type": "function",
5765
6431
  "name": "iif",
@@ -6195,7 +6861,7 @@
6195
6861
  "kind": 3,
6196
6862
  "documentation": {
6197
6863
  "kind": "markdown",
6198
- "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGera um valor de código hash para a variável fornecida.\n\n**Parâmetro**\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) - A variável na qual será efetuado o hash.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6864
+ "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGera um valor de código hash para a variável fornecida.\n\n**Parâmetro**\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 - A variável na qual será efetuado o hash.\n\n**Valor de devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6199
6865
  }
6200
6866
  },
6201
6867
  "parametersInfo": {