@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
@@ -1780,6 +1780,31 @@
1780
1780
  "max": 2
1781
1781
  }
1782
1782
  },
1783
+ {
1784
+ "type": "function",
1785
+ "name": "equals",
1786
+ "bundle": "core",
1787
+ "sinceVersion": "1.24",
1788
+ "link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
1789
+ "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.",
1790
+ "examples": "\n##### Пример\n\nCompares if two values are equal\n\n```arcade\nEquals(1, \"1\") // returns false\n\nvar testVal = \"test\";\nEquals(testVal, \"test\") // returns true\n\nvar array1 = Array(5);\nvar array2 = Array(5);\nEquals(array1, array2); // returns false\nEquals(array1, array1); // returns true\n```\n\n",
1791
+ "completion": {
1792
+ "label": "Equals",
1793
+ "detail": "Equals(value1, value2) -> Boolean",
1794
+ "insertText": "Equals(${1:value1_}, ${2:value2_})$0",
1795
+ "insertTextMode": 2,
1796
+ "insertTextFormat": 2,
1797
+ "kind": 3,
1798
+ "documentation": {
1799
+ "kind": "markdown",
1800
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates if two values are equal. Object types (i.e. Arrays, Features, Dictionaries, Geometry) will return true only if they are the same object.\n\n**Параметри**\n\n- **value1**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The first input value.\n- **value2**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The second input value.\n\n**Стойност за връщане**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1801
+ }
1802
+ },
1803
+ "parametersInfo": {
1804
+ "min": 2,
1805
+ "max": 2
1806
+ }
1807
+ },
1783
1808
  {
1784
1809
  "type": "function",
1785
1810
  "name": "iif",
@@ -2215,7 +2240,7 @@
2215
2240
  "kind": 3,
2216
2241
  "documentation": {
2217
2242
  "kind": "markdown",
2218
- "value": "**[От версия 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nГенерира стойност на хеш код за дадената променлива.\n\n**Параметър**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Променливата, която да бъде кеширана.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2243
+ "value": "**[От версия 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nГенерира стойност на хеш код за дадената променлива.\n\n**Параметър**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| DateOnly \\| Time - Променливата, която да бъде кеширана.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
2219
2244
  }
2220
2245
  },
