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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +858 -192
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +821 -155
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +829 -163
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +829 -163
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +829 -163
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +829 -163
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +829 -163
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +858 -192
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +853 -187
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +829 -163
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +829 -163
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +858 -192
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +829 -163
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +858 -192
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +829 -163
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +829 -163
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +858 -192
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +821 -155
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +859 -193
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +859 -193
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +829 -163
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +829 -163
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +829 -163
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +829 -163
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +829 -163
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +829 -163
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +829 -163
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +829 -163
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +858 -192
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +829 -163
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +829 -163
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +845 -179
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +829 -163
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +858 -192
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +858 -192
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +858 -192
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +858 -192
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +859 -193
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +859 -193
  41. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +859 -193
  42. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +1 -2
  43. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +1 -2
  44. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +1 -2
  45. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +1 -2
  46. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +1 -2
  47. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +1 -2
  48. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +1 -2
  49. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +1 -2
  50. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +1 -2
  51. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +1 -2
  52. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +1 -2
  53. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +1 -2
  54. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +1 -2
  55. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +1 -2
  56. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +1 -2
  57. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +1 -2
  58. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +1 -2
  59. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +1 -2
  60. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +1 -2
  61. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +1 -2
  62. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +1 -2
  63. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +1 -2
  64. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +1 -2
  65. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +1 -2
  66. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +1 -2
  67. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +1 -2
  68. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +1 -2
  69. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +1 -2
  70. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +1 -2
  71. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +1 -2
  72. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +1 -2
  73. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +1 -2
  74. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +1 -2
  75. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +1 -2
  76. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +1 -2
  77. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +1 -2
  78. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +1 -2
  79. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +1 -2
  80. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +1 -2
  81. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +1 -2
  82. package/dist/arcgis-coding-components/index.esm.js +1 -1
  83. package/dist/arcgis-coding-components/{p-ed254359.js → p-00c0b964.js} +1 -1
  84. package/dist/arcgis-coding-components/{p-616bcc2c.js → p-0f471c2c.js} +1 -1
  85. package/dist/arcgis-coding-components/{p-4d7cdaf4.js → p-2daa5deb.js} +1 -1
  86. package/dist/arcgis-coding-components/{p-b866ffa3.js → p-65933e8a.js} +1 -1
  87. package/dist/arcgis-coding-components/{p-2eee5b07.js → p-92019d78.js} +7 -7
  88. package/dist/arcgis-coding-components/{p-ee4aaf72.js → p-bcd478e3.js} +1 -1
  89. package/dist/arcgis-coding-components/{p-41feaa6e.js → p-be85ec3d.js} +1 -1
  90. package/dist/arcgis-coding-components/{p-63d6d128.js → p-bf83cfac.js} +1 -1
  91. package/dist/arcgis-coding-components/p-dd2d53e7.entry.js +1 -0
  92. package/dist/arcgis-coding-components/{p-c14a46af.js → p-f1b6ba59.js} +1 -1
  93. package/dist/cjs/{arcade-defaults-f77b7bae.js → arcade-defaults-990ceb0a.js} +51 -33
  94. package/dist/cjs/{arcade-mode-4b1d5adc.js → arcade-mode-6a101da0.js} +1 -1
  95. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +40 -10
  96. package/dist/cjs/{cssMode-c21a8b34.js → cssMode-ef738198.js} +1 -1
  97. package/dist/cjs/{html-baddeebf.js → html-e97a8c1e.js} +1 -1
  98. package/dist/cjs/{htmlMode-3ca73779.js → htmlMode-0afb8251.js} +1 -1
  99. package/dist/cjs/index.cjs.js +1 -1
  100. package/dist/cjs/{javascript-4226e8d4.js → javascript-09fbcb7d.js} +2 -2
  101. package/dist/cjs/{jsonMode-4496d6b9.js → jsonMode-9a315af5.js} +1 -1
  102. package/dist/cjs/{tsMode-6fa6f2f6.js → tsMode-000c3471.js} +1 -1
  103. package/dist/cjs/{typescript-5b6bab68.js → typescript-a9f8ce6c.js} +1 -1
  104. package/dist/components/arcade-api.js +2 -1
  105. package/dist/components/arcade-defaults.js +3 -23
  106. package/dist/components/arcade-results.js +40 -10
  107. package/dist/components/arcade-suggestions.js +2 -1
  108. package/dist/components/arcade-variables.js +1 -1
  109. package/dist/components/arcgis-arcade-editor.js +1 -1
  110. package/dist/components/code-editor.js +1 -1
  111. package/dist/components/fields.js +125 -0
  112. package/dist/components/index2.js +282 -32
  113. package/dist/components/utilities.js +2 -334
  114. package/dist/esm/{arcade-defaults-24670a1d.js → arcade-defaults-a8808d6a.js} +52 -33
  115. package/dist/esm/{arcade-mode-dc10ed9f.js → arcade-mode-6c8aff99.js} +1 -1
  116. package/dist/esm/arcgis-arcade-api_6.entry.js +40 -10
  117. package/dist/esm/{cssMode-0ae84348.js → cssMode-e19675cf.js} +1 -1
  118. package/dist/esm/{html-c18864a6.js → html-0e2f7c2f.js} +1 -1
  119. package/dist/esm/{htmlMode-426699f2.js → htmlMode-a4dd6993.js} +1 -1
  120. package/dist/esm/index.js +1 -1
  121. package/dist/esm/{javascript-982f2d73.js → javascript-9d754452.js} +2 -2
  122. package/dist/esm/{jsonMode-170e0a0e.js → jsonMode-cfafe91a.js} +1 -1
  123. package/dist/esm/{tsMode-99d2e8e5.js → tsMode-612386a7.js} +1 -1
  124. package/dist/esm/{typescript-de4f8a27.js → typescript-a17e2ba3.js} +1 -1
  125. package/dist/types/utils/arcade-executor.d.ts +35 -3
  126. package/dist/types/utils/fields.d.ts +10 -0
  127. package/dist/types/utils/profile/types.d.ts +2 -2
  128. package/dist/types/utils/utilities.d.ts +0 -6
  129. package/package.json +8 -8
  130. package/dist/arcgis-coding-components/p-9a6baa15.entry.js +0 -1
@@ -1739,29 +1739,54 @@
1739
1739
  "id": "date_functions",
1740
1740
  "title": "Kuupäevafunktsioonid",
