@arcgis/coding-components 1.0.0-beta.12 → 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 (41) hide show
  1. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +858 -192
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +821 -155
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +829 -163
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +829 -163
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +829 -163
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +829 -163
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +829 -163
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +858 -192
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +851 -185
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +829 -163
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +829 -163
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +858 -192
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +829 -163
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +858 -192
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +829 -163
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +829 -163
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +858 -192
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +821 -155
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +859 -193
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +859 -193
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +829 -163
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +829 -163
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +829 -163
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +829 -163
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +829 -163
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +829 -163
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +829 -163
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +829 -163
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +858 -192
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +829 -163
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +829 -163
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +845 -179
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +829 -163
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +858 -192
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +858 -192
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +858 -192
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +858 -192
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +859 -193
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +859 -193
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +859 -193
  41. package/package.json +3 -3
@@ -805,29 +805,54 @@
805
805
  "id": "date_functions",
806
806
  "title": "Funções de data",
807
807
  "items": [
808
+ {
809
+ "type": "function",
810
+ "name": "changetimezone",
811
+ "bundle": "core",
812
+ "sinceVersion": "1.24",
813
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
814
+ "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`.",
815
+ "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",
816
+ "completion": {
817
+ "label": "ChangeTimeZone",
818
+ "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
819
+ "insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$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\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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
826
+ }
827
+ },
828
+ "parametersInfo": {
829
+ "min": 2,
830
+ "max": 2
831
+ }
832
+ },
808
833
  [
809
834
  {
810
835
  "type": "function",
811
836
  "name": "date",
812
837
  "bundle": "core",
813
838
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
814
- "description": "Cria um objeto Date a partir de um conjunto de parâmetros. Por padrão, as datas são criadas no horário local do cliente ou sistema.",
815
- "examples": "\n##### Exemplos\n\nCria uma data que representa a hora especificada na hora local do sistema que executa 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 executando o Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
839
+ "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.",
840
+ "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",
816
841
  "completion": {
817
842
  "label": "Date",
818
- "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
843
+ "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
819
844
  "insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
820
845
  "insertTextMode": 2,
821
846
  "insertTextFormat": 2,
822
847
  "kind": 3,
823
848
  "documentation": {
824
849
  "kind": "markdown",
825
- "value": "Cria um objeto Date a partir de um conjunto de parâmetros. Por padrão, as datas são criadas no horário local do cliente ou sistema.\n\n**Parâmetros**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Um número representando um ano.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O mês (0-11) onde `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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
850
+ "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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
826
851
  }
827
852
  },
828
853
  "parametersInfo": {
829
854
  "min": 3,
830
- "max": 7
855
+ "max": 8
831
856
  }
832
857
  },
833
858
  {
@@ -835,8 +860,8 @@
835
860
  "name": "date",
836
861
  "bundle": "core",
837
862
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
838
- "description": "Cria uma data com o número de época do Unix fornecido no fuso horário local do cliente ou sistema.",
839
- "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",
863
+ "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.",
864
+ "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",
840
865
  "completion": {
841
866
  "label": "Date",
842
867
  "detail": "Date(epoch?) -> Date",
@@ -846,7 +871,7 @@
846
871
  "kind": 3,
847
872
  "documentation": {
848
873
  "kind": "markdown",
849
- "value": "Cria uma data com o número de época do Unix fornecido 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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
874
+ "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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
850
875
  }
851
876
  },
852
877
  "parametersInfo": {
@@ -859,8 +884,8 @@
859
884
  "name": "date",
860
885
  "bundle": "core",
861
886
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
862
- "description": "Converte um valor de texto ISO 8601 em um objeto Date no fuso horário local do cliente ou sistema.",
863
- "examples": "\n##### Exemplo\n\nvalor de texto da 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",
887
+ "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.",
888
+ "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",
864
889
  "completion": {
865
890
  "label": "Date",
866
891
  "detail": "Date(timestamp?) -> Date",
@@ -870,70 +895,376 @@
870
895
  "kind": 3,
871
896
  "documentation": {
872
897
  "kind": "markdown",
873
- "value": "Converte um valor de texto ISO 8601 em um objeto Date 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 em uma data.\n\n**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
898
+ "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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
874
899
  }
875
900
  },
876
901
  "parametersInfo": {
877
902
  "min": 0,
878
903
  "max": 1
879
904
  }
905
+ },
906
+ {
907
+ "type": "function",
908
+ "name": "date",
909
+ "bundle": "core",
910
+ "sinceVersion": "1.24",
911
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
912
+ "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
913
+ "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",
914
+ "completion": {
915
+ "label": "Date",
916
+ "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
917
+ "insertText": "Date(${1:dateOnlyValue_})$0",
918
+ "insertTextMode": 2,
919
+ "insertTextFormat": 2,
920
+ "kind": 3,
921
+ "documentation": {
922
+ "kind": "markdown",
923
+ "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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
924
+ }
925
+ },
926
+ "parametersInfo": {
927
+ "min": 1,
928
+ "max": 3
929
+ }
930
+ },
931
+ {
932
+ "type": "function",
933
+ "name": "date",
934
+ "bundle": "core",
935
+ "sinceVersion": "1.24",
936
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
937
+ "description": "Creates a copy of the given Date.",
938
+ "examples": "\n##### Exemplo\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
939
+ "completion": {
940
+ "label": "Date",
941
+ "detail": "Date(dateValue) -> Date",
942
+ "insertText": "Date(${1:dateValue_})$0",
943
+ "insertTextMode": 2,
944
+ "insertTextFormat": 2,
945
+ "kind": 3,
946
+ "documentation": {
947
+ "kind": "markdown",
948
+ "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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
949
+ }
950
+ },
951
+ "parametersInfo": {
952
+ "min": 1,
953
+ "max": 1
954
+ }
880
955
  }
881
956
  ],
882
- {
883
- "type": "function",
884
- "name": "dateadd",
885
- "bundle": "core",
886
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd",
887
- "description": "Adiciona uma quantidade especificada de tempo nas unidades fornecidas para um data e retorna uma nova data.",
888
- "examples": "\n##### Exemplo\n\nAdiciona 7 dias para a data no campo fornecido\n\n```arcade\nvar startDate = Date($feature.dateField);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n```\n\n",
889
- "completion": {
890
- "label": "DateAdd",
891
- "detail": "DateAdd(dateValue, addValue, units?) -> Date",
892
- "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
893
- "insertTextMode": 2,
894
- "insertTextFormat": 2,
895
- "kind": 3,
896
- "documentation": {
897
- "kind": "markdown",
898
- "value": "Adiciona uma quantidade especificada de tempo nas unidades fornecidas para um data e retorna uma nova data.\n\n**Parâmetros**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A data de entrada na qual adicionar tempo.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O valor para adicionar na data nas unidades fornecidas.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - As unidades do número a serem adicionados à data. O padrão é 'milissegundos'. Os tipos de unidade suportados incluem `milissegundos`, `segundos`, `minutos`, `horas`, `dias`, `meses`, `anos`\n\n**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
957
+ [
958
+ {
959
+ "type": "function",
960
+ "name": "dateadd",
961
+ "bundle": "core",
962
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
963
+ "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.",
964
+ "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",
965
+ "completion": {
966
+ "label": "DateAdd",
967
+ "detail": "DateAdd(dateValue, addValue, units?) -> Date",
968
+ "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
969
+ "insertTextMode": 2,
970
+ "insertTextFormat": 2,
971
+ "kind": 3,
972
+ "documentation": {
973
+ "kind": "markdown",
974
+ "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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
975
+ }
976
+ },
977
+ "parametersInfo": {
978
+ "min": 2,
979
+ "max": 3
899
980
  }
900
981
  },
901
- "parametersInfo": {
902
- "min": 2,
903
- "max": 3
982
+ {
983
+ "type": "function",
984
+ "name": "dateadd",
985
+ "bundle": "core",
986
+ "sinceVersion": "1.24",
987
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
988
+ "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
989
+ "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",
990
+ "completion": {
991
+ "label": "DateAdd",
992
+ "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
993
+ "insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
994
+ "insertTextMode": 2,
995
+ "insertTextFormat": 2,
996
+ "kind": 3,
997
+ "documentation": {
998
+ "kind": "markdown",
999
+ "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**Retornar valor**: DateOnly"
1000
+ }
1001
+ },
1002
+ "parametersInfo": {
1003
+ "min": 2,
1004
+ "max": 3
1005
+ }
1006
+ },
1007
+ {
1008
+ "type": "function",
1009
+ "name": "dateadd",
1010
+ "bundle": "core",
1011
+ "sinceVersion": "1.24",
1012
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
1013
+ "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
1014
+ "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",
1015
+ "completion": {
1016
+ "label": "DateAdd",
1017
+ "detail": "DateAdd(timeValue, addValue, units?) -> Time",
1018
+ "insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
1019
+ "insertTextMode": 2,
1020
+ "insertTextFormat": 2,
1021
+ "kind": 3,
1022
+ "documentation": {
1023
+ "kind": "markdown",
1024
+ "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**Retornar valor**: Time"
1025
+ }
1026
+ },
1027
+ "parametersInfo": {
1028
+ "min": 2,
1029
+ "max": 3
1030
+ }
904
1031
  }
905
- },
906
- {
907
- "type": "function",
908
- "name": "datediff",
909
- "bundle": "core",
910
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff",
911
- "description": "Subtrai duas datas, e retorna a diferença nas unidades especificadas.",
912
- "examples": "\n##### Exemplo\n\nSubtraia duas datas e retorna 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",
913
- "completion": {
914
- "label": "DateDiff",
915
- "detail": "DateDiff(date1, date2, units?) -> Number",
916
- "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
917
- "insertTextMode": 2,
918
- "insertTextFormat": 2,
919
- "kind": 3,
920
- "documentation": {
921
- "kind": "markdown",
922
- "value": "Subtrai duas datas, e retorna 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 do qual subtrair uma segunda data.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valor de data para subtrair da primeira data fornecida.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - As unidades na qual retorna a diferença das duas datas fornecidas. Os tipos de unidade suportados incluem `milissegundos`, `segundos`, `minutos`, `horas`, `dias`, `meses`, `anos`. O valor padrão é `milissegundos`.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1032
+ ],
1033
+ [
1034
+ {
1035
+ "type": "function",
1036
+ "name": "datediff",
1037
+ "bundle": "core",
1038
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
1039
+ "description": "Subtracts two Dates, and returns the difference in the specified units.",
1040
+ "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",
1041
+ "completion": {
1042
+ "label": "DateDiff",
1043
+ "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
1044
+ "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
1045
+ "insertTextMode": 2,
1046
+ "insertTextFormat": 2,
1047
+ "kind": 3,
1048
+ "documentation": {
1049
+ "kind": "markdown",
1050
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1051
+ }
1052
+ },
1053
+ "parametersInfo": {
1054
+ "min": 2,
1055
+ "max": 4
923
1056
  }
924
1057
  },
925
- "parametersInfo": {
926
- "min": 2,
927
- "max": 3
1058
+ {
1059
+ "type": "function",
1060
+ "name": "datediff",
1061
+ "bundle": "core",
1062
+ "sinceVersion": "1.24",
1063
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
1064
+ "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
1065
+ "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",
1066
+ "completion": {
1067
+ "label": "DateDiff",
1068
+ "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
1069
+ "insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
1070
+ "insertTextMode": 2,
1071
+ "insertTextFormat": 2,
1072
+ "kind": 3,
1073
+ "documentation": {
1074
+ "kind": "markdown",
1075
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1076
+ }
1077
+ },
1078
+ "parametersInfo": {
1079
+ "min": 2,
1080
+ "max": 3
1081
+ }
1082
+ },
1083
+ {
1084
+ "type": "function",
1085
+ "name": "datediff",
1086
+ "bundle": "core",
1087
+ "sinceVersion": "1.24",
1088
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
1089
+ "description": "Subtracts two Time values, and returns the difference in the specified units.",
1090
+ "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",
1091
+ "completion": {
1092
+ "label": "DateDiff",
1093
+ "detail": "DateDiff(time1, time2, units?) -> Number",
1094
+ "insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
1095
+ "insertTextMode": 2,
1096
+ "insertTextFormat": 2,
1097
+ "kind": 3,
1098
+ "documentation": {
1099
+ "kind": "markdown",
1100
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1101
+ }
1102
+ },
1103
+ "parametersInfo": {
1104
+ "min": 2,
1105
+ "max": 3
1106
+ }
928
1107
  }
929
- },
1108
+ ],
1109
+ [
1110
+ {
1111
+ "type": "function",
1112
+ "name": "dateonly",
1113
+ "bundle": "core",
1114
+ "sinceVersion": "1.24",
1115
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
1116
+ "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
1117
+ "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",
1118
+ "completion": {
1119
+ "label": "DateOnly",
1120
+ "detail": "DateOnly() -> DateOnly",
1121
+ "insertText": "DateOnly($0)",
1122
+ "insertTextMode": 2,
1123
+ "insertTextFormat": 2,
1124
+ "kind": 3,
1125
+ "documentation": {
1126
+ "kind": "markdown",
1127
+ "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**Retornar valor**: DateOnly"
1128
+ }
1129
+ },
1130
+ "parametersInfo": {
1131
+ "min": 0,
1132
+ "max": 0
1133
+ }
1134
+ },
1135
+ {
1136
+ "type": "function",
1137
+ "name": "dateonly",
1138
+ "bundle": "core",
1139
+ "sinceVersion": "1.24",
1140
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
1141
+ "description": "Creates a DateOnly value from a given date.",
1142
+ "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",
1143
+ "completion": {
1144
+ "label": "DateOnly",
1145
+ "detail": "DateOnly(dateValue) -> DateOnly",
1146
+ "insertText": "DateOnly(${1:dateValue_})$0",
1147
+ "insertTextMode": 2,
1148
+ "insertTextFormat": 2,
1149
+ "kind": 3,
1150
+ "documentation": {
1151
+ "kind": "markdown",
1152
+ "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**Retornar valor**: DateOnly"
1153
+ }
1154
+ },
1155
+ "parametersInfo": {
1156
+ "min": 1,
1157
+ "max": 1
1158
+ }
1159
+ },
1160
+ {
1161
+ "type": "function",
1162
+ "name": "dateonly",
1163
+ "bundle": "core",
1164
+ "sinceVersion": "1.24",
1165
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
1166
+ "description": "Creates a DateOnly date with the given Unix epoch number.",
1167
+ "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",
1168
+ "completion": {
1169
+ "label": "DateOnly",
1170
+ "detail": "DateOnly(epoch) -> DateOnly",
1171
+ "insertText": "DateOnly(${1:epoch_})$0",
1172
+ "insertTextMode": 2,
1173
+ "insertTextFormat": 2,
1174
+ "kind": 3,
1175
+ "documentation": {
1176
+ "kind": "markdown",
1177
+ "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**Retornar valor**: DateOnly"
1178
+ }
1179
+ },
1180
+ "parametersInfo": {
1181
+ "min": 1,
1182
+ "max": 1
1183
+ }
1184
+ },
1185
+ {
1186
+ "type": "function",
1187
+ "name": "dateonly",
1188
+ "bundle": "core",
1189
+ "sinceVersion": "1.24",
1190
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
1191
+ "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
1192
+ "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",
1193
+ "completion": {
1194
+ "label": "DateOnly",
1195
+ "detail": "DateOnly(year, month, day) -> DateOnly",
1196
+ "insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
1197
+ "insertTextMode": 2,
1198
+ "insertTextFormat": 2,
1199
+ "kind": 3,
1200
+ "documentation": {
1201
+ "kind": "markdown",
1202
+ "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**Retornar valor**: DateOnly"
1203
+ }
1204
+ },
1205
+ "parametersInfo": {
1206
+ "min": 3,
1207
+ "max": 3
1208
+ }
1209
+ },
1210
+ {
1211
+ "type": "function",
1212
+ "name": "dateonly",
1213
+ "bundle": "core",
1214
+ "sinceVersion": "1.24",
1215
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
1216
+ "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.",
1217
+ "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",
1218
+ "completion": {
1219
+ "label": "DateOnly",
1220
+ "detail": "DateOnly(dateValue, format?) -> DateOnly",
1221
+ "insertText": "DateOnly(${1:dateValue_})$0",
1222
+ "insertTextMode": 2,
1223
+ "insertTextFormat": 2,
1224
+ "kind": 3,
1225
+ "documentation": {
1226
+ "kind": "markdown",
1227
+ "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**Retornar valor**: DateOnly"
1228
+ }
1229
+ },
1230
+ "parametersInfo": {
1231
+ "min": 1,
1232
+ "max": 2
1233
+ }
1234
+ },
1235
+ {
1236
+ "type": "function",
1237
+ "name": "dateonly",
1238
+ "bundle": "core",
1239
+ "sinceVersion": "1.24",
1240
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
1241
+ "description": "Creates a copy of a DateOnly value.",
1242
+ "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",
1243
+ "completion": {
1244
+ "label": "DateOnly",
1245
+ "detail": "DateOnly(dateOnlyValue) -> DateOnly",
1246
+ "insertText": "DateOnly(${1:dateOnlyValue_})$0",
1247
+ "insertTextMode": 2,
1248
+ "insertTextFormat": 2,
1249
+ "kind": 3,
1250
+ "documentation": {
1251
+ "kind": "markdown",
1252
+ "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**Retornar valor**: DateOnly"
1253
+ }
1254
+ },
1255
+ "parametersInfo": {
1256
+ "min": 1,
1257
+ "max": 1
1258
+ }
1259
+ }
1260
+ ],
930
1261
  {
931
1262
  "type": "function",
932
1263
  "name": "day",
933
1264
  "bundle": "core",
934
1265
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
935
1266
  "description": "Retorna o dia do mês da data fornecida.",
936
- "examples": "\n##### Exemplo\n\nObtém o dia do mês da data atual\n\n```arcade\nDay(Now())\n```\n\n",
1267
+ "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",
937
1268
  "completion": {
938
1269
  "label": "Day",
939
1270
  "detail": "Day(dateValue) -> Number",
@@ -943,7 +1274,7 @@
943
1274
  "kind": 3,
944
1275
  "documentation": {
945
1276
  "kind": "markdown",
946
- "value": "Retorna o dia do mês da data fornecida.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data do qual obter o dia do mês.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1277
+ "value": "Retorna o dia do mês da data fornecida.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data do qual obter o dia do mês.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
947
1278
  }
948
1279
  },
949
1280
  "parametersInfo": {
@@ -951,30 +1282,57 @@
951
1282
  "max": 1
952
1283
  }
953
1284
  },
954
- {
955
- "type": "function",
956
- "name": "hour",
957
- "bundle": "core",
958
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour",
959
- "description": "Retorna a hora do tempo na data fornecida (0-23).",
960
- "examples": "\n##### Exemplo\n\nObtém a hora do tempo atual\n\n```arcade\nHour(Now())\n```\n\n",
961
- "completion": {
962
- "label": "Hour",
963
- "detail": "Hour(dateValue) -> Number",
964
- "insertText": "Hour(${1:dateValue_})$0",
965
- "insertTextMode": 2,
966
- "insertTextFormat": 2,
967
- "kind": 3,
968
- "documentation": {
969
- "kind": "markdown",
970
- "value": "Retorna a hora do tempo na data fornecida (0-23).\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data do qual obter a hora do tempo.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1285
+ [
1286
+ {
1287
+ "type": "function",
1288
+ "name": "hour",
1289
+ "bundle": "core",
1290
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
1291
+ "description": "Returns the hour of the time in the given date (0-23).",
1292
+ "examples": "\n##### Exemplo\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
1293
+ "completion": {
1294
+ "label": "Hour",
1295
+ "detail": "Hour(dateValue) -> Number",
1296
+ "insertText": "Hour(${1:dateValue_})$0",
1297
+ "insertTextMode": 2,
1298
+ "insertTextFormat": 2,
1299
+ "kind": 3,
1300
+ "documentation": {
1301
+ "kind": "markdown",
1302
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1303
+ }
1304
+ },
1305
+ "parametersInfo": {
1306
+ "min": 1,
1307
+ "max": 1
971
1308
  }
972
1309
  },
973
- "parametersInfo": {
974
- "min": 1,
975
- "max": 1
1310
+ {
1311
+ "type": "function",
1312
+ "name": "hour",
1313
+ "bundle": "core",
1314
+ "sinceVersion": "1.24",
1315
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
1316
+ "description": "Returns the hour of the given time (0-23).",
1317
+ "examples": "\n##### Exemplo\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
1318
+ "completion": {
1319
+ "label": "Hour",
1320
+ "detail": "Hour(timeValue) -> Number",
1321
+ "insertText": "Hour(${1:timeValue_})$0",
1322
+ "insertTextMode": 2,
1323
+ "insertTextFormat": 2,
1324
+ "kind": 3,
1325
+ "documentation": {
1326
+ "kind": "markdown",
1327
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1328
+ }
1329
+ },
1330
+ "parametersInfo": {
1331
+ "min": 1,
1332
+ "max": 1
1333
+ }
976
1334
  }
977
- },
1335
+ ],
978
1336
  {
979
1337
  "type": "function",
980
1338
  "name": "isomonth",
@@ -982,7 +1340,7 @@
982
1340
  "sinceVersion": "1.12",
983
1341
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
984
1342
  "description": "Retorna o mês da data fornecida, com base no padrão ISO 8601. Os valores variam de 1-12, onde Janeiro é `1` e Dezembro é` 12`.",
985
- "examples": "\n##### Exemplo\n\nObtém o mês da data fornecida, com base no padrão ISO 8601. Retorna '12', para o mês de Dezembro.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n",
1343
+ "examples": "\n##### Exemplos\n\nObtém o mês da data fornecida, com base no padrão ISO 8601. Retorna '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",
986
1344
  "completion": {
987
1345
  "label": "ISOMonth",
988
1346
  "detail": "ISOMonth(dateValue) -> Number",
@@ -992,7 +1350,7 @@
992
1350
  "kind": 3,
993
1351
  "documentation": {
994
1352
  "kind": "markdown",
995
- "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna o mês da data fornecida, com base no padrão ISO 8601. Os valores variam de 1-12, onde 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 do qual obter o mês.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1353
+ "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna o mês da data fornecida, com base no padrão ISO 8601. Os valores variam de 1-12, onde 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 do qual obter o mês.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
996
1354
  }
997
1355
  },
998
1356
  "parametersInfo": {
@@ -1007,7 +1365,7 @@
1007
1365
  "sinceVersion": "1.12",
1008
1366
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
1009
1367
  "description": "Retorna a semana do ano da data especificada, com base no calendário de datas da semana ISO 8601. Os valores variam de 1-53, onde a primeira semana do ano é `1` e a última semana do ano é` 52` ou `53`, dependendo do ano.",
1010
- "examples": "\n##### Exemplo\n\nObtém a semana da data fornecida, com base no padrão ISO 8601. Retorna `1`, pois esta data está incluída na primeira semana do ano seguinte.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
1368
+ "examples": "\n##### Exemplos\n\nObtém a semana da data fornecida, com base no padrão ISO 8601. Retorna `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",
1011
1369
  "completion": {
1012
1370
  "label": "ISOWeek",
1013
1371
  "detail": "ISOWeek(dateValue) -> Number",
@@ -1017,7 +1375,7 @@
1017
1375
  "kind": 3,
1018
1376
  "documentation": {
1019
1377
  "kind": "markdown",
1020
- "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna a semana do ano da data especificada, com base no calendário de datas da semana ISO 8601. Os valores variam de 1-53, onde 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 obter a semana.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1378
+ "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna a semana do ano da data especificada, com base no calendário de datas da semana ISO 8601. Os valores variam de 1-53, onde 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 obter a semana.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1021
1379
  }
1022
1380
  },
1023
1381
  "parametersInfo": {
@@ -1032,7 +1390,7 @@
1032
1390
  "sinceVersion": "1.12",
1033
1391
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
1034
1392
  "description": "Retorna o dia da semana da data fornecida, com base no padrão ISO 8601. Os valores variam de 1-7, onde Segunda-Feira é `1` e Domingo é` 7`.",
1035
- "examples": "\n##### Exemplo\n\nRetorna o dia da semana da data fornecida, com base no padrão ISO 8601. Retorna `3`, para Quarta-Feira.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n",
1393
+ "examples": "\n##### Exemplos\n\nRetorna o dia da semana da data fornecida, com base no padrão ISO 8601. Retorna `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",
1036
1394
  "completion": {
1037
1395
  "label": "ISOWeekday",
1038
1396
  "detail": "ISOWeekday(dateValue) -> Number",
@@ -1042,7 +1400,7 @@
1042
1400
  "kind": 3,
1043
1401
  "documentation": {
1044
1402
  "kind": "markdown",
1045
- "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna o dia da semana da data fornecida, com base no padrão ISO 8601. Os valores variam de 1-7, onde 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 do qual retornar o dia da semana.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1403
+ "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna o dia da semana da data fornecida, com base no padrão ISO 8601. Os valores variam de 1-7, onde 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 do qual retornar o dia da semana.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1046
1404
  }
1047
1405
  },
1048
1406
  "parametersInfo": {
@@ -1057,65 +1415,17 @@
1057
1415
  "sinceVersion": "1.12",
1058
1416
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
1059
1417
  "description": "Retorna o ano da data fornecida com base no calendário de datas da semana ISO 8601.",
1060
- "examples": "\n##### Exemplo\n\nObtém o ano da data fornecida, com base no calendário de datas da semana ISO 8601. Retorna `1981`, pois esta data está incluída na primeira semana do ano seguinte.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n",
1418
+ "examples": "\n##### Exemplos\n\nObtém o ano da data fornecida, com base no calendário de datas da semana ISO 8601. Retorna `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",
1061
1419
  "completion": {
1062
1420
  "label": "ISOYear",
1063
- "detail": "ISOYear(dateValue) -> Number",
1064
- "insertText": "ISOYear(${1:dateValue_})$0",
1065
- "insertTextMode": 2,
1066
- "insertTextFormat": 2,
1067
- "kind": 3,
1068
- "documentation": {
1069
- "kind": "markdown",
1070
- "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna o ano da data fornecida com base no calendário de datas da semana ISO 8601.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data do qual obter o ano.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1071
- }
1072
- },
1073
- "parametersInfo": {
1074
- "min": 1,
1075
- "max": 1
1076
- }
1077
- },
1078
- {
1079
- "type": "function",
1080
- "name": "millisecond",
1081
- "bundle": "core",
1082
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
1083
- "description": "Retorna o milissegundo de hora na data.",
1084
- "examples": "\n##### Exemplo\n\nObtém o milissegundo da hora atual\n\n```arcade\nMillisecond(Now())\n```\n\n",
1085
- "completion": {
1086
- "label": "Millisecond",
1087
- "detail": "Millisecond(dateValue) -> Number",
1088
- "insertText": "Millisecond(${1:dateValue_})$0",
1089
- "insertTextMode": 2,
1090
- "insertTextFormat": 2,
1091
- "kind": 3,
1092
- "documentation": {
1093
- "kind": "markdown",
1094
- "value": "Retorna o milissegundo de hora na data.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data do qual obter o milissegundo da hora.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1095
- }
1096
- },
1097
- "parametersInfo": {
1098
- "min": 1,
1099
- "max": 1
1100
- }
1101
- },
1102
- {
1103
- "type": "function",
1104
- "name": "minute",
1105
- "bundle": "core",
1106
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
1107
- "description": "Retorna o minuto da hora na data fornecida.",
1108
- "examples": "\n##### Exemplo\n\nObtém o minuto da hora atual\n\n```arcade\nMinute(Now())\n```\n\n",
1109
- "completion": {
1110
- "label": "Minute",
1111
- "detail": "Minute(dateValue) -> Number",
1112
- "insertText": "Minute(${1:dateValue_})$0",
1421
+ "detail": "ISOYear(dateValue) -> Number",
1422
+ "insertText": "ISOYear(${1:dateValue_})$0",
1113
1423
  "insertTextMode": 2,
1114
1424
  "insertTextFormat": 2,
1115
1425
  "kind": 3,
1116
1426
  "documentation": {
1117
1427
  "kind": "markdown",
1118
- "value": "Retorna o minuto da hora na data fornecida.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data do qual obter o minuto da hora.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1428
+ "value": "**[Desde a versão 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna o ano da data fornecida com base no calendário de datas da semana ISO 8601.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data do qual obter o ano.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1119
1429
  }
1120
1430
  },
1121
1431
  "parametersInfo": {
@@ -1123,13 +1433,115 @@
1123
1433
  "max": 1
1124
1434
  }
1125
1435
  },
1436
+ [
1437
+ {
1438
+ "type": "function",
1439
+ "name": "millisecond",
1440
+ "bundle": "core",
1441
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
1442
+ "description": "Returns the millisecond of the time in the date.",
1443
+ "examples": "\n##### Exemplo\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
1444
+ "completion": {
1445
+ "label": "Millisecond",
1446
+ "detail": "Millisecond(dateValue) -> Number",
1447
+ "insertText": "Millisecond(${1:dateValue_})$0",
1448
+ "insertTextMode": 2,
1449
+ "insertTextFormat": 2,
1450
+ "kind": 3,
1451
+ "documentation": {
1452
+ "kind": "markdown",
1453
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1454
+ }
1455
+ },
1456
+ "parametersInfo": {
1457
+ "min": 1,
1458
+ "max": 1
1459
+ }
1460
+ },
1461
+ {
1462
+ "type": "function",
1463
+ "name": "millisecond",
1464
+ "bundle": "core",
1465
+ "sinceVersion": "1.24",
1466
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
1467
+ "description": "Returns the millisecond of the given time.",
1468
+ "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",
1469
+ "completion": {
1470
+ "label": "Millisecond",
1471
+ "detail": "Millisecond(timeValue) -> Number",
1472
+ "insertText": "Millisecond(${1:timeValue_})$0",
1473
+ "insertTextMode": 2,
1474
+ "insertTextFormat": 2,
1475
+ "kind": 3,
1476
+ "documentation": {
1477
+ "kind": "markdown",
1478
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1479
+ }
1480
+ },
1481
+ "parametersInfo": {
1482
+ "min": 1,
1483
+ "max": 1
1484
+ }
1485
+ }
1486
+ ],
1487
+ [
1488
+ {
1489
+ "type": "function",
1490
+ "name": "minute",
1491
+ "bundle": "core",
1492
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
1493
+ "description": "Returns the minute of the time in the given date.",
1494
+ "examples": "\n##### Exemplo\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
1495
+ "completion": {
1496
+ "label": "Minute",
1497
+ "detail": "Minute(dateValue) -> Number",
1498
+ "insertText": "Minute(${1:dateValue_})$0",
1499
+ "insertTextMode": 2,
1500
+ "insertTextFormat": 2,
1501
+ "kind": 3,
1502
+ "documentation": {
1503
+ "kind": "markdown",
1504
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1505
+ }
1506
+ },
1507
+ "parametersInfo": {
1508
+ "min": 1,
1509
+ "max": 1
1510
+ }
1511
+ },
1512
+ {
1513
+ "type": "function",
1514
+ "name": "minute",
1515
+ "bundle": "core",
1516
+ "sinceVersion": "1.24",
1517
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
1518
+ "description": "Returns the minute of the given time.",
1519
+ "examples": "\n##### Exemplo\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
1520
+ "completion": {
1521
+ "label": "Minute",
1522
+ "detail": "Minute(timeValue) -> Number",
1523
+ "insertText": "Minute(${1:timeValue_})$0",
1524
+ "insertTextMode": 2,
1525
+ "insertTextFormat": 2,
1526
+ "kind": 3,
1527
+ "documentation": {
1528
+ "kind": "markdown",
1529
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1530
+ }
1531
+ },
1532
+ "parametersInfo": {
1533
+ "min": 1,
1534
+ "max": 1
1535
+ }
1536
+ }
1537
+ ],
1126
1538
  {
1127
1539
  "type": "function",
1128
1540
  "name": "month",
1129
1541
  "bundle": "core",
1130
1542
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
1131
1543
  "description": "Obtém o mês da data fornecida. Os valores variam de 0 a 11, onde janeiro é '0' e dezembro é '11'.",
1132
- "examples": "\n##### Exemplo\n\nObtém o mês da Data fornecida. Retorna 11, para o mês de Dezembro.\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
1544
+ "examples": "\n##### Exemplos\n\nObtém o mês da Data fornecida. Retorna 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",
1133
1545
  "completion": {
1134
1546
  "label": "Month",
1135
1547
  "detail": "Month(dateValue) -> Number",
@@ -1139,7 +1551,7 @@
1139
1551
  "kind": 3,
1140
1552
  "documentation": {
1141
1553
  "kind": "markdown",
1142
- "value": "Obtém o mês da data fornecida. Os valores variam de 0 a 11, onde 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 do qual obter o mês.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1554
+ "value": "Obtém o mês da data fornecida. Os valores variam de 0 a 11, onde 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 do qual obter o mês.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1143
1555
  }
1144
1556
  },
1145
1557
  "parametersInfo": {
@@ -1171,23 +1583,227 @@
1171
1583
  "max": 0
1172
1584
  }
1173
1585
  },
1586
+ [
1587
+ {
1588
+ "type": "function",
1589
+ "name": "second",
1590
+ "bundle": "core",
1591
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
1592
+ "description": "Returns the second of the time in the date.",
1593
+ "examples": "\n##### Exemplo\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
1594
+ "completion": {
1595
+ "label": "Second",
1596
+ "detail": "Second(dateValue) -> Number",
1597
+ "insertText": "Second(${1:dateValue_})$0",
1598
+ "insertTextMode": 2,
1599
+ "insertTextFormat": 2,
1600
+ "kind": 3,
1601
+ "documentation": {
1602
+ "kind": "markdown",
1603
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1604
+ }
1605
+ },
1606
+ "parametersInfo": {
1607
+ "min": 1,
1608
+ "max": 1
1609
+ }
1610
+ },
1611
+ {
1612
+ "type": "function",
1613
+ "name": "second",
1614
+ "bundle": "core",
1615
+ "sinceVersion": "1.24",
1616
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
1617
+ "description": "Returns the second of the given time.",
1618
+ "examples": "\n##### Exemplo\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
1619
+ "completion": {
1620
+ "label": "Second",
1621
+ "detail": "Second(timeValue) -> Number",
1622
+ "insertText": "Second(${1:timeValue_})$0",
1623
+ "insertTextMode": 2,
1624
+ "insertTextFormat": 2,
1625
+ "kind": 3,
1626
+ "documentation": {
1627
+ "kind": "markdown",
1628
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1629
+ }
1630
+ },
1631
+ "parametersInfo": {
1632
+ "min": 1,
1633
+ "max": 1
1634
+ }
1635
+ }
1636
+ ],
1637
+ [
1638
+ {
1639
+ "type": "function",
1640
+ "name": "time",
1641
+ "bundle": "core",
1642
+ "sinceVersion": "1.24",
1643
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
1644
+ "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
1645
+ "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",
1646
+ "completion": {
1647
+ "label": "Time",
1648
+ "detail": "Time() -> Time",
1649
+ "insertText": "Time($0)",
1650
+ "insertTextMode": 2,
1651
+ "insertTextFormat": 2,
1652
+ "kind": 3,
1653
+ "documentation": {
1654
+ "kind": "markdown",
1655
+ "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**Retornar valor**: Time"
1656
+ }
1657
+ },
1658
+ "parametersInfo": {
1659
+ "min": 0,
1660
+ "max": 0
1661
+ }
1662
+ },
1663
+ {
1664
+ "type": "function",
1665
+ "name": "time",
1666
+ "bundle": "core",
1667
+ "sinceVersion": "1.24",
1668
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
1669
+ "description": "Creates a Time value from a given date.",
1670
+ "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",
1671
+ "completion": {
1672
+ "label": "Time",
1673
+ "detail": "Time(dateValue) -> Time",
1674
+ "insertText": "Time(${1:dateValue_})$0",
1675
+ "insertTextMode": 2,
1676
+ "insertTextFormat": 2,
1677
+ "kind": 3,
1678
+ "documentation": {
1679
+ "kind": "markdown",
1680
+ "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**Retornar valor**: Time"
1681
+ }
1682
+ },
1683
+ "parametersInfo": {
1684
+ "min": 1,
1685
+ "max": 1
1686
+ }
1687
+ },
1688
+ {
1689
+ "type": "function",
1690
+ "name": "time",
1691
+ "bundle": "core",
1692
+ "sinceVersion": "1.24",
1693
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
1694
+ "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`.",
1695
+ "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",
1696
+ "completion": {
1697
+ "label": "Time",
1698
+ "detail": "Time(numValue) -> Time",
1699
+ "insertText": "Time(${1:numValue_})$0",
1700
+ "insertTextMode": 2,
1701
+ "insertTextFormat": 2,
1702
+ "kind": 3,
1703
+ "documentation": {
1704
+ "kind": "markdown",
1705
+ "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**Retornar valor**: Time"
1706
+ }
1707
+ },
1708
+ "parametersInfo": {
1709
+ "min": 1,
1710
+ "max": 1
1711
+ }
1712
+ },
1713
+ {
1714
+ "type": "function",
1715
+ "name": "time",
1716
+ "bundle": "core",
1717
+ "sinceVersion": "1.24",
1718
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
1719
+ "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
1720
+ "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",
1721
+ "completion": {
1722
+ "label": "Time",
1723
+ "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
1724
+ "insertText": "Time(${1:hours_}, ${2:minutes_})$0",
1725
+ "insertTextMode": 2,
1726
+ "insertTextFormat": 2,
1727
+ "kind": 3,
1728
+ "documentation": {
1729
+ "kind": "markdown",
1730
+ "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**Retornar valor**: Time"
1731
+ }
1732
+ },
1733
+ "parametersInfo": {
1734
+ "min": 2,
1735
+ "max": 4
1736
+ }
1737
+ },
1738
+ {
1739
+ "type": "function",
1740
+ "name": "time",
1741
+ "bundle": "core",
1742
+ "sinceVersion": "1.24",
1743
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
1744
+ "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
1745
+ "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",
1746
+ "completion": {
1747
+ "label": "Time",
1748
+ "detail": "Time(timeValue, format?) -> Time",
1749
+ "insertText": "Time(${1:timeValue_})$0",
1750
+ "insertTextMode": 2,
1751
+ "insertTextFormat": 2,
1752
+ "kind": 3,
1753
+ "documentation": {
1754
+ "kind": "markdown",
1755
+ "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**Retornar valor**: Time"
1756
+ }
1757
+ },
1758
+ "parametersInfo": {
1759
+ "min": 1,
1760
+ "max": 2
1761
+ }
1762
+ }
1763
+ ],
1764
+ {
1765
+ "type": "function",
1766
+ "name": "timestamp",
1767
+ "bundle": "core",
1768
+ "sinceVersion": "1.1",
1769
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
1770
+ "description": "Cria um valor de data que representa a data e hora atuais em UTC.",
1771
+ "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",
1772
+ "completion": {
1773
+ "label": "Timestamp",
1774
+ "detail": "Timestamp() -> Date",
1775
+ "insertText": "Timestamp($0)",
1776
+ "insertTextMode": 2,
1777
+ "insertTextFormat": 2,
1778
+ "kind": 3,
1779
+ "documentation": {
1780
+ "kind": "markdown",
1781
+ "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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1782
+ }
1783
+ },
1784
+ "parametersInfo": {
1785
+ "min": 0,
1786
+ "max": 0
1787
+ }
1788
+ },
1174
1789
  {
1175
1790
  "type": "function",
1176
- "name": "second",
1791
+ "name": "timezone",
1177
1792
  "bundle": "core",
1178
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second",
1179
- "description": "Retorna o segundo de hora na data.",
1180
- "examples": "\n##### Exemplo\n\nObtém o segundo da hora atual\n\n```arcade\nSecond(Now())\n```\n\n",
1793
+ "sinceVersion": "1.24",
1794
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
1795
+ "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",
1796
+ "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",
1181
1797
  "completion": {
1182
- "label": "Second",
1183
- "detail": "Second(dateValue) -> Number",
1184
- "insertText": "Second(${1:dateValue_})$0",
1798
+ "label": "TimeZone",
1799
+ "detail": "TimeZone(dateValue) -> Text",
1800
+ "insertText": "TimeZone(${1:dateValue_})$0",
1185
1801
  "insertTextMode": 2,
1186
1802
  "insertTextFormat": 2,
1187
1803
  "kind": 3,
1188
1804
  "documentation": {
1189
1805
  "kind": "markdown",
1190
- "value": "Retorna o segundo de hora na data.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data do qual obter o segundo da hora.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1806
+ "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**Retornar valor**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1191
1807
  }
1192
1808
  },
1193
1809
  "parametersInfo": {
@@ -1197,27 +1813,27 @@
1197
1813
  },
1198
1814
  {
1199
1815
  "type": "function",
1200
- "name": "timestamp",
1816
+ "name": "timezoneoffset",
1201
1817
  "bundle": "core",
1202
- "sinceVersion": "1.1",
1203
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
1204
- "description": "Cria um valor de data que representa a data e hora atuais em UTC.",
1205
- "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",
1818
+ "sinceVersion": "1.24",
1819
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
1820
+ "description": "Returns the time zone offset in minutes from UTC for the given Date.",
1821
+ "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",
1206
1822
  "completion": {
1207
- "label": "Timestamp",
1208
- "detail": "Timestamp() -> Date",
1209
- "insertText": "Timestamp($0)",
1823
+ "label": "TimeZoneOffset",
1824
+ "detail": "TimeZoneOffset(dateValue) -> Number",
1825
+ "insertText": "TimeZoneOffset(${1:dateValue_})$0",
1210
1826
  "insertTextMode": 2,
1211
1827
  "insertTextFormat": 2,
1212
1828
  "kind": 3,
1213
1829
  "documentation": {
1214
1830
  "kind": "markdown",
1215
- "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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1831
+ "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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1216
1832
  }
1217
1833
  },
1218
1834
  "parametersInfo": {
1219
- "min": 0,
1220
- "max": 0
1835
+ "min": 1,
1836
+ "max": 1
1221
1837
  }
1222
1838
  },
1223
1839
  {
@@ -1301,7 +1917,7 @@
1301
1917
  "sinceVersion": "1.14",
1302
1918
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
1303
1919
  "description": "Retorna o número da semana no ano da data fornecida. Os valores variam de 0-53, onde 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 pode não durar sete dias completos.",
1304
- "examples": "\n##### Exemplos\n\nUse o início da semana padrão (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 o 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",
1920
+ "examples": "\n##### Exemplos\n\nUse o início da semana padrão (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 o 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",
1305
1921
  "completion": {
1306
1922
  "label": "Week",
1307
1923
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -1311,7 +1927,7 @@
1311
1927
  "kind": 3,
1312
1928
  "documentation": {
1313
1929
  "kind": "markdown",
1314
- "value": "**[Desde a versão 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna o número da semana no ano da data fornecida. Os valores variam de 0-53, onde 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 pode 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 obter 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. O padrão é `0` (domingo).\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1930
+ "value": "**[Desde a versão 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna o número da semana no ano da data fornecida. Os valores variam de 0-53, onde 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 pode 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 obter 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. O padrão é `0` (domingo).\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1315
1931
  }
1316
1932
  },
1317
1933
  "parametersInfo": {
@@ -1325,7 +1941,7 @@
1325
1941
  "bundle": "core",
1326
1942
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
1327
1943
  "description": "Retorna o dia de semana da data fornecida. Os valores variam de 0-6 onde o Domingo é `0` e Sábado é `6`.",
1328
- "examples": "\n##### Exemplo\n\nRetorna o dia de semana da data fornecida. Retorna `3`, para Quarta-Feira.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
1944
+ "examples": "\n##### Exemplos\n\nRetorna o dia de semana da data fornecida. Retorna `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",
1329
1945
  "completion": {
1330
1946
  "label": "Weekday",
1331
1947
  "detail": "Weekday(dateValue) -> Number",
@@ -1335,7 +1951,7 @@
1335
1951
  "kind": 3,
1336
1952
  "documentation": {
1337
1953
  "kind": "markdown",
1338
- "value": "Retorna o dia de semana da data fornecida. Os valores variam de 0-6 onde o 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 do qual retornar o dia da semana.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1954
+ "value": "Retorna o dia de semana da data fornecida. Os valores variam de 0-6 onde o 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 do qual retornar o dia da semana.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1339
1955
  }
1340
1956
  },
1341
1957
  "parametersInfo": {
@@ -1349,7 +1965,7 @@
1349
1965
  "bundle": "core",
1350
1966
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
1351
1967
  "description": "Retorna o ano da data fornecida.",
1352
- "examples": "\n##### Exemplo\n\nObtém o ano da data atual\n\n```arcade\nYear(Now())\n```\n\n",
1968
+ "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",
1353
1969
  "completion": {
1354
1970
  "label": "Year",
1355
1971
  "detail": "Year(dateValue) -> Number",
@@ -1359,7 +1975,7 @@
1359
1975
  "kind": 3,
1360
1976
  "documentation": {
1361
1977
  "kind": "markdown",
1362
- "value": "Retorna o ano da data fornecida.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Um valor de data do qual obter o ano.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1978
+ "value": "Retorna o ano da data fornecida.\n\n**Parâmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Um valor de data do qual obter o ano.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1363
1979
  }
1364
1980
  },
1365
1981
  "parametersInfo": {
@@ -4094,7 +4710,7 @@
4094
4710
  "bundle": "core",
4095
4711
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
4096
4712
  "description": "Converte seu parâmetro em um valor de texto e opcionalmente o formata. Retorna 'nulo' se falhar.",
4097
- "examples": "\n##### Exemplos\n\nMove o número à esquerda do decimal\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nRestringe o número à esquerda do decimal\n\n```arcade\nText(123, '00') // '23'\n```\n\nAgrupa o número por milhares\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nArredonda o número para duas casas decimais\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormatar número como moeda corrente\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nArredonda o número para duas casas decimais\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nMantém dígitos significativos e agrupa por milhares\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormata o número e formata positivo/negativo - se houver um subpadrão, serve somente para especificar o prefixo e sufixo negativo\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMultiplica por 100 e formata como porcentagem\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormate a data e a hora no momento. por exemplo, 'Terça-feira, 25 de Outubro de 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 Desloca a hora local para UTC para evitar a aplicação da 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",
4713
+ "examples": "\n##### Exemplos\n\nMove o número à esquerda do decimal\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nRestringe o número à esquerda do decimal\n\n```arcade\nText(123, '00') // '23'\n```\n\nAgrupa o número por milhares\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nArredonda o número para duas casas decimais\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormatar número como moeda corrente\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nArredonda o número para duas casas decimais\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nMantém dígitos significativos e agrupa por milhares\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormata o número e formata positivo/negativo - se houver um subpadrão, serve somente para especificar o prefixo e sufixo negativo\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMultiplica por 100 e formata como porcentagem\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormate a data e a hora no momento. por exemplo, 'Terça-feira, 25 de Outubro de 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 Desloca a hora local para UTC para evitar a aplicação da 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",
4098
4714
  "completion": {
4099
4715
  "label": "Text",
4100
4716
  "detail": "Text(value, format?) -> Text",
@@ -5036,6 +5652,31 @@
5036
5652
  "max": 4
5037
5653
  }
5038
5654
  },
5655
+ {
5656
+ "type": "function",
5657
+ "name": "featuresetbyrelationshipclass",
5658
+ "bundle": "data-access",
5659
+ "sinceVersion": "1.24",
5660
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
5661
+ "description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
5662
+ "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",
5663
+ "completion": {
5664
+ "label": "FeatureSetByRelationshipClass",
5665
+ "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
5666
+ "insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
5667
+ "insertTextMode": 2,
5668
+ "insertTextFormat": 2,
5669
+ "kind": 3,
5670
+ "documentation": {
5671
+ "kind": "markdown",
5672
+ "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**Retornar valor**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
5673
+ }
5674
+ },
5675
+ "parametersInfo": {
5676
+ "min": 2,
5677
+ "max": 4
5678
+ }
5679
+ },
5039
5680
  {
5040
5681
  "type": "function",
5041
5682
  "name": "featuresetbyrelationshipname",
@@ -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**Retornar valor**: [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 de hachura 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 para ser hachurada.\n\n**Retornar valor**: [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 de hachura 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 para ser hachurada.\n\n**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6199
6865
  }
6200
6866
  },
6201
6867
  "parametersInfo": {