2221
2246
  "parametersInfo": {
@@ -3069,7 +3094,7 @@
3069
3094
  "bundle": "core",
3070
3095
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
3071
3096
  "description": "Преобразува аргумента си в текстова стойност и по желание го форматира. Ако е неуспешно, връща Null.",
3072
- "examples": "\n##### Примери\n\nПопълване на числото вляво от десетичната запетая\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nОграничаване на числото вляво от десетичната запетая\n\n```arcade\nText(123, '00') // '23'\n```\n\nГрупиране на числата по хиляди\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nЗакръгляне на числото до втория знак след десетичната запетая\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nФорматиране на числата за валути\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nЗакръгляне на числото до втория знак след десетичната запетая\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nЗапазване на значещите цифри и групиране по хиляди\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nФорматиране на числото и форматиране на положително/отрицателно число – ако има отрицателен подшаблон, той служи само за определяне на отрицателния префикс и суфикс\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nУмножаване по 100 и форматиране като процент\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nФорматирайте датата и часа в момента. напр. „вторник, 25 октомври, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nДатата, записана в полето datetime, вече представлява местно време, но Arcade приема, че е UTC Приравнява местното време към UTC, за да се избегне двукратно прилагане на отместването на часовата зона.\n\n```arcade\nText(ToUTC($feature.datetime), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n",
3097
+ "examples": "\n##### Примери\n\nПопълване на числото вляво от десетичната запетая\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nОграничаване на числото вляво от десетичната запетая\n\n```arcade\nText(123, '00') // '23'\n```\n\nГрупиране на числата по хиляди\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nЗакръгляне на числото до втория знак след десетичната запетая\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nФорматиране на числата за валути\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nЗакръгляне на числото до втория знак след десетичната запетая\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nЗапазване на значещите цифри и групиране по хиляди\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nФорматиране на числото и форматиране на положително/отрицателно число – ако има отрицателен подшаблон, той служи само за определяне на отрицателния префикс и суфикс\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nУмножаване по 100 и форматиране като процент\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nФорматирайте датата и часа в момента. напр. „вторник, 25 октомври, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nДатата, записана в полето datetime, вече представлява местно време, но Arcade приема, че е UTC Приравнява местното време към UTC, за да се избегне двукратно прилагане на отместването на часовата зона.\n\n```arcade\nText(startDate, 'ddd, MMM D, Y h:mm:ss A ZZZZ')\n// returns Thu, Sep 14, 2023 10:04:49 AM PDT\n```\n\n",
3073
3098
  "completion": {
3074
3099
  "label": "Text",
3075
3100
  "detail": "Text(value, format?) -> Text",
@@ -3349,29 +3374,54 @@
3349
3374
  "id": "date_functions",
3350
3375
  "title": "Функции за дата",
3351
3376
  "items": [
3377
+ {
3378
+ "type": "function",
3379
+ "name": "changetimezone",
3380
+ "bundle": "core",
3381
+ "sinceVersion": "1.24",
3382
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
3383
+ "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`.",
3384
+ "examples": "\n##### Примери\n\nChanges the given Date's time zone from `America/New_York` to `America/Los_Angeles`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"America/New_York\")\nChangeTimeZone(inputDate, \"America/Los_Angeles\");\n// returns a Date representing Nov 11, 2011, 5:00:00 AM PST\n```\n\nAssigns a Date with an `unknown` time zone to a time offset of `+07:00`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"unknown\")\nChangeTimeZone(inputDate, \"+07:00\");\n// returns a Date representing Nov 11, 2011, 8:00:00 AM +07:00\n```\n\n",
3385
+ "completion": {
3386
+ "label": "ChangeTimeZone",
3387
+ "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
3388
+ "insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
3389
+ "insertTextMode": 2,
3390
+ "insertTextFormat": 2,
3391
+ "kind": 3,
3392
+ "documentation": {
3393
+ "kind": "markdown",
3394
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Параметри**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. \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**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3395
+ }
3396
+ },
3397
+ "parametersInfo": {
3398
+ "min": 2,
3399
+ "max": 2
3400
+ }
3401
+ },
3352
3402
  [
3353
3403
  {
3354
3404
  "type": "function",
3355
3405
  "name": "date",
3356
3406
  "bundle": "core",
3357
3407
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
3358
- "description": "Създава обект Дата от набор от параметри. По подразбиране датите се създават в местното време на клиента или системата.",
3359
- "examples": "\n##### Примери\n\nСъздава дата, представяща зададения час в местното време на системата, в която е стартиран Arcade.\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nСъздава дата, представяща текущото време в локалното време на системата, в която е стартиран Arcade.\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
3408
+ "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.",
3409
+ "examples": "\n##### Примери\n\nCreates a Date representing the given time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nCreates a Date with time defined in a specific time zone\n\n```arcade\nDate(1990, 10, 2, 2, 23, 0, 0, \"America/New_York\");\n // Date represents Nov 2, 1990, 2:23:00 AM EST\n```\n\n",
3360
3410
  "completion": {
3361
3411
  "label": "Date",
3362
- "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
3412
+ "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
3363
3413
  "insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
3364
3414
  "insertTextMode": 2,
3365
3415
  "insertTextFormat": 2,
3366
3416
  "kind": 3,
3367
3417
  "documentation": {
3368
3418
  "kind": "markdown",
3369
- "value": "Създава обект Дата от набор от параметри. По подразбиране датите се създават в местното време на клиента или системата.\n\n**Параметри**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Числото, представляващо година.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Месецът (0-11), където 0 е януари, а 11 е декември.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Денят от месеца (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Часът от деня (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Минутата от часа (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Секундата от минутата (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Милисекундата от секундата (0-999).\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3419
+ "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Параметри**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. \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**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3370
3420
  }
3371
3421
  },
3372
3422
  "parametersInfo": {
3373
3423
  "min": 3,
3374
- "max": 7
3424
+ "max": 8
3375
3425
  }
3376
3426
  },
3377
3427
  {
@@ -3379,8 +3429,8 @@
3379
3429
  "name": "date",
3380
3430
  "bundle": "core",
3381
3431
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
3382
- "description": "Създава дата със зададеното епохално число на Unix в местната часова зона на клиента или системата.",
3383
- "examples": "\n##### Пример\n\nМилисекунди от 1 януари 1970 г.\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n",
3432
+ "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.",
3433
+ "examples": "\n##### Примери\n\nMilliseconds since January 1, 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\nCreates a Date representing the current time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
3384
3434
  "completion": {
3385
3435
  "label": "Date",
3386
3436
  "detail": "Date(epoch?) -> Date",
@@ -3390,7 +3440,7 @@
3390
3440
  "kind": 3,
3391
3441
  "documentation": {
3392
3442
  "kind": "markdown",
3393
- "value": "Създава дата със зададеното епохално число на Unix в местната часова зона на клиента или системата.\n\n**Параметър**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Броят милисекунди от 1 януари 1970 г. UTC.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3443
+ "value": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.\n\n**Параметър**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3394
3444
  }
3395
3445
  },
3396
3446
  "parametersInfo": {
@@ -3403,8 +3453,8 @@
3403
3453
  "name": "date",
3404
3454
  "bundle": "core",
3405
3455
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
3406
- "description": "Конвертира текстова стойност по ISO 8601 в обект Date в местната часова зона на клиента или системата.",
3407
- "examples": "\n##### Пример\n\nТекстова стойност ISO 8601\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\n",
3456
+ "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.",
3457
+ "examples": "\n##### Примери\n\nCreates a Date from an ISO 8601 text value with a known time offset\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\nCreates a Date from an ISO 8601 text value with an unknown time offset\n\n```arcade\nDate('2016-10-20T17:41:37') // 'Thu Oct 20 2016 5:41:37 PM PDT'\n```\n\n",
3408
3458
  "completion": {
3409
3459
  "label": "Date",
3410
3460
  "detail": "Date(timestamp?) -> Date",
@@ -3414,70 +3464,376 @@
3414
3464
  "kind": 3,
3415
3465
  "documentation": {
3416
3466
  "kind": "markdown",
3417
- "value": "Конвертира текстова стойност по ISO 8601 в обект Date в местната часова зона на клиента или системата.\n\n**Параметър**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Текстова стойност по ISO 8601, която трябва да се преобразува в дата.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3467
+ "value": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.\n\n**Параметър**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - An ISO 8601 text value to be converted into a Date.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3418
3468
  }
3419
3469
  },
3420
3470
  "parametersInfo": {
3421
3471
  "min": 0,
3422
3472
  "max": 1
3423
3473
  }
3474
+ },
3475
+ {
3476
+ "type": "function",
3477
+ "name": "date",
3478
+ "bundle": "core",
3479
+ "sinceVersion": "1.24",
3480
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
3481
+ "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
3482
+ "examples": "\n##### Пример\n\nCreates a Date from a DateOnly and time type\n\n```arcade\nDate(DateOnly(2022,10,11), Time(\"11:20 am\"))\n// returns a Date representing Nov 11, 2022, 11:20:00 AM in an unknown time zone\n```\n\n",
3483
+ "completion": {
3484
+ "label": "Date",
3485
+ "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
3486
+ "insertText": "Date(${1:dateOnlyValue_})$0",
3487
+ "insertTextMode": 2,
3488
+ "insertTextFormat": 2,
3489
+ "kind": 3,
3490
+ "documentation": {
3491
+ "kind": "markdown",
3492
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Параметри**\n\n- **dateOnlyValue**: DateOnly - 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**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3493
+ }
3494
+ },
3495
+ "parametersInfo": {
3496
+ "min": 1,
3497
+ "max": 3
3498
+ }
3499
+ },
3500
+ {
3501
+ "type": "function",
3502
+ "name": "date",
3503
+ "bundle": "core",
3504
+ "sinceVersion": "1.24",
3505
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
3506
+ "description": "Creates a copy of the given Date.",
3507
+ "examples": "\n##### Пример\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
3508
+ "completion": {
3509
+ "label": "Date",
3510
+ "detail": "Date(dateValue) -> Date",
3511
+ "insertText": "Date(${1:dateValue_})$0",
3512
+ "insertTextMode": 2,
3513
+ "insertTextFormat": 2,
3514
+ "kind": 3,
3515
+ "documentation": {
3516
+ "kind": "markdown",
3517
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3518
+ }
3519
+ },
3520
+ "parametersInfo": {
3521
+ "min": 1,
3522
+ "max": 1
3523
+ }
3424
3524
  }
3425
3525
  ],
3426
- {
3427
- "type": "function",
3428
- "name": "dateadd",
3429
- "bundle": "core",
3430
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd",
3431
- "description": "Добавя определено време в зададените мерни единици към дадена дата и връща нова дата.",
3432
- "examples": "\n##### Пример\n\nДобавя 7 дни към датата в предоставеното поле.\n\n```arcade\nvar startDate = Date($feature.dateField);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n```\n\n",
3433
- "completion": {
3434
- "label": "DateAdd",
3435
- "detail": "DateAdd(dateValue, addValue, units?) -> Date",
3436
- "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
3437
- "insertTextMode": 2,
3438
- "insertTextFormat": 2,
3439
- "kind": 3,
3440
- "documentation": {
3441
- "kind": "markdown",
3442
- "value": "Добавя определено време в зададените мерни единици към дадена дата и връща нова дата.\n\n**Параметри**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Въведената дата, към която се добавя времето.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Стойността, която се добавя към датата в зададените мерни единици.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Мерните единици на числото, което се добавя към датата. Стойността по подразбиране е „милисекунди“. Поддържаните типове мерни единици включват милисекунди, секунди, минути, часове, дни, месеци, години.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3526
+ [
3527
+ {
3528
+ "type": "function",
3529
+ "name": "dateadd",
3530
+ "bundle": "core",
3531
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
3532
+ "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.",
3533
+ "examples": "\n##### Пример\n\nAdds 7 days to the given Date\n\n```arcade\nvar startDate = Date(2023, 9, 1, 12, 00);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns a Date representing Oct 8, 2023, 12:00:00 PM PDT\n```\n\n",
3534
+ "completion": {
3535
+ "label": "DateAdd",
3536
+ "detail": "DateAdd(dateValue, addValue, units?) -> Date",
3537
+ "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
3538
+ "insertTextMode": 2,
3539
+ "insertTextFormat": 2,
3540
+ "kind": 3,
3541
+ "documentation": {
3542
+ "kind": "markdown",
3543
+ "value": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.\n\n**Параметри**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The input Date to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the Date in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the Date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
3544
+ }
3545
+ },
3546
+ "parametersInfo": {
3547
+ "min": 2,
3548
+ "max": 3
3443
3549
  }
3444
3550
  },
3445
- "parametersInfo": {
3446
- "min": 2,
3447
- "max": 3
3551
+ {
3552
+ "type": "function",
3553
+ "name": "dateadd",
3554
+ "bundle": "core",
3555
+ "sinceVersion": "1.24",
3556
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
3557
+ "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
3558
+ "examples": "\n##### Примери\n\nAdds 7 days to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns 2023-06-11\n```\n\nAdds 12 hours to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar hoursLater = DateAdd(startDate, 12, 'hours');\nreturn hoursLater;\n// returns the original start date, 2023-06-04\n// since 12 hours < 1 day, the DateOnly input is not changed\n```\n\n",
3559
+ "completion": {
3560
+ "label": "DateAdd",
3561
+ "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
3562
+ "insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
3563
+ "insertTextMode": 2,
3564
+ "insertTextFormat": 2,
3565
+ "kind": 3,
3566
+ "documentation": {
3567
+ "kind": "markdown",
3568
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.\n\n**Параметри**\n\n- **dateOnlyValue**: DateOnly - The input DateOnly value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the date in the given units. For DateOnly inputs, this value will be rounded down to the nearest day based on a 24-hour interval. If the value to be added is less than 24 hours, then no value will be added to the DateOnly input.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**Стойност за връщане**: DateOnly"
3569
+ }
3570
+ },
3571
+ "parametersInfo": {
3572
+ "min": 2,
3573
+ "max": 3
3574
+ }
3575
+ },
3576
+ {
3577
+ "type": "function",
3578
+ "name": "dateadd",
3579
+ "bundle": "core",
3580
+ "sinceVersion": "1.24",
3581
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
3582
+ "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
3583
+ "examples": "\n##### Примери\n\nAdds 7 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 7, 'hours');\nreturn hoursLater;\n// returns 18:30:00\n```\n\nAdds 90 seconds to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar secondsLater = DateAdd(startTime, 90, \"seconds\");\nreturn secondsLater;\n// returns 11:31:30\n```\n\nAdds 25 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 25, 'hours');\nreturn hoursLater;\n// returns 12:30:00\n```\n\n",
3584
+ "completion": {
3585
+ "label": "DateAdd",
3586
+ "detail": "DateAdd(timeValue, addValue, units?) -> Time",
3587
+ "insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
3588
+ "insertTextMode": 2,
3589
+ "insertTextFormat": 2,
3590
+ "kind": 3,
3591
+ "documentation": {
3592
+ "kind": "markdown",
3593
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a Time value and returns a new Time value.\n\n**Параметри**\n\n- **timeValue**: Time - The input Time value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the time in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`\n\n**Стойност за връщане**: Time"
3594
+ }
3595
+ },
3596
+ "parametersInfo": {
3597
+ "min": 2,
3598
+ "max": 3
3599
+ }
3448
3600
  }
3449
- },
3450
- {
3451
- "type": "function",
3452
- "name": "datediff",
3453
- "bundle": "core",
3454
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff",
3455
- "description": "Изважда две дати и връща разликата в зададените единици.",
3456
- "examples": "\n##### Пример\n\nИзважда две дати и връща възрастта\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n",
3457
- "completion": {
3458
- "label": "DateDiff",
3459
- "detail": "DateDiff(date1, date2, units?) -> Number",
3460
- "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
3461
- "insertTextMode": 2,
3462
- "insertTextFormat": 2,
3463
- "kind": 3,
3464
- "documentation": {
3465
- "kind": "markdown",
3466
- "value": "Изважда две дати и връща разликата в зададените единици.\n\n**Параметри**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойността на датата, от която се изважда втората дата.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойността на датата, която се изважда от първата зададена дата.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Единици, в които да се върне разликата между двете дати. Поддържаните типове мерни единици включват милисекунди, секунди, минути, часове, дни, месеци, години. Стандартната стойност е милисекунди.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3601
+ ],
3602
+ [
3603
+ {
3604
+ "type": "function",
3605
+ "name": "datediff",
3606
+ "bundle": "core",
3607
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
3608
+ "description": "Subtracts two Dates, and returns the difference in the specified units.",
3609
+ "examples": "\n##### Примери\n\nSubtracts two Dates and returns the age\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtracts two Dates and returns the difference. Since the time zone is Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
3610
+ "completion": {
3611
+ "label": "DateDiff",
3612
+ "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
3613
+ "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
3614
+ "insertTextMode": 2,
3615
+ "insertTextFormat": 2,
3616
+ "kind": 3,
3617
+ "documentation": {
3618
+ "kind": "markdown",
3619
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Параметри**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. \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**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3620
+ }
3621
+ },
3622
+ "parametersInfo": {
3623
+ "min": 2,
3624
+ "max": 4
3467
3625
  }
3468
3626
  },
3469
- "parametersInfo": {
3470
- "min": 2,
3471
- "max": 3
3627
+ {
3628
+ "type": "function",
3629
+ "name": "datediff",
3630
+ "bundle": "core",
3631
+ "sinceVersion": "1.24",
3632
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
3633
+ "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
3634
+ "examples": "\n##### Пример\n\nSubtracts two DateOnly values and returns the difference in years\n\n```arcade\nvar startDate = DateOnly(1996,11,10);\nvar endDate = DateOnly(); // today's date\nvar age = DateDiff(endDate, startDate, 'years');\nFloor(age); // round down\n// returns 26\n```\n\n",
3635
+ "completion": {
3636
+ "label": "DateDiff",
3637
+ "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
3638
+ "insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
3639
+ "insertTextMode": 2,
3640
+ "insertTextFormat": 2,
3641
+ "kind": 3,
3642
+ "documentation": {
3643
+ "kind": "markdown",
3644
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two DateOnly values, and returns the difference in the specified units.\n\n**Параметри**\n\n- **dateOnly1**: DateOnly - 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**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3645
+ }
3646
+ },
3647
+ "parametersInfo": {
3648
+ "min": 2,
3649
+ "max": 3
3650
+ }
3651
+ },
3652
+ {
3653
+ "type": "function",
3654
+ "name": "datediff",
3655
+ "bundle": "core",
3656
+ "sinceVersion": "1.24",
3657
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
3658
+ "description": "Subtracts two Time values, and returns the difference in the specified units.",
3659
+ "examples": "\n##### Пример\n\nSubtracts two Time values and returns the difference in hours\n\n```arcade\nDateDiff(Time(23,0), Time(9,0), 'hours')\n// returns 14\n```\n\n",
3660
+ "completion": {
3661
+ "label": "DateDiff",
3662
+ "detail": "DateDiff(time1, time2, units?) -> Number",
3663
+ "insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
3664
+ "insertTextMode": 2,
3665
+ "insertTextFormat": 2,
3666
+ "kind": 3,
3667
+ "documentation": {
3668
+ "kind": "markdown",
3669
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two Time values, and returns the difference in the specified units.\n\n**Параметри**\n\n- **time1**: Time - 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**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3670
+ }
3671
+ },
3672
+ "parametersInfo": {
3673
+ "min": 2,
3674
+ "max": 3
3675
+ }
3472
3676
  }
3473
- },
3677
+ ],
3678
+ [
3679
+ {
3680
+ "type": "function",
3681
+ "name": "dateonly",
3682
+ "bundle": "core",
3683
+ "sinceVersion": "1.24",
3684
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
3685
+ "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
3686
+ "examples": "\n##### Пример\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
3687
+ "completion": {
3688
+ "label": "DateOnly",
3689
+ "detail": "DateOnly() -> DateOnly",
3690
+ "insertText": "DateOnly($0)",
3691
+ "insertTextMode": 2,
3692
+ "insertTextFormat": 2,
3693
+ "kind": 3,
3694
+ "documentation": {
3695
+ "kind": "markdown",
3696
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value based on the current date in the time zone of the profile's execution context.\n\n**Стойност за връщане**: DateOnly"
3697
+ }
3698
+ },
3699
+ "parametersInfo": {
3700
+ "min": 0,
3701
+ "max": 0
3702
+ }
3703
+ },
3704
+ {
3705
+ "type": "function",
3706
+ "name": "dateonly",
3707
+ "bundle": "core",
3708
+ "sinceVersion": "1.24",
3709
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
3710
+ "description": "Creates a DateOnly value from a given date.",
3711
+ "examples": "\n##### Пример\n\nReturns the DateOnly from the given date\n\n```arcade\nDateOnly(Date(2008,10,11,10,30));\n// returns 2008-11-11\n```\n\n",
3712
+ "completion": {
3713
+ "label": "DateOnly",
3714
+ "detail": "DateOnly(dateValue) -> DateOnly",
3715
+ "insertText": "DateOnly(${1:dateValue_})$0",
3716
+ "insertTextMode": 2,
3717
+ "insertTextFormat": 2,
3718
+ "kind": 3,
3719
+ "documentation": {
3720
+ "kind": "markdown",
3721
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**Стойност за връщане**: DateOnly"
3722
+ }
3723
+ },
3724
+ "parametersInfo": {
3725
+ "min": 1,
3726
+ "max": 1
3727
+ }
3728
+ },
3729
+ {
3730
+ "type": "function",
3731
+ "name": "dateonly",
3732
+ "bundle": "core",
3733
+ "sinceVersion": "1.24",
3734
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
3735
+ "description": "Creates a DateOnly date with the given Unix epoch number.",
3736
+ "examples": "\n##### Пример\n\nReturns the DateOnly from the number of milliseconds since January 1, 1970\n\n```arcade\nDateOnly(1476987783555);\n// returns 2016-10-20\n```\n\n",
3737
+ "completion": {
3738
+ "label": "DateOnly",
3739
+ "detail": "DateOnly(epoch) -> DateOnly",
3740
+ "insertText": "DateOnly(${1:epoch_})$0",
3741
+ "insertTextMode": 2,
3742
+ "insertTextFormat": 2,
3743
+ "kind": 3,
3744
+ "documentation": {
3745
+ "kind": "markdown",
3746
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**Параметър**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Стойност за връщане**: DateOnly"
3747
+ }
3748
+ },
3749
+ "parametersInfo": {
3750
+ "min": 1,
3751
+ "max": 1
3752
+ }
3753
+ },
3754
+ {
3755
+ "type": "function",
3756
+ "name": "dateonly",
3757
+ "bundle": "core",
3758
+ "sinceVersion": "1.24",
3759
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
3760
+ "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
3761
+ "examples": "\n##### Пример\n\nCreates a DateOnly value from inputs representing the year, month, and day\n\n```arcade\nDateOnly(1996, 11, 10)\n// returns 1996-12-10\n```\n\n",
3762
+ "completion": {
3763
+ "label": "DateOnly",
3764
+ "detail": "DateOnly(year, month, day) -> DateOnly",
3765
+ "insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
3766
+ "insertTextMode": 2,
3767
+ "insertTextFormat": 2,
3768
+ "kind": 3,
3769
+ "documentation": {
3770
+ "kind": "markdown",
3771
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from inputs representing the year, month, and day.\n\n**Параметри**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n\n**Стойност за връщане**: DateOnly"
3772
+ }
3773
+ },
3774
+ "parametersInfo": {
3775
+ "min": 3,
3776
+ "max": 3
3777
+ }
3778
+ },
3779
+ {
3780
+ "type": "function",
3781
+ "name": "dateonly",
3782
+ "bundle": "core",
3783
+ "sinceVersion": "1.24",
3784
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
3785
+ "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.",
3786
+ "examples": "\n##### Примери\n\nCreates a DateOnly value from a text value representing the date\n\n```arcade\nDateOnly(\"2023-05-11T13:43:18.990+01:00\");\n// returns 2023-05-11\n```\n\nCreates a DateOnly value from a text value representing the date in the given format\n\n```arcade\nDateOnly(\"10 Jan 2022\",\"D MMM Y\")\n// returns 2022-01-10\n```\n\n",
3787
+ "completion": {
3788
+ "label": "DateOnly",
3789
+ "detail": "DateOnly(dateValue, format?) -> DateOnly",
3790
+ "insertText": "DateOnly(${1:dateValue_})$0",
3791
+ "insertTextMode": 2,
3792
+ "insertTextFormat": 2,
3793
+ "kind": 3,
3794
+ "documentation": {
3795
+ "kind": "markdown",
3796
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a text input representing an ISO formatted date, or another formatted text with an additional input indicating the date's format.\n\n**Параметри**\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**Стойност за връщане**: DateOnly"
3797
+ }
3798
+ },
3799
+ "parametersInfo": {
3800
+ "min": 1,
3801
+ "max": 2
3802
+ }
3803
+ },
3804
+ {
3805
+ "type": "function",
3806
+ "name": "dateonly",
3807
+ "bundle": "core",
3808
+ "sinceVersion": "1.24",
3809
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
3810
+ "description": "Creates a copy of a DateOnly value.",
3811
+ "examples": "\n##### Пример\n\nCreates a copy of DateOnly value\n\n```arcade\nvar originalDateOnly = DateOnly(1996,11,10)\nvar copiedDateOnly = DateOnly(originalDateOnly)\nreturn copiedDateOnly;\n```\n\n",
3812
+ "completion": {
3813
+ "label": "DateOnly",
3814
+ "detail": "DateOnly(dateOnlyValue) -> DateOnly",
3815
+ "insertText": "DateOnly(${1:dateOnlyValue_})$0",
3816
+ "insertTextMode": 2,
3817
+ "insertTextFormat": 2,
3818
+ "kind": 3,
3819
+ "documentation": {
3820
+ "kind": "markdown",
3821
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**Параметър**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**Стойност за връщане**: DateOnly"
3822
+ }
3823
+ },
3824
+ "parametersInfo": {
3825
+ "min": 1,
3826
+ "max": 1
3827
+ }
3828
+ }
3829
+ ],
3474
3830
  {
3475
3831
  "type": "function",
3476
3832
  "name": "day",
3477
3833
  "bundle": "core",
3478
3834
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
3479
3835
  "description": "Връща деня от месеца на зададената дата.",
3480
- "examples": "\n##### Пример\n\nПолучава деня от месеца на текущата дата\n\n```arcade\nDay(Now())\n```\n\n",
3836
+ "examples": "\n##### Примери\n\nПолучава деня от месеца на текущата дата\n\n```arcade\nDay(Now())\n```\n\nReturns the day of the month from a DateOnly value\n\n```arcade\nDay(DateOnly(1996, 11, 10))\n// returns 10\n```\n\n",
3481
3837
  "completion": {
3482
3838
  "label": "Day",
3483
3839
  "detail": "Day(dateValue) -> Number",
@@ -3487,7 +3843,7 @@
3487
3843
  "kind": 3,
3488
3844
  "documentation": {
3489
3845
  "kind": "markdown",
3490
- "value": "Връща деня от месеца на зададената дата.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която се получава денят от месеца.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3846
+ "value": "Връща деня от месеца на зададената дата.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Стойност на датата, от която се получава денят от месеца.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3491
3847
  }
3492
3848
  },
3493
3849
  "parametersInfo": {
@@ -3495,30 +3851,57 @@
3495
3851
  "max": 1
3496
3852
  }
3497
3853
  },
3498
- {
3499
- "type": "function",
3500
- "name": "hour",
3501
- "bundle": "core",
3502
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour",
3503
- "description": "Връща часа от времето в зададената дата (0-23).",
3504
- "examples": "\n##### Пример\n\nПолучава часа на текущото време\n\n```arcade\nHour(Now())\n```\n\n",
3505
- "completion": {
3506
- "label": "Hour",
3507
- "detail": "Hour(dateValue) -> Number",
3508
- "insertText": "Hour(${1:dateValue_})$0",
3509
- "insertTextMode": 2,
3510
- "insertTextFormat": 2,
3511
- "kind": 3,
3512
- "documentation": {
3513
- "kind": "markdown",
3514
- "value": "Връща часа от времето в зададената дата (0-23).\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която се получава часът на времето.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3854
+ [
3855
+ {
3856
+ "type": "function",
3857
+ "name": "hour",
3858
+ "bundle": "core",
3859
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
3860
+ "description": "Returns the hour of the time in the given date (0-23).",
3861
+ "examples": "\n##### Пример\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
3862
+ "completion": {
3863
+ "label": "Hour",
3864
+ "detail": "Hour(dateValue) -> Number",
3865
+ "insertText": "Hour(${1:dateValue_})$0",
3866
+ "insertTextMode": 2,
3867
+ "insertTextFormat": 2,
3868
+ "kind": 3,
3869
+ "documentation": {
3870
+ "kind": "markdown",
3871
+ "value": "Returns the hour of the time in the given date (0-23).\n\n**Параметър**\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**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3872
+ }
3873
+ },
3874
+ "parametersInfo": {
3875
+ "min": 1,
3876
+ "max": 1
3515
3877
  }
3516
3878
  },
3517
- "parametersInfo": {
3518
- "min": 1,
3519
- "max": 1
3879
+ {
3880
+ "type": "function",
3881
+ "name": "hour",
3882
+ "bundle": "core",
3883
+ "sinceVersion": "1.24",
3884
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
3885
+ "description": "Returns the hour of the given time (0-23).",
3886
+ "examples": "\n##### Пример\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
3887
+ "completion": {
3888
+ "label": "Hour",
3889
+ "detail": "Hour(timeValue) -> Number",
3890
+ "insertText": "Hour(${1:timeValue_})$0",
3891
+ "insertTextMode": 2,
3892
+ "insertTextFormat": 2,
3893
+ "kind": 3,
3894
+ "documentation": {
3895
+ "kind": "markdown",
3896
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**Параметър**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3897
+ }
3898
+ },
3899
+ "parametersInfo": {
3900
+ "min": 1,
3901
+ "max": 1
3902
+ }
3520
3903
  }
3521
- },
3904
+ ],
3522
3905
  {
3523
3906
  "type": "function",
3524
3907
  "name": "isomonth",
@@ -3526,7 +3909,7 @@
3526
3909
  "sinceVersion": "1.12",
3527
3910
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
3528
3911
  "description": "Връща месеца на зададената дата въз основа на стандарта ISO 8601. Стойностите варират от 1 до 12, като януари е 1, а декември е 12.",
3529
- "examples": "\n##### Пример\n\nПолучава месеца на зададената дата въз основа на стандарта ISO 8601. Връща 12 за месец декември.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n",
3912
+ "examples": "\n##### Примери\n\nПолучава месеца на зададената дата въз основа на стандарта ISO 8601. Връща 12 за месец декември.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\nGets the month of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOMonth(DateOnly(1996, 0, 10))\n// returns 1, for January\n```\n\n",
3530
3913
  "completion": {
3531
3914
  "label": "ISOMonth",
3532
3915
  "detail": "ISOMonth(dateValue) -> Number",
@@ -3536,7 +3919,7 @@
3536
3919
  "kind": 3,
3537
3920
  "documentation": {
3538
3921
  "kind": "markdown",
3539
- "value": "**[От версия 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВръща месеца на зададената дата въз основа на стандарта ISO 8601. Стойностите варират от 1 до 12, като януари е 1, а декември е 12.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която да се получи месецът.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3922
+ "value": "**[От версия 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВръща месеца на зададената дата въз основа на стандарта ISO 8601. Стойностите варират от 1 до 12, като януари е 1, а декември е 12.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Стойност на датата, от която да се получи месецът.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3540
3923
  }
3541
3924
  },
3542
3925
  "parametersInfo": {
@@ -3551,7 +3934,7 @@
3551
3934
  "sinceVersion": "1.12",
3552
3935
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
3553
3936
  "description": "Връща седмицата в годината на зададената дата въз основа на календара за седмични дати по ISO 8601. Стойностите варират от 1 до 53, като първата седмица от годината е 1 а последната седмица от годината е 52 или 53, в зависимост от годината.",
3554
- "examples": "\n##### Пример\n\nПолучава седмицата на зададената дата въз основа на стандарта ISO 8601. Връща 1 тъй като тази дата е включена в първата седмица на следващата година.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
3937
+ "examples": "\n##### Примери\n\nПолучава седмицата на зададената дата въз основа на стандарта ISO 8601. Връща 1 тъй като тази дата е включена в първата седмица на следващата година.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\nGets the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeek(DateOnly(1996, 11, 10))\n// returns 50\n```\n\n",
3555
3938
  "completion": {
3556
3939
  "label": "ISOWeek",
3557
3940
  "detail": "ISOWeek(dateValue) -> Number",
@@ -3561,7 +3944,7 @@
3561
3944
  "kind": 3,
3562
3945
  "documentation": {
3563
3946
  "kind": "markdown",
3564
- "value": "**[От версия 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВръща седмицата в годината на зададената дата въз основа на календара за седмични дати по ISO 8601. Стойностите варират от 1 до 53, като първата седмица от годината е 1 а последната седмица от годината е 52 или 53, в зависимост от годината.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която да се получи седмицата.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3947
+ "value": "**[От версия 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВръща седмицата в годината на зададената дата въз основа на календара за седмични дати по ISO 8601. Стойностите варират от 1 до 53, като първата седмица от годината е 1 а последната седмица от годината е 52 или 53, в зависимост от годината.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Стойност на датата, от която да се получи седмицата.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3565
3948
  }
3566
3949
  },
3567
3950
  "parametersInfo": {
@@ -3576,7 +3959,7 @@
3576
3959
  "sinceVersion": "1.12",
3577
3960
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
3578
3961
  "description": "Връща деня от седмицата на зададената дата въз основа на стандарта ISO 8601. Стойностите варират от 1 до 7, като понеделник е 1, а неделя е 7.",
3579
- "examples": "\n##### Пример\n\nВръща деня от седмицата на зададената дата въз основа на стандарта ISO 8601. Връща 3 за сряда.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n",
3962
+ "examples": "\n##### Примери\n\nВръща деня от седмицата на зададената дата въз основа на стандарта ISO 8601. Връща 3 за сряда.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
3580
3963
  "completion": {
3581
3964
  "label": "ISOWeekday",
3582
3965
  "detail": "ISOWeekday(dateValue) -> Number",
@@ -3586,7 +3969,7 @@
3586
3969
  "kind": 3,
3587
3970
  "documentation": {
3588
3971
  "kind": "markdown",
3589
- "value": "**[От версия 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВръща деня от седмицата на зададената дата въз основа на стандарта ISO 8601. Стойностите варират от 1 до 7, като понеделник е 1, а неделя е 7.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на дата, от която да се върне денят от седмицата.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3972
+ "value": "**[От версия 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВръща деня от седмицата на зададената дата въз основа на стандарта ISO 8601. Стойностите варират от 1 до 7, като понеделник е 1, а неделя е 7.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Стойност на дата, от която да се върне денят от седмицата.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3590
3973
  }
3591
3974
  },
3592
3975
  "parametersInfo": {
@@ -3601,7 +3984,7 @@
3601
3984
  "sinceVersion": "1.12",
3602
3985
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
3603
3986
  "description": "Връща годината на зададената дата въз основа на календара на седмичните дати по ISO 8601.",
3604
- "examples": "\n##### Пример\n\nПолучава годината на зададената дата въз основа на календара на седмичните дати по ISO 8601. Връща 1981` тъй като тази дата е включена в първата седмица на следващата година.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n",
3987
+ "examples": "\n##### Примери\n\nПолучава годината на зададената дата въз основа на календара на седмичните дати по ISO 8601. Връща 1981` тъй като тази дата е включена в първата седмица на следващата година.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\nGets the year of the given DateOnly value, based on the ISO 8601 week date calendar.\n\n```arcade\nISOYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
3605
3988
  "completion": {
3606
3989
  "label": "ISOYear",
3607
3990
  "detail": "ISOYear(dateValue) -> Number",
@@ -3611,7 +3994,7 @@
3611
3994
  "kind": 3,
3612
3995
  "documentation": {
3613
3996
  "kind": "markdown",
3614
- "value": "**[От версия 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВръща годината на зададената дата въз основа на календара на седмичните дати по ISO 8601.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която да се получи годината.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3997
+ "value": "**[От версия 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВръща годината на зададената дата въз основа на календара на седмичните дати по ISO 8601.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Стойност на датата, от която да се получи годината.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3615
3998
  }
3616
3999
  },
3617
4000
  "parametersInfo": {
@@ -3619,61 +4002,115 @@
3619
4002
  "max": 1
3620
4003
  }
3621
4004
  },
3622
- {
3623
- "type": "function",
3624
- "name": "millisecond",
3625
- "bundle": "core",
3626
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
3627
- "description": "Връща милисекундата от времето в датата.",
3628
- "examples": "\n##### Пример\n\nПолучава милисекундата на текущото време\n\n```arcade\nMillisecond(Now())\n```\n\n",
3629
- "completion": {
3630
- "label": "Millisecond",
3631
- "detail": "Millisecond(dateValue) -> Number",
3632
- "insertText": "Millisecond(${1:dateValue_})$0",
3633
- "insertTextMode": 2,
3634
- "insertTextFormat": 2,
3635
- "kind": 3,
3636
- "documentation": {
3637
- "kind": "markdown",
3638
- "value": "Връща милисекундата от времето в датата.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която се получава милисекундата от времето.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4005
+ [
4006
+ {
4007
+ "type": "function",
4008
+ "name": "millisecond",
4009
+ "bundle": "core",
4010
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
4011
+ "description": "Returns the millisecond of the time in the date.",
4012
+ "examples": "\n##### Пример\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
4013
+ "completion": {
4014
+ "label": "Millisecond",
4015
+ "detail": "Millisecond(dateValue) -> Number",
4016
+ "insertText": "Millisecond(${1:dateValue_})$0",
4017
+ "insertTextMode": 2,
4018
+ "insertTextFormat": 2,
4019
+ "kind": 3,
4020
+ "documentation": {
4021
+ "kind": "markdown",
4022
+ "value": "Returns the millisecond of the time in the date.\n\n**Параметър**\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**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4023
+ }
4024
+ },
4025
+ "parametersInfo": {
4026
+ "min": 1,
4027
+ "max": 1
3639
4028
  }
3640
4029
  },
3641
- "parametersInfo": {
3642
- "min": 1,
3643
- "max": 1
4030
+ {
4031
+ "type": "function",
4032
+ "name": "millisecond",
4033
+ "bundle": "core",
4034
+ "sinceVersion": "1.24",
4035
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
4036
+ "description": "Returns the millisecond of the given time.",
4037
+ "examples": "\n##### Пример\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
4038
+ "completion": {
4039
+ "label": "Millisecond",
4040
+ "detail": "Millisecond(timeValue) -> Number",
4041
+ "insertText": "Millisecond(${1:timeValue_})$0",
4042
+ "insertTextMode": 2,
4043
+ "insertTextFormat": 2,
4044
+ "kind": 3,
4045
+ "documentation": {
4046
+ "kind": "markdown",
4047
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**Параметър**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4048
+ }
4049
+ },
4050
+ "parametersInfo": {
4051
+ "min": 1,
4052
+ "max": 1
4053
+ }
3644
4054
  }
3645
- },
3646
- {
3647
- "type": "function",
3648
- "name": "minute",
3649
- "bundle": "core",
3650
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
3651
- "description": "Връща минутата от времето в зададената дата.",
3652
- "examples": "\n##### Пример\n\nПолучава минутата на текущото време\n\n```arcade\nMinute(Now())\n```\n\n",
3653
- "completion": {
3654
- "label": "Minute",
3655
- "detail": "Minute(dateValue) -> Number",
3656
- "insertText": "Minute(${1:dateValue_})$0",
3657
- "insertTextMode": 2,
3658
- "insertTextFormat": 2,
3659
- "kind": 3,
3660
- "documentation": {
3661
- "kind": "markdown",
3662
- "value": "Връща минутата от времето в зададената дата.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която се получава минутата на времето.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4055
+ ],
4056
+ [
4057
+ {
4058
+ "type": "function",
4059
+ "name": "minute",
4060
+ "bundle": "core",
4061
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
4062
+ "description": "Returns the minute of the time in the given date.",
4063
+ "examples": "\n##### Пример\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
4064
+ "completion": {
4065
+ "label": "Minute",
4066
+ "detail": "Minute(dateValue) -> Number",
4067
+ "insertText": "Minute(${1:dateValue_})$0",
4068
+ "insertTextMode": 2,
4069
+ "insertTextFormat": 2,
4070
+ "kind": 3,
4071
+ "documentation": {
4072
+ "kind": "markdown",
4073
+ "value": "Returns the minute of the time in the given date.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the minute of the time.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4074
+ }
4075
+ },
4076
+ "parametersInfo": {
4077
+ "min": 1,
4078
+ "max": 1
3663
4079
  }
3664
4080
  },
3665
- "parametersInfo": {
3666
- "min": 1,
3667
- "max": 1
4081
+ {
4082
+ "type": "function",
4083
+ "name": "minute",
4084
+ "bundle": "core",
4085
+ "sinceVersion": "1.24",
4086
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
4087
+ "description": "Returns the minute of the given time.",
4088
+ "examples": "\n##### Пример\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
4089
+ "completion": {
4090
+ "label": "Minute",
4091
+ "detail": "Minute(timeValue) -> Number",
4092
+ "insertText": "Minute(${1:timeValue_})$0",
4093
+ "insertTextMode": 2,
4094
+ "insertTextFormat": 2,
4095
+ "kind": 3,
4096
+ "documentation": {
4097
+ "kind": "markdown",
4098
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**Параметър**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4099
+ }
4100
+ },
4101
+ "parametersInfo": {
4102
+ "min": 1,
4103
+ "max": 1
4104
+ }
3668
4105
  }
3669
- },
4106
+ ],
3670
4107
  {
3671
4108
  "type": "function",
3672
4109
  "name": "month",
3673
4110
  "bundle": "core",
3674
4111
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
3675
4112
  "description": "Връща месеца на зададената дата. Стойностите варират от 0 до 11, като януари е 0, а декември е 11.",
3676
- "examples": "\n##### Пример\n\nПолучава месеца на зададената дата. Връща 11 за месец декември.\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
4113
+ "examples": "\n##### Примери\n\nПолучава месеца на зададената дата. Връща 11 за месец декември.\n\n```arcade\nMonth(Date(1980, 11, 31))\n// returns 11\n```\n\nGets the month of the given DateOnly value.\n\n```arcade\nMonth(DateOnly(1996, 0, 31))\n// returns 0, for the month of January\n```\n\n",
3677
4114
  "completion": {
3678
4115
  "label": "Month",
3679
4116
  "detail": "Month(dateValue) -> Number",
@@ -3683,7 +4120,7 @@
3683
4120
  "kind": 3,
3684
4121
  "documentation": {
3685
4122
  "kind": "markdown",
3686
- "value": "Връща месеца на зададената дата. Стойностите варират от 0 до 11, като януари е 0, а декември е 11.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която да се получи месецът.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4123
+ "value": "Връща месеца на зададената дата. Стойностите варират от 0 до 11, като януари е 0, а декември е 11.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Стойност на датата, от която да се получи месецът.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3687
4124
  }
3688
4125
  },
3689
4126
  "parametersInfo": {
@@ -3715,23 +4152,227 @@
3715
4152
  "max": 0
3716
4153
  }
3717
4154
  },
4155
+ [
4156
+ {
4157
+ "type": "function",
4158
+ "name": "second",
4159
+ "bundle": "core",
4160
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
4161
+ "description": "Returns the second of the time in the date.",
4162
+ "examples": "\n##### Пример\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
4163
+ "completion": {
4164
+ "label": "Second",
4165
+ "detail": "Second(dateValue) -> Number",
4166
+ "insertText": "Second(${1:dateValue_})$0",
4167
+ "insertTextMode": 2,
4168
+ "insertTextFormat": 2,
4169
+ "kind": 3,
4170
+ "documentation": {
4171
+ "kind": "markdown",
4172
+ "value": "Returns the second of the time in the date.\n\n**Параметър**\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**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4173
+ }
4174
+ },
4175
+ "parametersInfo": {
4176
+ "min": 1,
4177
+ "max": 1
4178
+ }
4179
+ },
4180
+ {
4181
+ "type": "function",
4182
+ "name": "second",
4183
+ "bundle": "core",
4184
+ "sinceVersion": "1.24",
4185
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
4186
+ "description": "Returns the second of the given time.",
4187
+ "examples": "\n##### Пример\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
4188
+ "completion": {
4189
+ "label": "Second",
4190
+ "detail": "Second(timeValue) -> Number",
4191
+ "insertText": "Second(${1:timeValue_})$0",
4192
+ "insertTextMode": 2,
4193
+ "insertTextFormat": 2,
4194
+ "kind": 3,
4195
+ "documentation": {
4196
+ "kind": "markdown",
4197
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**Параметър**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4198
+ }
4199
+ },
4200
+ "parametersInfo": {
4201
+ "min": 1,
4202
+ "max": 1
4203
+ }
4204
+ }
4205
+ ],
4206
+ [
4207
+ {
4208
+ "type": "function",
4209
+ "name": "time",
4210
+ "bundle": "core",
4211
+ "sinceVersion": "1.24",
4212
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
4213
+ "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
4214
+ "examples": "\n##### Пример\n\nReturns the current time displayed using the profile's default time zone\n\n```arcade\n// Time represents 12:41:20 PM\nTime()\n```\n\n",
4215
+ "completion": {
4216
+ "label": "Time",
4217
+ "detail": "Time() -> Time",
4218
+ "insertText": "Time($0)",
4219
+ "insertTextMode": 2,
4220
+ "insertTextFormat": 2,
4221
+ "kind": 3,
4222
+ "documentation": {
4223
+ "kind": "markdown",
4224
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value representing the current time in the time zone of the profile's execution context.\n\n**Стойност за връщане**: Time"
4225
+ }
4226
+ },
4227
+ "parametersInfo": {
4228
+ "min": 0,
4229
+ "max": 0
4230
+ }
4231
+ },
4232
+ {
4233
+ "type": "function",
4234
+ "name": "time",
4235
+ "bundle": "core",
4236
+ "sinceVersion": "1.24",
4237
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
4238
+ "description": "Creates a Time value from a given date.",
4239
+ "examples": "\n##### Пример\n\nReturns the Time from the given date\n\n```arcade\nTime(Date(2008,10,11,10,30));\n// returns a Time value of 10:30:00 AM\n```\n\n",
4240
+ "completion": {
4241
+ "label": "Time",
4242
+ "detail": "Time(dateValue) -> Time",
4243
+ "insertText": "Time(${1:dateValue_})$0",
4244
+ "insertTextMode": 2,
4245
+ "insertTextFormat": 2,
4246
+ "kind": 3,
4247
+ "documentation": {
4248
+ "kind": "markdown",
4249
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**Стойност за връщане**: Time"
4250
+ }
4251
+ },
4252
+ "parametersInfo": {
4253
+ "min": 1,
4254
+ "max": 1
4255
+ }
4256
+ },
4257
+ {
4258
+ "type": "function",
4259
+ "name": "time",
4260
+ "bundle": "core",
4261
+ "sinceVersion": "1.24",
4262
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
4263
+ "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`.",
4264
+ "examples": "\n##### Примери\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(8119800);\n// returns a Time value of 02:15:19.800\n```\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(86400001);\n// returns null - the input value exceeds the number of milliseconds in a day\n```\n\n",
4265
+ "completion": {
4266
+ "label": "Time",
4267
+ "detail": "Time(numValue) -> Time",
4268
+ "insertText": "Time(${1:numValue_})$0",
4269
+ "insertTextMode": 2,
4270
+ "insertTextFormat": 2,
4271
+ "kind": 3,
4272
+ "documentation": {
4273
+ "kind": "markdown",
4274
+ "value": "**[От версия 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**Параметър**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**Стойност за връщане**: Time"
4275
+ }
4276
+ },
4277
+ "parametersInfo": {
4278
+ "min": 1,
4279
+ "max": 1
4280
+ }
4281
+ },
4282
+ {
4283
+ "type": "function",
4284
+ "name": "time",
4285
+ "bundle": "core",
4286
+ "sinceVersion": "1.24",
4287
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
4288
+ "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
4289
+ "examples": "\n##### Пример\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds\n\n```arcade\nTime(13, 20);\n// returns a Time value of 13:20:00\n \nTime(2, 59, 23)\n// returns a Time value of 02:59:23\n \nTime(15, 47, 0, 474)\n// returns a Time value of 15:47:00.474\n```\n\n",
4290
+ "completion": {
4291
+ "label": "Time",
4292
+ "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
4293
+ "insertText": "Time(${1:hours_}, ${2:minutes_})$0",
4294
+ "insertTextMode": 2,
4295
+ "insertTextFormat": 2,
4296
+ "kind": 3,
4297
+ "documentation": {
4298
+ "kind": "markdown",
4299
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds.\n\n**Параметри**\n\n- **hours**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 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**Стойност за връщане**: Time"
4300
+ }
4301
+ },
4302
+ "parametersInfo": {
4303
+ "min": 2,
4304
+ "max": 4
4305
+ }
4306
+ },
4307
+ {
4308
+ "type": "function",
4309
+ "name": "time",
4310
+ "bundle": "core",
4311
+ "sinceVersion": "1.24",
4312
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
4313
+ "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
4314
+ "examples": "\n##### Примери\n\nCreates a Time value from a text value representing the time\n\n```arcade\nTime(\"1:20 PM\");\n// returns a Time value of 13:20:00\n```\n\nCreates a Time value from a text value representing the time and formatting\n\n```arcade\nTime(\"12 05 04\", \"HH MM ss\")\n// returns a Time value of 12:05:04\n```\n\n",
4315
+ "completion": {
4316
+ "label": "Time",
4317
+ "detail": "Time(timeValue, format?) -> Time",
4318
+ "insertText": "Time(${1:timeValue_})$0",
4319
+ "insertTextMode": 2,
4320
+ "insertTextFormat": 2,
4321
+ "kind": 3,
4322
+ "documentation": {
4323
+ "kind": "markdown",
4324
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a text input representing time, with an optional input indicating the text's format.\n\n**Параметри**\n\n- **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**Стойност за връщане**: Time"
4325
+ }
4326
+ },
4327
+ "parametersInfo": {
4328
+ "min": 1,
4329
+ "max": 2
4330
+ }
4331
+ }
4332
+ ],
4333
+ {
4334
+ "type": "function",
4335
+ "name": "timestamp",
4336
+ "bundle": "core",
4337
+ "sinceVersion": "1.1",
4338
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
4339
+ "description": "Създава стойност за дата, представяща текущата дата и час в UTC.",
4340
+ "examples": "\n##### Пример\n\nСъздава дата в UTC време\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
4341
+ "completion": {
4342
+ "label": "Timestamp",
4343
+ "detail": "Timestamp() -> Date",
4344
+ "insertText": "Timestamp($0)",
4345
+ "insertTextMode": 2,
4346
+ "insertTextFormat": 2,
4347
+ "kind": 3,
4348
+ "documentation": {
4349
+ "kind": "markdown",
4350
+ "value": "**[От версия 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nСъздава стойност за дата, представяща текущата дата и час в UTC.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4351
+ }
4352
+ },
4353
+ "parametersInfo": {
4354
+ "min": 0,
4355
+ "max": 0
4356
+ }
4357
+ },
3718
4358
  {
3719
4359
  "type": "function",
3720
- "name": "second",
4360
+ "name": "timezone",
3721
4361
  "bundle": "core",
3722
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second",
3723
- "description": "Връща секундата от времето в датата.",
3724
- "examples": "\n##### Пример\n\nПолучава секундата на текущото време\n\n```arcade\nSecond(Now())\n```\n\n",
4362
+ "sinceVersion": "1.24",
4363
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
4364
+ "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",
4365
+ "examples": "\n##### Пример\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
3725
4366
  "completion": {
3726
- "label": "Second",
3727
- "detail": "Second(dateValue) -> Number",
3728
- "insertText": "Second(${1:dateValue_})$0",
4367
+ "label": "TimeZone",
4368
+ "detail": "TimeZone(dateValue) -> Text",
4369
+ "insertText": "TimeZone(${1:dateValue_})$0",
3729
4370
  "insertTextMode": 2,
3730
4371
  "insertTextFormat": 2,
3731
4372
  "kind": 3,
3732
4373
  "documentation": {
3733
4374
  "kind": "markdown",
3734
- "value": "Връща секундата от времето в датата.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която се получава секундата на времето.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4375
+ "value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- 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**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Стойност за връщане**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
3735
4376
  }
3736
4377
  },
3737
4378
  "parametersInfo": {
@@ -3741,27 +4382,27 @@
3741
4382
  },
3742
4383
  {
3743
4384
  "type": "function",
3744
- "name": "timestamp",
4385
+ "name": "timezoneoffset",
3745
4386
  "bundle": "core",
3746
- "sinceVersion": "1.1",
3747
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
3748
- "description": "Създава стойност за дата, представяща текущата дата и час в UTC.",
3749
- "examples": "\n##### Пример\n\nСъздава дата в UTC време\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
4387
+ "sinceVersion": "1.24",
4388
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
4389
+ "description": "Returns the time zone offset in minutes from UTC for the given Date.",
4390
+ "examples": "\n##### Пример\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",
3750
4391
  "completion": {
3751
- "label": "Timestamp",
3752
- "detail": "Timestamp() -> Date",
3753
- "insertText": "Timestamp($0)",
4392
+ "label": "TimeZoneOffset",
4393
+ "detail": "TimeZoneOffset(dateValue) -> Number",
4394
+ "insertText": "TimeZoneOffset(${1:dateValue_})$0",
3754
4395
  "insertTextMode": 2,
3755
4396
  "insertTextFormat": 2,
3756
4397
  "kind": 3,
3757
4398
  "documentation": {
3758
4399
  "kind": "markdown",
3759
- "value": "**[От версия 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nСъздава стойност за дата, представяща текущата дата и час в UTC.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4400
+ "value": "**[От версия 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**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone offset.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3760
4401
  }
3761
4402
  },
3762
4403
  "parametersInfo": {
3763
- "min": 0,
3764
- "max": 0
4404
+ "min": 1,
4405
+ "max": 1
3765
4406
  }
3766
4407
  },
3767
4408
  {
@@ -3845,7 +4486,7 @@
3845
4486
  "sinceVersion": "1.14",
3846
4487
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
3847
4488
  "description": "Връща номера на седмицата в годината на зададената дата. Стойностите варират от 0-53, където първата седмица от годината е `0`, а последната седмица от годината е `51`, `52` или `53`, в зависимост от годината. Първата и последната седмица може да не са с пълна продължителност от седем дни.",
3848
- "examples": "\n##### Примери\n\nИзползвайте началото на седмицата по подразбиране (неделя)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nЗадайте началото на седмицата от четвъртък\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nЗадайте началото на седмицата от петък\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\n",
4489
+ "examples": "\n##### Примери\n\nИзползвайте началото на седмицата по подразбиране (неделя)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nЗадайте началото на седмицата от четвъртък\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nЗадайте началото на седмицата от петък\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\nReturns the week from the DateOnly value\n\n```arcade\nWeek(DateOnly(1996, 11, 10))\n// returns 49\n```\n\n",
3849
4490
  "completion": {
3850
4491
  "label": "Week",
3851
4492
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -3855,7 +4496,7 @@
3855
4496
  "kind": 3,
3856
4497
  "documentation": {
3857
4498
  "kind": "markdown",
3858
- "value": "**[От версия 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВръща номера на седмицата в годината на зададената дата. Стойностите варират от 0-53, където първата седмица от годината е `0`, а последната седмица от годината е `51`, `52` или `53`, в зависимост от годината. Първата и последната седмица може да не са с пълна продължителност от седем дни.\n\n**Параметри**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която да се получи седмицата.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Число, представляващо началния ден от седмицата. неделя = 0; понеделник = 1; вторник = 2; сряда = 3; четвъртък = 4; петък = 5; събота = 6. По подразбиране е 0 (неделя).\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4499
+ "value": "**[От версия 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВръща номера на седмицата в годината на зададената дата. Стойностите варират от 0-53, където първата седмица от годината е `0`, а последната седмица от годината е `51`, `52` или `53`, в зависимост от годината. Първата и последната седмица може да не са с пълна продължителност от седем дни.\n\n**Параметри**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Стойност на датата, от която да се получи седмицата.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Число, представляващо началния ден от седмицата. неделя = 0; понеделник = 1; вторник = 2; сряда = 3; четвъртък = 4; петък = 5; събота = 6. По подразбиране е 0 (неделя).\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3859
4500
  }
3860
4501
  },
3861
4502
  "parametersInfo": {
@@ -3869,7 +4510,7 @@
3869
4510
  "bundle": "core",
3870
4511
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
3871
4512
  "description": "Връща деня от седмицата на зададената дата. Стойностите варират от 0 до 6, като неделя е 0, а събота е 6.",
3872
- "examples": "\n##### Пример\n\nВръща деня от седмицата на зададената дата. Връща 3 за сряда.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
4513
+ "examples": "\n##### Примери\n\nВръща деня от седмицата на зададената дата. Връща 3 за сряда.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value.\n\n```arcade\nWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
3873
4514
  "completion": {
3874
4515
  "label": "Weekday",
3875
4516
  "detail": "Weekday(dateValue) -> Number",
@@ -3879,7 +4520,7 @@
3879
4520
  "kind": 3,
3880
4521
  "documentation": {
3881
4522
  "kind": "markdown",
3882
- "value": "Връща деня от седмицата на зададената дата. Стойностите варират от 0 до 6, като неделя е 0, а събота е 6.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на дата, от която да се върне денят от седмицата.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4523
+ "value": "Връща деня от седмицата на зададената дата. Стойностите варират от 0 до 6, като неделя е 0, а събота е 6.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Стойност на дата, от която да се върне денят от седмицата.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3883
4524
  }
3884
4525
  },
3885
4526
  "parametersInfo": {
@@ -3893,7 +4534,7 @@
3893
4534
  "bundle": "core",
3894
4535
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
3895
4536
  "description": "Връща годината на зададената дата.",
3896
- "examples": "\n##### Пример\n\nПолучава годината на текущата дата\n\n```arcade\nYear(Now())\n```\n\n",
4537
+ "examples": "\n##### Примери\n\nПолучава годината на текущата дата\n\n```arcade\nYear(Now())\n```\n\nGets the year of the given DateOnly value\n\n```arcade\nYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
3897
4538
  "completion": {
3898
4539
  "label": "Year",
3899
4540
  "detail": "Year(dateValue) -> Number",
@@ -3903,7 +4544,7 @@
3903
4544
  "kind": 3,
3904
4545
  "documentation": {
3905
4546
  "kind": "markdown",
3906
- "value": "Връща годината на зададената дата.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Стойност на датата, от която да се получи годината.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4547
+ "value": "Връща годината на зададената дата.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Стойност на датата, от която да се получи годината.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
3907
4548
  }
3908
4549
  },
3909
4550
  "parametersInfo": {
@@ -5490,6 +6131,31 @@
5490
6131
  "max": 4
5491
6132
  }
5492
6133
  },
6134
+ {
6135
+ "type": "function",
6136
+ "name": "featuresetbyrelationshipclass",
6137
+ "bundle": "data-access",
6138
+ "sinceVersion": "1.24",
6139
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
6140
+ "description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
6141
+ "examples": "\n##### Пример\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
6142
+ "completion": {
6143
+ "label": "FeatureSetByRelationshipClass",
6144
+ "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
6145
+ "insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
6146
+ "insertTextMode": 2,
6147
+ "insertTextFormat": 2,
6148
+ "kind": 3,
6149
+ "documentation": {
6150
+ "kind": "markdown",
6151
+ "value": "**[От версия 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**Параметри**\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**Стойност за връщане**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
6152
+ }
6153
+ },
6154
+ "parametersInfo": {
6155
+ "min": 2,
6156
+ "max": 4
6157
+ }
6158
+ },
5493
6159
  {
5494
6160
  "type": "function",
5495
6161
  "name": "featuresetbyrelationshipname",