1741
1741
  "items": [
1742
+ {
1743
+ "type": "function",
1744
+ "name": "changetimezone",
1745
+ "bundle": "core",
1746
+ "sinceVersion": "1.24",
1747
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
1748
+ "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`.",
1749
+ "examples": "\n##### Näited\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",
1750
+ "completion": {
1751
+ "label": "ChangeTimeZone",
1752
+ "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
1753
+ "insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
1754
+ "insertTextMode": 2,
1755
+ "insertTextFormat": 2,
1756
+ "kind": 3,
1757
+ "documentation": {
1758
+ "kind": "markdown",
1759
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1760
+ }
1761
+ },
1762
+ "parametersInfo": {
1763
+ "min": 2,
1764
+ "max": 2
1765
+ }
1766
+ },
1742
1767
  [
1743
1768
  {
1744
1769
  "type": "function",
1745
1770
  "name": "date",
1746
1771
  "bundle": "core",
1747
1772
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
1748
- "description": "Loob parameetrite komplektist kuupäevaobjekti. Vaikimisi luuakse kuupäevad kliendi või süsteemi kohaliku aja järgi.",
1749
- "examples": "\n##### Näited\n\nLoob kuupäeva, mis tähistab antud kellaaega tarkvara Arcade käitava süsteemi kohaliku aja järgi\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nLoob kuupäeva, mis tähistab praegust kellaaega tarkvara Arcade käitava süsteemi kohaliku aja järgi\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
1773
+ "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.",
1774
+ "examples": "\n##### Näited\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",
1750
1775
  "completion": {
1751
1776
  "label": "Date",
1752
- "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
1777
+ "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
1753
1778
  "insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
1754
1779
  "insertTextMode": 2,
1755
1780
  "insertTextFormat": 2,
1756
1781
  "kind": 3,
1757
1782
  "documentation": {
1758
1783
  "kind": "markdown",
1759
- "value": "Loob parameetrite komplektist kuupäevaobjekti. Vaikimisi luuakse kuupäevad kliendi või süsteemi kohaliku aja järgi.\n\n**Parameetrid**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Aastat tähistav number.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Kuu (011), kus jaanuari tähis on 0 ja detsembri tähis 11.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Päev (131).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Tunnid (023).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Minutid (059).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Sekundid (059).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Millisekundid (0999).\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1784
+ "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**Parameetrid**\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**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1760
1785
  }
1761
1786
  },
1762
1787
  "parametersInfo": {
1763
1788
  "min": 3,
1764
- "max": 7
1789
+ "max": 8
1765
1790
  }
1766
1791
  },
1767
1792
  {
@@ -1769,8 +1794,8 @@
1769
1794
  "name": "date",
1770
1795
  "bundle": "core",
1771
1796
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
1772
- "description": "Loob kuupäeva antud Unixi ajastunumbriga kliendi või süsteemi kohalikus ajavööndis.",
1773
- "examples": "\n##### Näide\n\nMillisekundid alates 1. jaanuarist 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n",
1797
+ "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.",
1798
+ "examples": "\n##### Näited\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",
1774
1799
  "completion": {
1775
1800
  "label": "Date",
1776
1801
  "detail": "Date(epoch?) -> Date",
@@ -1780,7 +1805,7 @@
1780
1805
  "kind": 3,
1781
1806
  "documentation": {
1782
1807
  "kind": "markdown",
1783
- "value": "Loob kuupäeva antud Unixi ajastunumbriga kliendi või süsteemi kohalikus ajavööndis.\n\n**Parameeter**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Millisekundite arv alates 1. jaanuarist 1970 UTC.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1808
+ "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**Parameeter**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1784
1809
  }
1785
1810
  },
1786
1811
  "parametersInfo": {
@@ -1793,8 +1818,8 @@
1793
1818
  "name": "date",
1794
1819
  "bundle": "core",
1795
1820
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
1796
- "description": "Teisendab ISO 8601 teksti väärtuse kuupäevaobjektiks kliendi või süsteemi kohalikus ajavööndis.",
1797
- "examples": "\n##### Näide\n\nISO 8601 teksti väärtus\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\n",
1821
+ "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.",
1822
+ "examples": "\n##### Näited\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",
1798
1823
  "completion": {
1799
1824
  "label": "Date",
1800
1825
  "detail": "Date(timestamp?) -> Date",
@@ -1804,70 +1829,376 @@
1804
1829
  "kind": 3,
1805
1830
  "documentation": {
1806
1831
  "kind": "markdown",
1807
- "value": "Teisendab ISO 8601 teksti väärtuse kuupäevaobjektiks kliendi või süsteemi kohalikus ajavööndis.\n\n**Parameeter**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Kuupäevaks teisendatav ISO 8601 tekstiväärtus.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1832
+ "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**Parameeter**\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**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1808
1833
  }
1809
1834
  },
1810
1835
  "parametersInfo": {
1811
1836
  "min": 0,
1812
1837
  "max": 1
1813
1838
  }
1839
+ },
1840
+ {
1841
+ "type": "function",
1842
+ "name": "date",
1843
+ "bundle": "core",
1844
+ "sinceVersion": "1.24",
1845
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
1846
+ "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
1847
+ "examples": "\n##### Näide\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",
1848
+ "completion": {
1849
+ "label": "Date",
1850
+ "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
1851
+ "insertText": "Date(${1:dateOnlyValue_})$0",
1852
+ "insertTextMode": 2,
1853
+ "insertTextFormat": 2,
1854
+ "kind": 3,
1855
+ "documentation": {
1856
+ "kind": "markdown",
1857
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1858
+ }
1859
+ },
1860
+ "parametersInfo": {
1861
+ "min": 1,
1862
+ "max": 3
1863
+ }
1864
+ },
1865
+ {
1866
+ "type": "function",
1867
+ "name": "date",
1868
+ "bundle": "core",
1869
+ "sinceVersion": "1.24",
1870
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
1871
+ "description": "Creates a copy of the given Date.",
1872
+ "examples": "\n##### Näide\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
1873
+ "completion": {
1874
+ "label": "Date",
1875
+ "detail": "Date(dateValue) -> Date",
1876
+ "insertText": "Date(${1:dateValue_})$0",
1877
+ "insertTextMode": 2,
1878
+ "insertTextFormat": 2,
1879
+ "kind": 3,
1880
+ "documentation": {
1881
+ "kind": "markdown",
1882
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1883
+ }
1884
+ },
1885
+ "parametersInfo": {
1886
+ "min": 1,
1887
+ "max": 1
1888
+ }
1814
1889
  }
1815
1890
  ],
1816
- {
1817
- "type": "function",
1818
- "name": "dateadd",
1819
- "bundle": "core",
1820
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd",
1821
- "description": "Lisab kuupäevale määratud ühikutes oleva ajavahemiku ja tagastab uue kuupäeva.",
1822
- "examples": "\n##### Näide\n\nLisab väljal olevale kuupäevale 7 päeva\n\n```arcade\nvar startDate = Date($feature.dateField);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n```\n\n",
1823
- "completion": {
1824
- "label": "DateAdd",
1825
- "detail": "DateAdd(dateValue, addValue, units?) -> Date",
1826
- "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
1827
- "insertTextMode": 2,
1828
- "insertTextFormat": 2,
1829
- "kind": 3,
1830
- "documentation": {
1831
- "kind": "markdown",
1832
- "value": "Lisab kuupäevale määratud ühikutes oleva ajavahemiku ja tagastab uue kuupäeva.\n\n**Parameetrid**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Sisendkuupäev, millele aeg lisatakse.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Kuupäevale lisatava ajavahemiku väärtus määratud ühikutes.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Kuupäevale lisatava numbri ühikud. Vaikeväärtus on millisekundid. Muuhulgas toetatakse järgmisi ühikuid: millisekundid, sekundid, minutid, tunnid, päevad, kuud, aastad.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1891
+ [
1892
+ {
1893
+ "type": "function",
1894
+ "name": "dateadd",
1895
+ "bundle": "core",
1896
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
1897
+ "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.",
1898
+ "examples": "\n##### Näide\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",
1899
+ "completion": {
1900
+ "label": "DateAdd",
1901
+ "detail": "DateAdd(dateValue, addValue, units?) -> Date",
1902
+ "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
1903
+ "insertTextMode": 2,
1904
+ "insertTextFormat": 2,
1905
+ "kind": 3,
1906
+ "documentation": {
1907
+ "kind": "markdown",
1908
+ "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**Parameetrid**\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**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1909
+ }
1910
+ },
1911
+ "parametersInfo": {
1912
+ "min": 2,
1913
+ "max": 3
1833
1914
  }
1834
1915
  },
1835
- "parametersInfo": {
1836
- "min": 2,
1837
- "max": 3
1916
+ {
1917
+ "type": "function",
1918
+ "name": "dateadd",
1919
+ "bundle": "core",
1920
+ "sinceVersion": "1.24",
1921
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
1922
+ "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
1923
+ "examples": "\n##### Näited\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",
1924
+ "completion": {
1925
+ "label": "DateAdd",
1926
+ "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
1927
+ "insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
1928
+ "insertTextMode": 2,
1929
+ "insertTextFormat": 2,
1930
+ "kind": 3,
1931
+ "documentation": {
1932
+ "kind": "markdown",
1933
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: DateOnly"
1934
+ }
1935
+ },
1936
+ "parametersInfo": {
1937
+ "min": 2,
1938
+ "max": 3
1939
+ }
1940
+ },
1941
+ {
1942
+ "type": "function",
1943
+ "name": "dateadd",
1944
+ "bundle": "core",
1945
+ "sinceVersion": "1.24",
1946
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
1947
+ "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
1948
+ "examples": "\n##### Näited\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",
1949
+ "completion": {
1950
+ "label": "DateAdd",
1951
+ "detail": "DateAdd(timeValue, addValue, units?) -> Time",
1952
+ "insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
1953
+ "insertTextMode": 2,
1954
+ "insertTextFormat": 2,
1955
+ "kind": 3,
1956
+ "documentation": {
1957
+ "kind": "markdown",
1958
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: Time"
1959
+ }
1960
+ },
1961
+ "parametersInfo": {
1962
+ "min": 2,
1963
+ "max": 3
1964
+ }
1838
1965
  }
1839
- },
1840
- {
1841
- "type": "function",
1842
- "name": "datediff",
1843
- "bundle": "core",
1844
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff",
1845
- "description": "Lahutab üksteisest kaks kuupäeva ja tagastab nende vahele jääva aja määratud ühikutes.",
1846
- "examples": "\n##### Näide\n\nLahutab üksteisest kaks kuupäeva ja tagastab vanuse\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n",
1847
- "completion": {
1848
- "label": "DateDiff",
1849
- "detail": "DateDiff(date1, date2, units?) -> Number",
1850
- "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
1851
- "insertTextMode": 2,
1852
- "insertTextFormat": 2,
1853
- "kind": 3,
1854
- "documentation": {
1855
- "kind": "markdown",
1856
- "value": "Lahutab üksteisest kaks kuupäeva ja tagastab nende vahele jääva aja määratud ühikutes.\n\n**Parameetrid**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest lahutatakse teine kuupäevaväärtus.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, mis lahutatakse esimesest määratud kuupäevaväärtusest.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ühikud, milles kahe määratud kuupäeva vaheline erinevus tagastatakse. Muuhulgas toetatakse järgmisi ühikuid: millisekundid, sekundid, minutid, tunnid, päevad, kuud, aastad. Vaikeväärtus on millisekundid.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1966
+ ],
1967
+ [
1968
+ {
1969
+ "type": "function",
1970
+ "name": "datediff",
1971
+ "bundle": "core",
1972
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
1973
+ "description": "Subtracts two Dates, and returns the difference in the specified units.",
1974
+ "examples": "\n##### Näited\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",
1975
+ "completion": {
1976
+ "label": "DateDiff",
1977
+ "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
1978
+ "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
1979
+ "insertTextMode": 2,
1980
+ "insertTextFormat": 2,
1981
+ "kind": 3,
1982
+ "documentation": {
1983
+ "kind": "markdown",
1984
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parameetrid**\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**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1985
+ }
1986
+ },
1987
+ "parametersInfo": {
1988
+ "min": 2,
1989
+ "max": 4
1857
1990
  }
1858
1991
  },
1859
- "parametersInfo": {
1860
- "min": 2,
1861
- "max": 3
1992
+ {
1993
+ "type": "function",
1994
+ "name": "datediff",
1995
+ "bundle": "core",
1996
+ "sinceVersion": "1.24",
1997
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
1998
+ "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
1999
+ "examples": "\n##### Näide\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",
2000
+ "completion": {
2001
+ "label": "DateDiff",
2002
+ "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
2003
+ "insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
2004
+ "insertTextMode": 2,
2005
+ "insertTextFormat": 2,
2006
+ "kind": 3,
2007
+ "documentation": {
2008
+ "kind": "markdown",
2009
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2010
+ }
2011
+ },
2012
+ "parametersInfo": {
2013
+ "min": 2,
2014
+ "max": 3
2015
+ }
2016
+ },
2017
+ {
2018
+ "type": "function",
2019
+ "name": "datediff",
2020
+ "bundle": "core",
2021
+ "sinceVersion": "1.24",
2022
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
2023
+ "description": "Subtracts two Time values, and returns the difference in the specified units.",
2024
+ "examples": "\n##### Näide\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",
2025
+ "completion": {
2026
+ "label": "DateDiff",
2027
+ "detail": "DateDiff(time1, time2, units?) -> Number",
2028
+ "insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
2029
+ "insertTextMode": 2,
2030
+ "insertTextFormat": 2,
2031
+ "kind": 3,
2032
+ "documentation": {
2033
+ "kind": "markdown",
2034
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2035
+ }
2036
+ },
2037
+ "parametersInfo": {
2038
+ "min": 2,
2039
+ "max": 3
2040
+ }
1862
2041
  }
1863
- },
2042
+ ],
2043
+ [
2044
+ {
2045
+ "type": "function",
2046
+ "name": "dateonly",
2047
+ "bundle": "core",
2048
+ "sinceVersion": "1.24",
2049
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
2050
+ "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
2051
+ "examples": "\n##### Näide\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
2052
+ "completion": {
2053
+ "label": "DateOnly",
2054
+ "detail": "DateOnly() -> DateOnly",
2055
+ "insertText": "DateOnly($0)",
2056
+ "insertTextMode": 2,
2057
+ "insertTextFormat": 2,
2058
+ "kind": 3,
2059
+ "documentation": {
2060
+ "kind": "markdown",
2061
+ "value": "**[Alates versioonist 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**Tagastusväärtus**: DateOnly"
2062
+ }
2063
+ },
2064
+ "parametersInfo": {
2065
+ "min": 0,
2066
+ "max": 0
2067
+ }
2068
+ },
2069
+ {
2070
+ "type": "function",
2071
+ "name": "dateonly",
2072
+ "bundle": "core",
2073
+ "sinceVersion": "1.24",
2074
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
2075
+ "description": "Creates a DateOnly value from a given date.",
2076
+ "examples": "\n##### Näide\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",
2077
+ "completion": {
2078
+ "label": "DateOnly",
2079
+ "detail": "DateOnly(dateValue) -> DateOnly",
2080
+ "insertText": "DateOnly(${1:dateValue_})$0",
2081
+ "insertTextMode": 2,
2082
+ "insertTextFormat": 2,
2083
+ "kind": 3,
2084
+ "documentation": {
2085
+ "kind": "markdown",
2086
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**Tagastusväärtus**: DateOnly"
2087
+ }
2088
+ },
2089
+ "parametersInfo": {
2090
+ "min": 1,
2091
+ "max": 1
2092
+ }
2093
+ },
2094
+ {
2095
+ "type": "function",
2096
+ "name": "dateonly",
2097
+ "bundle": "core",
2098
+ "sinceVersion": "1.24",
2099
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
2100
+ "description": "Creates a DateOnly date with the given Unix epoch number.",
2101
+ "examples": "\n##### Näide\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",
2102
+ "completion": {
2103
+ "label": "DateOnly",
2104
+ "detail": "DateOnly(epoch) -> DateOnly",
2105
+ "insertText": "DateOnly(${1:epoch_})$0",
2106
+ "insertTextMode": 2,
2107
+ "insertTextFormat": 2,
2108
+ "kind": 3,
2109
+ "documentation": {
2110
+ "kind": "markdown",
2111
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**Parameeter**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Tagastusväärtus**: DateOnly"
2112
+ }
2113
+ },
2114
+ "parametersInfo": {
2115
+ "min": 1,
2116
+ "max": 1
2117
+ }
2118
+ },
2119
+ {
2120
+ "type": "function",
2121
+ "name": "dateonly",
2122
+ "bundle": "core",
2123
+ "sinceVersion": "1.24",
2124
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
2125
+ "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
2126
+ "examples": "\n##### Näide\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",
2127
+ "completion": {
2128
+ "label": "DateOnly",
2129
+ "detail": "DateOnly(year, month, day) -> DateOnly",
2130
+ "insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
2131
+ "insertTextMode": 2,
2132
+ "insertTextFormat": 2,
2133
+ "kind": 3,
2134
+ "documentation": {
2135
+ "kind": "markdown",
2136
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: DateOnly"
2137
+ }
2138
+ },
2139
+ "parametersInfo": {
2140
+ "min": 3,
2141
+ "max": 3
2142
+ }
2143
+ },
2144
+ {
2145
+ "type": "function",
2146
+ "name": "dateonly",
2147
+ "bundle": "core",
2148
+ "sinceVersion": "1.24",
2149
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
2150
+ "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.",
2151
+ "examples": "\n##### Näited\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",
2152
+ "completion": {
2153
+ "label": "DateOnly",
2154
+ "detail": "DateOnly(dateValue, format?) -> DateOnly",
2155
+ "insertText": "DateOnly(${1:dateValue_})$0",
2156
+ "insertTextMode": 2,
2157
+ "insertTextFormat": 2,
2158
+ "kind": 3,
2159
+ "documentation": {
2160
+ "kind": "markdown",
2161
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: DateOnly"
2162
+ }
2163
+ },
2164
+ "parametersInfo": {
2165
+ "min": 1,
2166
+ "max": 2
2167
+ }
2168
+ },
2169
+ {
2170
+ "type": "function",
2171
+ "name": "dateonly",
2172
+ "bundle": "core",
2173
+ "sinceVersion": "1.24",
2174
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
2175
+ "description": "Creates a copy of a DateOnly value.",
2176
+ "examples": "\n##### Näide\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",
2177
+ "completion": {
2178
+ "label": "DateOnly",
2179
+ "detail": "DateOnly(dateOnlyValue) -> DateOnly",
2180
+ "insertText": "DateOnly(${1:dateOnlyValue_})$0",
2181
+ "insertTextMode": 2,
2182
+ "insertTextFormat": 2,
2183
+ "kind": 3,
2184
+ "documentation": {
2185
+ "kind": "markdown",
2186
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**Parameeter**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**Tagastusväärtus**: DateOnly"
2187
+ }
2188
+ },
2189
+ "parametersInfo": {
2190
+ "min": 1,
2191
+ "max": 1
2192
+ }
2193
+ }
2194
+ ],
1864
2195
  {
1865
2196
  "type": "function",
1866
2197
  "name": "day",
1867
2198
  "bundle": "core",
1868
2199
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
1869
2200
  "description": "Tagastab antud kuupäeva päeva.",
1870
- "examples": "\n##### Näide\n\nToob praeguse kuupäeva päeva\n\n```arcade\nDay(Now())\n```\n\n",
2201
+ "examples": "\n##### Näited\n\nToob praeguse kuupäeva päeva\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",
1871
2202
  "completion": {
1872
2203
  "label": "Day",
1873
2204
  "detail": "Day(dateValue) -> Number",
@@ -1877,7 +2208,7 @@
1877
2208
  "kind": 3,
1878
2209
  "documentation": {
1879
2210
  "kind": "markdown",
1880
- "value": "Tagastab antud kuupäeva päeva.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tuuakse kuupäev.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2211
+ "value": "Tagastab antud kuupäeva päeva.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Kuupäevaväärtus, millest tuuakse kuupäev.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1881
2212
  }
1882
2213
  },
1883
2214
  "parametersInfo": {
@@ -1885,30 +2216,57 @@
1885
2216
  "max": 1
1886
2217
  }
1887
2218
  },
1888
- {
1889
- "type": "function",
1890
- "name": "hour",
1891
- "bundle": "core",
1892
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour",
1893
- "description": "Tagastab antud kuupäeva kellaaja tunnid (0–23).",
1894
- "examples": "\n##### Näide\n\nToob praeguse kellaaja tunnid\n\n```arcade\nHour(Now())\n```\n\n",
1895
- "completion": {
1896
- "label": "Hour",
1897
- "detail": "Hour(dateValue) -> Number",
1898
- "insertText": "Hour(${1:dateValue_})$0",
1899
- "insertTextMode": 2,
1900
- "insertTextFormat": 2,
1901
- "kind": 3,
1902
- "documentation": {
1903
- "kind": "markdown",
1904
- "value": "Tagastab antud kuupäeva kellaaja tunnid (0–23).\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tuuakse kellaaja minutid.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2219
+ [
2220
+ {
2221
+ "type": "function",
2222
+ "name": "hour",
2223
+ "bundle": "core",
2224
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
2225
+ "description": "Returns the hour of the time in the given date (0-23).",
2226
+ "examples": "\n##### Näide\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
2227
+ "completion": {
2228
+ "label": "Hour",
2229
+ "detail": "Hour(dateValue) -> Number",
2230
+ "insertText": "Hour(${1:dateValue_})$0",
2231
+ "insertTextMode": 2,
2232
+ "insertTextFormat": 2,
2233
+ "kind": 3,
2234
+ "documentation": {
2235
+ "kind": "markdown",
2236
+ "value": "Returns the hour of the time in the given date (0-23).\n\n**Parameeter**\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**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2237
+ }
2238
+ },
2239
+ "parametersInfo": {
2240
+ "min": 1,
2241
+ "max": 1
1905
2242
  }
1906
2243
  },
1907
- "parametersInfo": {
1908
- "min": 1,
1909
- "max": 1
2244
+ {
2245
+ "type": "function",
2246
+ "name": "hour",
2247
+ "bundle": "core",
2248
+ "sinceVersion": "1.24",
2249
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
2250
+ "description": "Returns the hour of the given time (0-23).",
2251
+ "examples": "\n##### Näide\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
2252
+ "completion": {
2253
+ "label": "Hour",
2254
+ "detail": "Hour(timeValue) -> Number",
2255
+ "insertText": "Hour(${1:timeValue_})$0",
2256
+ "insertTextMode": 2,
2257
+ "insertTextFormat": 2,
2258
+ "kind": 3,
2259
+ "documentation": {
2260
+ "kind": "markdown",
2261
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**Parameeter**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2262
+ }
2263
+ },
2264
+ "parametersInfo": {
2265
+ "min": 1,
2266
+ "max": 1
2267
+ }
1910
2268
  }
1911
- },
2269
+ ],
1912
2270
  {
1913
2271
  "type": "function",
1914
2272
  "name": "isomonth",
@@ -1916,7 +2274,7 @@
1916
2274
  "sinceVersion": "1.12",
1917
2275
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
1918
2276
  "description": "Tagastab kuu antud kuupäeva kohta, mis põhineb ISO 8601 standardil. Väärtused on vahemikus 0–11, kus jaanuari tähis on 0 ja detsembri tähis 12.",
1919
- "examples": "\n##### Näide\n\nAnnab kuu antud kuupäeva kohta, mis põhineb ISO 8601 standardil. Tagastab detsembrikuu 12. kuupäeva\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n",
2277
+ "examples": "\n##### Näited\n\nAnnab kuu antud kuupäeva kohta, mis põhineb ISO 8601 standardil. Tagastab detsembrikuu 12. kuupäeva\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",
1920
2278
  "completion": {
1921
2279
  "label": "ISOMonth",
1922
2280
  "detail": "ISOMonth(dateValue) -> Number",
@@ -1926,7 +2284,7 @@
1926
2284
  "kind": 3,
1927
2285
  "documentation": {
1928
2286
  "kind": "markdown",
1929
- "value": "**[Alates versioonist 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab kuu antud kuupäeva kohta, mis põhineb ISO 8601 standardil. Väärtused on vahemikus 0–11, kus jaanuari tähis on 0 ja detsembri tähis 12.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tuuakse kuu.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2287
+ "value": "**[Alates versioonist 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab kuu antud kuupäeva kohta, mis põhineb ISO 8601 standardil. Väärtused on vahemikus 0–11, kus jaanuari tähis on 0 ja detsembri tähis 12.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Kuupäevaväärtus, millest tuuakse kuu.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1930
2288
  }
1931
2289
  },
1932
2290
  "parametersInfo": {
@@ -1941,7 +2299,7 @@
1941
2299
  "sinceVersion": "1.12",
1942
2300
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
1943
2301
  "description": "Tagastab nädala antud kuupäeva aastal, mis põhineb ISO 8601 standardi nädalakalendril. Väärtuste vahemik on 1-53, kus aasta esimene nädal on 1 ja aasta viimane nädal on aastast olenevalt kas 52 või 53.",
1944
- "examples": "\n##### Näide\n\nAnnab nädala antud kuupäeva kohta, mis põhineb ISO 8601 standardil. Tagastab 1, sest see kuupäev kuulub järgmise aasta esimesse nädalasse.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
2302
+ "examples": "\n##### Näited\n\nAnnab nädala antud kuupäeva kohta, mis põhineb ISO 8601 standardil. Tagastab 1, sest see kuupäev kuulub järgmise aasta esimesse nädalasse.\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",
1945
2303
  "completion": {
1946
2304
  "label": "ISOWeek",
1947
2305
  "detail": "ISOWeek(dateValue) -> Number",
@@ -1951,7 +2309,7 @@
1951
2309
  "kind": 3,
1952
2310
  "documentation": {
1953
2311
  "kind": "markdown",
1954
- "value": "**[Alates versioonist 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab nädala antud kuupäeva aastal, mis põhineb ISO 8601 standardi nädalakalendril. Väärtuste vahemik on 1-53, kus aasta esimene nädal on 1 ja aasta viimane nädal on aastast olenevalt kas 52 või 53.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäeva väärtus, mille põhjal saadakse nädal.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2312
+ "value": "**[Alates versioonist 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab nädala antud kuupäeva aastal, mis põhineb ISO 8601 standardi nädalakalendril. Väärtuste vahemik on 1-53, kus aasta esimene nädal on 1 ja aasta viimane nädal on aastast olenevalt kas 52 või 53.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Kuupäeva väärtus, mille põhjal saadakse nädal.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1955
2313
  }
1956
2314
  },
1957
2315
  "parametersInfo": {
@@ -1966,7 +2324,7 @@
1966
2324
  "sinceVersion": "1.12",
1967
2325
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
1968
2326
  "description": "Tagastab antud kuupäeva nädalapäeva, mis põhineb ISO 8601 standardil. Väärtused on vahemikus 1–7, kus esmaspäeva tähis on 1 ja pühapäeva tähis on 12.",
1969
- "examples": "\n##### Näide\n\nTagastab antud kuupäeva nädalapäeva, mis põhineb ISO 8601 standardil. Tagastab 3, mis tähistab kolmapäeva.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n",
2327
+ "examples": "\n##### Näited\n\nTagastab antud kuupäeva nädalapäeva, mis põhineb ISO 8601 standardil. Tagastab 3, mis tähistab kolmapäeva.\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",
1970
2328
  "completion": {
1971
2329
  "label": "ISOWeekday",
1972
2330
  "detail": "ISOWeekday(dateValue) -> Number",
@@ -1976,7 +2334,7 @@
1976
2334
  "kind": 3,
1977
2335
  "documentation": {
1978
2336
  "kind": "markdown",
1979
- "value": "**[Alates versioonist 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab antud kuupäeva nädalapäeva, mis põhineb ISO 8601 standardil. Väärtused on vahemikus 1–7, kus esmaspäeva tähis on 1 ja pühapäeva tähis on 12.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tagastatakse nädalapäev.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2337
+ "value": "**[Alates versioonist 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab antud kuupäeva nädalapäeva, mis põhineb ISO 8601 standardil. Väärtused on vahemikus 1–7, kus esmaspäeva tähis on 1 ja pühapäeva tähis on 12.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Kuupäevaväärtus, millest tagastatakse nädalapäev.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1980
2338
  }
1981
2339
  },
1982
2340
  "parametersInfo": {
@@ -1991,65 +2349,17 @@
1991
2349
  "sinceVersion": "1.12",
1992
2350
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
1993
2351
  "description": "Tagastab antud kuupäeva aasta, mis põhineb ISO 8601 standardi nädalakalendril.",
1994
- "examples": "\n##### Näide\n\nAnnab antud kuupäeva aasta, mis põhineb ISO 8601 standardi nädalakalendril. Tagastab 1981, sest see kuupäev kuulub järgmise aasta esimesse nädalasse.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n",
2352
+ "examples": "\n##### Näited\n\nAnnab antud kuupäeva aasta, mis põhineb ISO 8601 standardi nädalakalendril. Tagastab 1981, sest see kuupäev kuulub järgmise aasta esimesse nädalasse.\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",
1995
2353
  "completion": {
1996
2354
  "label": "ISOYear",
1997
- "detail": "ISOYear(dateValue) -> Number",
1998
- "insertText": "ISOYear(${1:dateValue_})$0",
1999
- "insertTextMode": 2,
2000
- "insertTextFormat": 2,
2001
- "kind": 3,
2002
- "documentation": {
2003
- "kind": "markdown",
2004
- "value": "**[Alates versioonist 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab antud kuupäeva aasta, mis põhineb ISO 8601 standardi nädalakalendril.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tuuakse aasta.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2005
- }
2006
- },
2007
- "parametersInfo": {
2008
- "min": 1,
2009
- "max": 1
2010
- }
2011
- },
2012
- {
2013
- "type": "function",
2014
- "name": "millisecond",
2015
- "bundle": "core",
2016
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
2017
- "description": "Tagastab kuupäeva kellaaja millisekundid.",
2018
- "examples": "\n##### Näide\n\nToob praeguse kellaaja millisekundid\n\n```arcade\nMillisecond(Now())\n```\n\n",
2019
- "completion": {
2020
- "label": "Millisecond",
2021
- "detail": "Millisecond(dateValue) -> Number",
2022
- "insertText": "Millisecond(${1:dateValue_})$0",
2023
- "insertTextMode": 2,
2024
- "insertTextFormat": 2,
2025
- "kind": 3,
2026
- "documentation": {
2027
- "kind": "markdown",
2028
- "value": "Tagastab kuupäeva kellaaja millisekundid.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tuuakse kellaaja millisekundid.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2029
- }
2030
- },
2031
- "parametersInfo": {
2032
- "min": 1,
2033
- "max": 1
2034
- }
2035
- },
2036
- {
2037
- "type": "function",
2038
- "name": "minute",
2039
- "bundle": "core",
2040
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
2041
- "description": "Tagastab antud kuupäeva kellaaja minutid.",
2042
- "examples": "\n##### Näide\n\nToob praeguse kellaaja minutid\n\n```arcade\nMinute(Now())\n```\n\n",
2043
- "completion": {
2044
- "label": "Minute",
2045
- "detail": "Minute(dateValue) -> Number",
2046
- "insertText": "Minute(${1:dateValue_})$0",
2355
+ "detail": "ISOYear(dateValue) -> Number",
2356
+ "insertText": "ISOYear(${1:dateValue_})$0",
2047
2357
  "insertTextMode": 2,
2048
2358
  "insertTextFormat": 2,
2049
2359
  "kind": 3,
2050
2360
  "documentation": {
2051
2361
  "kind": "markdown",
2052
- "value": "Tagastab antud kuupäeva kellaaja minutid.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tuuakse kellaaja minutid.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2362
+ "value": "**[Alates versioonist 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab antud kuupäeva aasta, mis põhineb ISO 8601 standardi nädalakalendril.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Kuupäevaväärtus, millest tuuakse aasta.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2053
2363
  }
2054
2364
  },
2055
2365
  "parametersInfo": {
@@ -2057,13 +2367,115 @@
2057
2367
  "max": 1
2058
2368
  }
2059
2369
  },
2370
+ [
2371
+ {
2372
+ "type": "function",
2373
+ "name": "millisecond",
2374
+ "bundle": "core",
2375
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
2376
+ "description": "Returns the millisecond of the time in the date.",
2377
+ "examples": "\n##### Näide\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
2378
+ "completion": {
2379
+ "label": "Millisecond",
2380
+ "detail": "Millisecond(dateValue) -> Number",
2381
+ "insertText": "Millisecond(${1:dateValue_})$0",
2382
+ "insertTextMode": 2,
2383
+ "insertTextFormat": 2,
2384
+ "kind": 3,
2385
+ "documentation": {
2386
+ "kind": "markdown",
2387
+ "value": "Returns the millisecond of the time in the date.\n\n**Parameeter**\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**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2388
+ }
2389
+ },
2390
+ "parametersInfo": {
2391
+ "min": 1,
2392
+ "max": 1
2393
+ }
2394
+ },
2395
+ {
2396
+ "type": "function",
2397
+ "name": "millisecond",
2398
+ "bundle": "core",
2399
+ "sinceVersion": "1.24",
2400
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
2401
+ "description": "Returns the millisecond of the given time.",
2402
+ "examples": "\n##### Näide\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
2403
+ "completion": {
2404
+ "label": "Millisecond",
2405
+ "detail": "Millisecond(timeValue) -> Number",
2406
+ "insertText": "Millisecond(${1:timeValue_})$0",
2407
+ "insertTextMode": 2,
2408
+ "insertTextFormat": 2,
2409
+ "kind": 3,
2410
+ "documentation": {
2411
+ "kind": "markdown",
2412
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**Parameeter**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2413
+ }
2414
+ },
2415
+ "parametersInfo": {
2416
+ "min": 1,
2417
+ "max": 1
2418
+ }
2419
+ }
2420
+ ],
2421
+ [
2422
+ {
2423
+ "type": "function",
2424
+ "name": "minute",
2425
+ "bundle": "core",
2426
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
2427
+ "description": "Returns the minute of the time in the given date.",
2428
+ "examples": "\n##### Näide\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
2429
+ "completion": {
2430
+ "label": "Minute",
2431
+ "detail": "Minute(dateValue) -> Number",
2432
+ "insertText": "Minute(${1:dateValue_})$0",
2433
+ "insertTextMode": 2,
2434
+ "insertTextFormat": 2,
2435
+ "kind": 3,
2436
+ "documentation": {
2437
+ "kind": "markdown",
2438
+ "value": "Returns the minute of the time in the given date.\n\n**Parameeter**\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**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2439
+ }
2440
+ },
2441
+ "parametersInfo": {
2442
+ "min": 1,
2443
+ "max": 1
2444
+ }
2445
+ },
2446
+ {
2447
+ "type": "function",
2448
+ "name": "minute",
2449
+ "bundle": "core",
2450
+ "sinceVersion": "1.24",
2451
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
2452
+ "description": "Returns the minute of the given time.",
2453
+ "examples": "\n##### Näide\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
2454
+ "completion": {
2455
+ "label": "Minute",
2456
+ "detail": "Minute(timeValue) -> Number",
2457
+ "insertText": "Minute(${1:timeValue_})$0",
2458
+ "insertTextMode": 2,
2459
+ "insertTextFormat": 2,
2460
+ "kind": 3,
2461
+ "documentation": {
2462
+ "kind": "markdown",
2463
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**Parameeter**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2464
+ }
2465
+ },
2466
+ "parametersInfo": {
2467
+ "min": 1,
2468
+ "max": 1
2469
+ }
2470
+ }
2471
+ ],
2060
2472
  {
2061
2473
  "type": "function",
2062
2474
  "name": "month",
2063
2475
  "bundle": "core",
2064
2476
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
2065
2477
  "description": "Tagastab määratud kuupäeva kuu. Väärtused on vahemikus 0–11, kus jaanuari tähis on `0` ja detsembri tähis `11`.",
2066
- "examples": "\n##### Näide\n\nToob praeguse kuupäeva kuu. Tagastab detsembrikuu 11. kuupäeva\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
2478
+ "examples": "\n##### Näited\n\nToob praeguse kuupäeva kuu. Tagastab detsembrikuu 11. kuupäeva\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",
2067
2479
  "completion": {
2068
2480
  "label": "Month",
2069
2481
  "detail": "Month(dateValue) -> Number",
@@ -2073,7 +2485,7 @@
2073
2485
  "kind": 3,
2074
2486
  "documentation": {
2075
2487
  "kind": "markdown",
2076
- "value": "Tagastab määratud kuupäeva kuu. Väärtused on vahemikus 0–11, kus jaanuari tähis on `0` ja detsembri tähis `11`.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tuuakse kuu.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2488
+ "value": "Tagastab määratud kuupäeva kuu. Väärtused on vahemikus 0–11, kus jaanuari tähis on `0` ja detsembri tähis `11`.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Kuupäevaväärtus, millest tuuakse kuu.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2077
2489
  }
2078
2490
  },
2079
2491
  "parametersInfo": {
@@ -2105,23 +2517,227 @@
2105
2517
  "max": 0
2106
2518
  }
2107
2519
  },
2520
+ [
2521
+ {
2522
+ "type": "function",
2523
+ "name": "second",
2524
+ "bundle": "core",
2525
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
2526
+ "description": "Returns the second of the time in the date.",
2527
+ "examples": "\n##### Näide\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
2528
+ "completion": {
2529
+ "label": "Second",
2530
+ "detail": "Second(dateValue) -> Number",
2531
+ "insertText": "Second(${1:dateValue_})$0",
2532
+ "insertTextMode": 2,
2533
+ "insertTextFormat": 2,
2534
+ "kind": 3,
2535
+ "documentation": {
2536
+ "kind": "markdown",
2537
+ "value": "Returns the second of the time in the date.\n\n**Parameeter**\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**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2538
+ }
2539
+ },
2540
+ "parametersInfo": {
2541
+ "min": 1,
2542
+ "max": 1
2543
+ }
2544
+ },
2545
+ {
2546
+ "type": "function",
2547
+ "name": "second",
2548
+ "bundle": "core",
2549
+ "sinceVersion": "1.24",
2550
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
2551
+ "description": "Returns the second of the given time.",
2552
+ "examples": "\n##### Näide\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
2553
+ "completion": {
2554
+ "label": "Second",
2555
+ "detail": "Second(timeValue) -> Number",
2556
+ "insertText": "Second(${1:timeValue_})$0",
2557
+ "insertTextMode": 2,
2558
+ "insertTextFormat": 2,
2559
+ "kind": 3,
2560
+ "documentation": {
2561
+ "kind": "markdown",
2562
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**Parameeter**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2563
+ }
2564
+ },
2565
+ "parametersInfo": {
2566
+ "min": 1,
2567
+ "max": 1
2568
+ }
2569
+ }
2570
+ ],
2571
+ [
2572
+ {
2573
+ "type": "function",
2574
+ "name": "time",
2575
+ "bundle": "core",
2576
+ "sinceVersion": "1.24",
2577
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
2578
+ "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
2579
+ "examples": "\n##### Näide\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",
2580
+ "completion": {
2581
+ "label": "Time",
2582
+ "detail": "Time() -> Time",
2583
+ "insertText": "Time($0)",
2584
+ "insertTextMode": 2,
2585
+ "insertTextFormat": 2,
2586
+ "kind": 3,
2587
+ "documentation": {
2588
+ "kind": "markdown",
2589
+ "value": "**[Alates versioonist 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**Tagastusväärtus**: Time"
2590
+ }
2591
+ },
2592
+ "parametersInfo": {
2593
+ "min": 0,
2594
+ "max": 0
2595
+ }
2596
+ },
2597
+ {
2598
+ "type": "function",
2599
+ "name": "time",
2600
+ "bundle": "core",
2601
+ "sinceVersion": "1.24",
2602
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
2603
+ "description": "Creates a Time value from a given date.",
2604
+ "examples": "\n##### Näide\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",
2605
+ "completion": {
2606
+ "label": "Time",
2607
+ "detail": "Time(dateValue) -> Time",
2608
+ "insertText": "Time(${1:dateValue_})$0",
2609
+ "insertTextMode": 2,
2610
+ "insertTextFormat": 2,
2611
+ "kind": 3,
2612
+ "documentation": {
2613
+ "kind": "markdown",
2614
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**Tagastusväärtus**: Time"
2615
+ }
2616
+ },
2617
+ "parametersInfo": {
2618
+ "min": 1,
2619
+ "max": 1
2620
+ }
2621
+ },
2622
+ {
2623
+ "type": "function",
2624
+ "name": "time",
2625
+ "bundle": "core",
2626
+ "sinceVersion": "1.24",
2627
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
2628
+ "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`.",
2629
+ "examples": "\n##### Näited\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",
2630
+ "completion": {
2631
+ "label": "Time",
2632
+ "detail": "Time(numValue) -> Time",
2633
+ "insertText": "Time(${1:numValue_})$0",
2634
+ "insertTextMode": 2,
2635
+ "insertTextFormat": 2,
2636
+ "kind": 3,
2637
+ "documentation": {
2638
+ "kind": "markdown",
2639
+ "value": "**[Alates versioonist 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**Parameeter**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**Tagastusväärtus**: Time"
2640
+ }
2641
+ },
2642
+ "parametersInfo": {
2643
+ "min": 1,
2644
+ "max": 1
2645
+ }
2646
+ },
2647
+ {
2648
+ "type": "function",
2649
+ "name": "time",
2650
+ "bundle": "core",
2651
+ "sinceVersion": "1.24",
2652
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
2653
+ "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
2654
+ "examples": "\n##### Näide\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",
2655
+ "completion": {
2656
+ "label": "Time",
2657
+ "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
2658
+ "insertText": "Time(${1:hours_}, ${2:minutes_})$0",
2659
+ "insertTextMode": 2,
2660
+ "insertTextFormat": 2,
2661
+ "kind": 3,
2662
+ "documentation": {
2663
+ "kind": "markdown",
2664
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: Time"
2665
+ }
2666
+ },
2667
+ "parametersInfo": {
2668
+ "min": 2,
2669
+ "max": 4
2670
+ }
2671
+ },
2672
+ {
2673
+ "type": "function",
2674
+ "name": "time",
2675
+ "bundle": "core",
2676
+ "sinceVersion": "1.24",
2677
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
2678
+ "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
2679
+ "examples": "\n##### Näited\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",
2680
+ "completion": {
2681
+ "label": "Time",
2682
+ "detail": "Time(timeValue, format?) -> Time",
2683
+ "insertText": "Time(${1:timeValue_})$0",
2684
+ "insertTextMode": 2,
2685
+ "insertTextFormat": 2,
2686
+ "kind": 3,
2687
+ "documentation": {
2688
+ "kind": "markdown",
2689
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: Time"
2690
+ }
2691
+ },
2692
+ "parametersInfo": {
2693
+ "min": 1,
2694
+ "max": 2
2695
+ }
2696
+ }
2697
+ ],
2698
+ {
2699
+ "type": "function",
2700
+ "name": "timestamp",
2701
+ "bundle": "core",
2702
+ "sinceVersion": "1.1",
2703
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
2704
+ "description": "Loob kuupäeva väärtuse, mis tähistab praegust kuupäeva ja kellaaega UTC-s.",
2705
+ "examples": "\n##### Näide\n\nLoob kuupäeva UTC-ajana\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
2706
+ "completion": {
2707
+ "label": "Timestamp",
2708
+ "detail": "Timestamp() -> Date",
2709
+ "insertText": "Timestamp($0)",
2710
+ "insertTextMode": 2,
2711
+ "insertTextFormat": 2,
2712
+ "kind": 3,
2713
+ "documentation": {
2714
+ "kind": "markdown",
2715
+ "value": "**[Alates versioonist 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nLoob kuupäeva väärtuse, mis tähistab praegust kuupäeva ja kellaaega UTC-s.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
2716
+ }
2717
+ },
2718
+ "parametersInfo": {
2719
+ "min": 0,
2720
+ "max": 0
2721
+ }
2722
+ },
2108
2723
  {
2109
2724
  "type": "function",
2110
- "name": "second",
2725
+ "name": "timezone",
2111
2726
  "bundle": "core",
2112
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second",
2113
- "description": "Tagastab kuupäeva kellaaja sekundid.",
2114
- "examples": "\n##### Näide\n\nToob praeguse kellaaja sekundid\n\n```arcade\nSecond(Now())\n```\n\n",
2727
+ "sinceVersion": "1.24",
2728
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
2729
+ "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",
2730
+ "examples": "\n##### Näide\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",
2115
2731
  "completion": {
2116
- "label": "Second",
2117
- "detail": "Second(dateValue) -> Number",
2118
- "insertText": "Second(${1:dateValue_})$0",
2732
+ "label": "TimeZone",
2733
+ "detail": "TimeZone(dateValue) -> Text",
2734
+ "insertText": "TimeZone(${1:dateValue_})$0",
2119
2735
  "insertTextMode": 2,
2120
2736
  "insertTextFormat": 2,
2121
2737
  "kind": 3,
2122
2738
  "documentation": {
2123
2739
  "kind": "markdown",
2124
- "value": "Tagastab kuupäeva kellaaja sekundid.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tuuakse kellaaja sekundid.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2740
+ "value": "**[Alates versioonist 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**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Tagastusväärtus**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
2125
2741
  }
2126
2742
  },
2127
2743
  "parametersInfo": {
@@ -2131,27 +2747,27 @@
2131
2747
  },
2132
2748
  {
2133
2749
  "type": "function",
2134
- "name": "timestamp",
2750
+ "name": "timezoneoffset",
2135
2751
  "bundle": "core",
2136
- "sinceVersion": "1.1",
2137
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
2138
- "description": "Loob kuupäeva väärtuse, mis tähistab praegust kuupäeva ja kellaaega UTC-s.",
2139
- "examples": "\n##### Näide\n\nLoob kuupäeva UTC-ajana\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
2752
+ "sinceVersion": "1.24",
2753
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
2754
+ "description": "Returns the time zone offset in minutes from UTC for the given Date.",
2755
+ "examples": "\n##### Näide\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",
2140
2756
  "completion": {
2141
- "label": "Timestamp",
2142
- "detail": "Timestamp() -> Date",
2143
- "insertText": "Timestamp($0)",
2757
+ "label": "TimeZoneOffset",
2758
+ "detail": "TimeZoneOffset(dateValue) -> Number",
2759
+ "insertText": "TimeZoneOffset(${1:dateValue_})$0",
2144
2760
  "insertTextMode": 2,
2145
2761
  "insertTextFormat": 2,
2146
2762
  "kind": 3,
2147
2763
  "documentation": {
2148
2764
  "kind": "markdown",
2149
- "value": "**[Alates versioonist 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nLoob kuupäeva väärtuse, mis tähistab praegust kuupäeva ja kellaaega UTC-s.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
2765
+ "value": "**[Alates versioonist 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**Parameeter**\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**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2150
2766
  }
2151
2767
  },
2152
2768
  "parametersInfo": {
2153
- "min": 0,
2154
- "max": 0
2769
+ "min": 1,
2770
+ "max": 1
2155
2771
  }
2156
2772
  },
2157
2773
  {
@@ -2235,7 +2851,7 @@
2235
2851
  "sinceVersion": "1.14",
2236
2852
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
2237
2853
  "description": "Tagastab kuupäeva nädalanumbri aastas. Väärtuste vahemik on 0–53, kus aasta esimene nädal on 0 ja aasta viimane nädal on aastast olenevalt kas 51, 52 või 53. Esimese ja viimase nädala pikkus ei pruugi olla seitse päeva.",
2238
- "examples": "\n##### Näited\n\nKasuta nädala vaikealguspäeva (pühapäev)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nMäära nädala alguspäevaks neljapäev\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nMäära nädala alguspäevaks reede\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",
2854
+ "examples": "\n##### Näited\n\nKasuta nädala vaikealguspäeva (pühapäev)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nMäära nädala alguspäevaks neljapäev\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nMäära nädala alguspäevaks reede\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",
2239
2855
  "completion": {
2240
2856
  "label": "Week",
2241
2857
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -2245,7 +2861,7 @@
2245
2861
  "kind": 3,
2246
2862
  "documentation": {
2247
2863
  "kind": "markdown",
2248
- "value": "**[Alates versioonist 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab kuupäeva nädalanumbri aastas. Väärtuste vahemik on 0–53, kus aasta esimene nädal on 0 ja aasta viimane nädal on aastast olenevalt kas 51, 52 või 53. Esimese ja viimase nädala pikkus ei pruugi olla seitse päeva.\n\n**Parameetrid**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäeva väärtus, mille põhjal saadakse nädal.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Number, mis tähistab nädala alguspäeva. Pühapäev = 0; esmaspäev = 1; teisipäev = 2; kolmapäev = 3; neljapäev = 4; reede = 5; laupäev = 6. Vaikeväärtus on 0 (pühapäev).\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2864
+ "value": "**[Alates versioonist 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab kuupäeva nädalanumbri aastas. Väärtuste vahemik on 0–53, kus aasta esimene nädal on 0 ja aasta viimane nädal on aastast olenevalt kas 51, 52 või 53. Esimese ja viimase nädala pikkus ei pruugi olla seitse päeva.\n\n**Parameetrid**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Kuupäeva väärtus, mille põhjal saadakse nädal.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Number, mis tähistab nädala alguspäeva. Pühapäev = 0; esmaspäev = 1; teisipäev = 2; kolmapäev = 3; neljapäev = 4; reede = 5; laupäev = 6. Vaikeväärtus on 0 (pühapäev).\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2249
2865
  }
2250
2866
  },
2251
2867
  "parametersInfo": {
@@ -2259,7 +2875,7 @@
2259
2875
  "bundle": "core",
2260
2876
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
2261
2877
  "description": "Tagastab praeguse kuupäeva nädalapäeva Väärtused on vahemikus 0–6, kus pühapäeva tähis on `0` ja laupäeva tähis on `6`.",
2262
- "examples": "\n##### Näide\n\nTagastab praeguse kuupäeva nädalapäeva Tagastab 3, mis tähistab kolmapäeva.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
2878
+ "examples": "\n##### Näited\n\nTagastab praeguse kuupäeva nädalapäeva Tagastab 3, mis tähistab kolmapäeva.\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",
2263
2879
  "completion": {
2264
2880
  "label": "Weekday",
2265
2881
  "detail": "Weekday(dateValue) -> Number",
@@ -2269,7 +2885,7 @@
2269
2885
  "kind": 3,
2270
2886
  "documentation": {
2271
2887
  "kind": "markdown",
2272
- "value": "Tagastab praeguse kuupäeva nädalapäeva Väärtused on vahemikus 0–6, kus pühapäeva tähis on `0` ja laupäeva tähis on `6`.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tagastatakse nädalapäev.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2888
+ "value": "Tagastab praeguse kuupäeva nädalapäeva Väärtused on vahemikus 0–6, kus pühapäeva tähis on `0` ja laupäeva tähis on `6`.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Kuupäevaväärtus, millest tagastatakse nädalapäev.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2273
2889
  }
2274
2890
  },
2275
2891
  "parametersInfo": {
@@ -2283,7 +2899,7 @@
2283
2899
  "bundle": "core",
2284
2900
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
2285
2901
  "description": "Tagastab antud kuupäeva aasta.",
2286
- "examples": "\n##### Näide\n\nToob praeguse kuupäeva aasta\n\n```arcade\nYear(Now())\n```\n\n",
2902
+ "examples": "\n##### Näited\n\nToob praeguse kuupäeva aasta\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",
2287
2903
  "completion": {
2288
2904
  "label": "Year",
2289
2905
  "detail": "Year(dateValue) -> Number",
@@ -2293,7 +2909,7 @@
2293
2909
  "kind": 3,
2294
2910
  "documentation": {
2295
2911
  "kind": "markdown",
2296
- "value": "Tagastab antud kuupäeva aasta.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Kuupäevaväärtus, millest tuuakse aasta.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2912
+ "value": "Tagastab antud kuupäeva aasta.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Kuupäevaväärtus, millest tuuakse aasta.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2297
2913
  }
2298
2914
  },
2299
2915
  "parametersInfo": {
@@ -2379,6 +2995,31 @@
2379
2995
  "max": 2
2380
2996
  }
2381
2997
  },
2998
+ {
2999
+ "type": "function",
3000
+ "name": "equals",
3001
+ "bundle": "core",
3002
+ "sinceVersion": "1.24",
3003
+ "link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
3004
+ "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.",
3005
+ "examples": "\n##### Näide\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",
3006
+ "completion": {
3007
+ "label": "Equals",
3008
+ "detail": "Equals(value1, value2) -> Boolean",
3009
+ "insertText": "Equals(${1:value1_}, ${2:value2_})$0",
3010
+ "insertTextMode": 2,
3011
+ "insertTextFormat": 2,
3012
+ "kind": 3,
3013
+ "documentation": {
3014
+ "kind": "markdown",
3015
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3016
+ }
3017
+ },
3018
+ "parametersInfo": {
3019
+ "min": 2,
3020
+ "max": 2
3021
+ }
3022
+ },
2382
3023
  {
2383
3024
  "type": "function",
2384
3025
  "name": "iif",
@@ -3470,7 +4111,7 @@
3470
4111
  "kind": 3,
3471
4112
  "documentation": {
3472
4113
  "kind": "markdown",
3473
- "value": "**[Alates versioonist 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGenereerib antud muutujale koodi räsiväärtuse.\n\n**Parameeter**\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) - Räsitav muutuja.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4114
+ "value": "**[Alates versioonist 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGenereerib antud muutujale koodi räsiväärtuse.\n\n**Parameeter**\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 - Räsitav muutuja.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3474
4115
  }
3475
4116
  },
3476
4117
  "parametersInfo": {
@@ -4758,6 +5399,31 @@
4758
5399
  "max": 4
4759
5400
  }
4760
5401
  },
5402
+ {
5403
+ "type": "function",
5404
+ "name": "featuresetbyrelationshipclass",
5405
+ "bundle": "data-access",
5406
+ "sinceVersion": "1.24",
5407
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
5408
+ "description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
5409
+ "examples": "\n##### Näide\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",
5410
+ "completion": {
5411
+ "label": "FeatureSetByRelationshipClass",
5412
+ "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
5413
+ "insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
5414
+ "insertTextMode": 2,
5415
+ "insertTextFormat": 2,
5416
+ "kind": 3,
5417
+ "documentation": {
5418
+ "kind": "markdown",
5419
+ "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
5420
+ }
5421
+ },
5422
+ "parametersInfo": {
5423
+ "min": 2,
5424
+ "max": 4
5425
+ }
5426
+ },
4761
5427
  {
4762
5428
  "type": "function",
4763
5429
  "name": "featuresetbyrelationshipname",
@@ -6531,7 +7197,7 @@
6531
7197
  "bundle": "core",
6532
7198
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
6533
7199
  "description": "Teisendab selle argumendi tekstiväärtuseks ja vajaduse korral vormindab selle. Nurjumise korral tagastab nullväärtuse.",
6534
- "examples": "\n##### Näited\n\nKümnendkohast vasakule jääva numbrikoha täitmine\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nKümnendkohast vasakule jääva numbrikoha piiramine\n\n```arcade\nText(123, '00') // '23'\n```\n\nArvu rühmitamine tuhandelisteks\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nÜmarda arv kahe komakohani\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nVorminda arv valuutana\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nÜmarda arv kahe komakohani\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nSäilita olulised numbrikohad ja rühmita tuhandelisteks\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nVorminda arv ja määra positiivse/negatiivse arvu vorming – negatiivse alammustri korral kasutatakse seda üksnes negatiivse ees- ja järelliite määramiseks\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nKorruta 100-ga ja vorminda protsendina\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nPraeguse kuupäeva ja kellaaja vorming, nt 'Teisipäev, 25. oktoober 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nVäljal `datetime` talletatud kuupäev on juba kohalikus ajavormingus, aga Arcade eeldab, et see on UTC-vormingus. Muudab kohaliku aja UTC-ks, et vältida ajatsooni kahekordset nihet.\n\n```arcade\nText(ToUTC($feature.datetime), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n",
7200
+ "examples": "\n##### Näited\n\nKümnendkohast vasakule jääva numbrikoha täitmine\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nKümnendkohast vasakule jääva numbrikoha piiramine\n\n```arcade\nText(123, '00') // '23'\n```\n\nArvu rühmitamine tuhandelisteks\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nÜmarda arv kahe komakohani\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nVorminda arv valuutana\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nÜmarda arv kahe komakohani\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nSäilita olulised numbrikohad ja rühmita tuhandelisteks\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nVorminda arv ja määra positiivse/negatiivse arvu vorming – negatiivse alammustri korral kasutatakse seda üksnes negatiivse ees- ja järelliite määramiseks\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nKorruta 100-ga ja vorminda protsendina\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nPraeguse kuupäeva ja kellaaja vorming, nt 'Teisipäev, 25. oktoober 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nVäljal `datetime` talletatud kuupäev on juba kohalikus ajavormingus, aga Arcade eeldab, et see on UTC-vormingus. Muudab kohaliku aja UTC-ks, et vältida ajatsooni kahekordset nihet.\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",
6535
7201
  "completion": {
6536
7202
  "label": "Text",
6537
7203
  "detail": "Text(value, format?) -> Text",