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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +858 -192
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +821 -155
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +829 -163
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +829 -163
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +829 -163
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +829 -163
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +829 -163
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +858 -192
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +851 -185
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +829 -163
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +829 -163
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +858 -192
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +829 -163
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +858 -192
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +829 -163
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +829 -163
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +858 -192
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +821 -155
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +859 -193
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +859 -193
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +829 -163
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +829 -163
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +829 -163
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +829 -163
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +829 -163
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +829 -163
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +829 -163
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +829 -163
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +858 -192
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +829 -163
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +829 -163
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +845 -179
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +829 -163
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +858 -192
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +858 -192
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +858 -192
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +858 -192
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +859 -193
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +859 -193
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +859 -193
  41. package/package.json +3 -3
@@ -149,29 +149,54 @@
149
149
  "id": "date_functions",
150
150
  "title": "Funkce data",
151
151
  "items": [
152
+ {
153
+ "type": "function",
154
+ "name": "changetimezone",
155
+ "bundle": "core",
156
+ "sinceVersion": "1.24",
157
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
158
+ "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`.",
159
+ "examples": "\n##### Příklady\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",
160
+ "completion": {
161
+ "label": "ChangeTimeZone",
162
+ "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
163
+ "insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
164
+ "insertTextMode": 2,
165
+ "insertTextFormat": 2,
166
+ "kind": 3,
167
+ "documentation": {
168
+ "kind": "markdown",
169
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
170
+ }
171
+ },
172
+ "parametersInfo": {
173
+ "min": 2,
174
+ "max": 2
175
+ }
176
+ },
152
177
  [
153
178
  {
154
179
  "type": "function",
155
180
  "name": "date",
156
181
  "bundle": "core",
157
182
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
158
- "description": "Ze sady parametrů vytvoří objekt Datum. Ve výchozím nastavení jsou data vytvářena v místním čase daného klienta nebo systému.",
159
- "examples": "\n##### Příklady\n\nVytvoří datum reprezentující zadaný čas v místním čase systému s Arcade.\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nVytvoří datum reprezentující aktuální čas v místním čase systému s Arcade.\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
183
+ "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.",
184
+ "examples": "\n##### Příklady\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",
160
185
  "completion": {
161
186
  "label": "Date",
162
- "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
187
+ "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
163
188
  "insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
164
189
  "insertTextMode": 2,
165
190
  "insertTextFormat": 2,
166
191
  "kind": 3,
167
192
  "documentation": {
168
193
  "kind": "markdown",
169
- "value": "Ze sady parametrů vytvoří objekt Datum. Ve výchozím nastavení jsou data vytvářena v místním čase daného klienta nebo systému.\n\n**Parametry**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Číslo představující rok.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Měsíc (011), kde `0` je leden a `11` je prosinec.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Den v měsíci (131).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Hodina dne (023).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Minuta v hodině (059).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Sekunda v minutě (059).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Milisekunda v sekundě (0999).\n\n**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
194
+ "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**Parametry**\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**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
170
195
  }
171
196
  },
172
197
  "parametersInfo": {
173
198
  "min": 3,
174
- "max": 7
199
+ "max": 8
175
200
  }
176
201
  },
177
202
  {
@@ -179,8 +204,8 @@
179
204
  "name": "date",
180
205
  "bundle": "core",
181
206
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
182
- "description": "Vytvoří datum se zadaným unixovým časem v místním časovém pásmu klienta nebo systému.",
183
- "examples": "\n##### Příklad\n\nPočet milisekund od 1. ledna 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n",
207
+ "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.",
208
+ "examples": "\n##### Příklady\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",
184
209
  "completion": {
185
210
  "label": "Date",
186
211
  "detail": "Date(epoch?) -> Date",
@@ -190,7 +215,7 @@
190
215
  "kind": 3,
191
216
  "documentation": {
192
217
  "kind": "markdown",
193
- "value": "Vytvoří datum se zadaným unixovým časem v místním časovém pásmu klienta nebo systému.\n\n**Parametr**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Počet milisekund od 1. ledna 1970 UTC.\n\n**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
218
+ "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**Parametr**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
194
219
  }
195
220
  },
196
221
  "parametersInfo": {
@@ -203,8 +228,8 @@
203
228
  "name": "date",
204
229
  "bundle": "core",
205
230
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
206
- "description": "Převede textovou hodnotu ISO 8601 na objekt Datum v místním časovém pásmu klienta nebo systému.",
207
- "examples": "\n##### Příklad\n\nText hodnoty 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",
231
+ "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.",
232
+ "examples": "\n##### Příklady\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",
208
233
  "completion": {
209
234
  "label": "Date",
210
235
  "detail": "Date(timestamp?) -> Date",
@@ -214,70 +239,376 @@
214
239
  "kind": 3,
215
240
  "documentation": {
216
241
  "kind": "markdown",
217
- "value": "Převede textovou hodnotu ISO 8601 na objekt Datum v místním časovém pásmu klienta nebo systému.\n\n**Parametr**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Textová hodnota ISO 8601, která být převedena na datum.\n\n**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
242
+ "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**Parametr**\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**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
218
243
  }
219
244
  },
220
245
  "parametersInfo": {
221
246
  "min": 0,
222
247
  "max": 1
223
248
  }
249
+ },
250
+ {
251
+ "type": "function",
252
+ "name": "date",
253
+ "bundle": "core",
254
+ "sinceVersion": "1.24",
255
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
256
+ "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
257
+ "examples": "\n##### Příklad\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",
258
+ "completion": {
259
+ "label": "Date",
260
+ "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
261
+ "insertText": "Date(${1:dateOnlyValue_})$0",
262
+ "insertTextMode": 2,
263
+ "insertTextFormat": 2,
264
+ "kind": 3,
265
+ "documentation": {
266
+ "kind": "markdown",
267
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
268
+ }
269
+ },
270
+ "parametersInfo": {
271
+ "min": 1,
272
+ "max": 3
273
+ }
274
+ },
275
+ {
276
+ "type": "function",
277
+ "name": "date",
278
+ "bundle": "core",
279
+ "sinceVersion": "1.24",
280
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
281
+ "description": "Creates a copy of the given Date.",
282
+ "examples": "\n##### Příklad\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
283
+ "completion": {
284
+ "label": "Date",
285
+ "detail": "Date(dateValue) -> Date",
286
+ "insertText": "Date(${1:dateValue_})$0",
287
+ "insertTextMode": 2,
288
+ "insertTextFormat": 2,
289
+ "kind": 3,
290
+ "documentation": {
291
+ "kind": "markdown",
292
+ "value": "**[Od verze 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
293
+ }
294
+ },
295
+ "parametersInfo": {
296
+ "min": 1,
297
+ "max": 1
298
+ }
224
299
  }
225
300
  ],
226
- {
227
- "type": "function",
228
- "name": "dateadd",
229
- "bundle": "core",
230
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd",
231
- "description": "Přičte k datu určené množství času v zadaných jednotkách a vrátí nové datum.",
232
- "examples": "\n##### Příklad\n\nPřičte 7 dní k datu v uvedeném poli\n\n```arcade\nvar startDate = Date($feature.dateField);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n```\n\n",
233
- "completion": {
234
- "label": "DateAdd",
235
- "detail": "DateAdd(dateValue, addValue, units?) -> Date",
236
- "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
237
- "insertTextMode": 2,
238
- "insertTextFormat": 2,
239
- "kind": 3,
240
- "documentation": {
241
- "kind": "markdown",
242
- "value": "Přičte k datu určené množství času v zadaných jednotkách a vrátí nové datum.\n\n**Parametry**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Vstupní datum, ke kterému se přidává čas.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Hodnota, která se přičte k datu v zadaných jednotkách.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Jednotky čísla, které se přičte k datu. Výchozí hodnota je 'milliseconds'. Mezi podporované typy jednotek patří `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
301
+ [
302
+ {
303
+ "type": "function",
304
+ "name": "dateadd",
305
+ "bundle": "core",
306
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
307
+ "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.",
308
+ "examples": "\n##### Příklad\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",
309
+ "completion": {
310
+ "label": "DateAdd",
311
+ "detail": "DateAdd(dateValue, addValue, units?) -> Date",
312
+ "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
313
+ "insertTextMode": 2,
314
+ "insertTextFormat": 2,
315
+ "kind": 3,
316
+ "documentation": {
317
+ "kind": "markdown",
318
+ "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**Parametry**\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**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
319
+ }
320
+ },
321
+ "parametersInfo": {
322
+ "min": 2,
323
+ "max": 3
243
324
  }
244
325
  },
245
- "parametersInfo": {
246
- "min": 2,
247
- "max": 3
326
+ {
327
+ "type": "function",
328
+ "name": "dateadd",
329
+ "bundle": "core",
330
+ "sinceVersion": "1.24",
331
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
332
+ "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
333
+ "examples": "\n##### Příklady\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",
334
+ "completion": {
335
+ "label": "DateAdd",
336
+ "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
337
+ "insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
338
+ "insertTextMode": 2,
339
+ "insertTextFormat": 2,
340
+ "kind": 3,
341
+ "documentation": {
342
+ "kind": "markdown",
343
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: DateOnly"
344
+ }
345
+ },
346
+ "parametersInfo": {
347
+ "min": 2,
348
+ "max": 3
349
+ }
350
+ },
351
+ {
352
+ "type": "function",
353
+ "name": "dateadd",
354
+ "bundle": "core",
355
+ "sinceVersion": "1.24",
356
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
357
+ "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
358
+ "examples": "\n##### Příklady\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",
359
+ "completion": {
360
+ "label": "DateAdd",
361
+ "detail": "DateAdd(timeValue, addValue, units?) -> Time",
362
+ "insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
363
+ "insertTextMode": 2,
364
+ "insertTextFormat": 2,
365
+ "kind": 3,
366
+ "documentation": {
367
+ "kind": "markdown",
368
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: Time"
369
+ }
370
+ },
371
+ "parametersInfo": {
372
+ "min": 2,
373
+ "max": 3
374
+ }
248
375
  }
249
- },
250
- {
251
- "type": "function",
252
- "name": "datediff",
253
- "bundle": "core",
254
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff",
255
- "description": "Odečte dvě data a vrátí rozdíl v určených jednotkách.",
256
- "examples": "\n##### Příklad\n\nOdečte dvě data a vrátí stáří\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n",
257
- "completion": {
258
- "label": "DateDiff",
259
- "detail": "DateDiff(date1, date2, units?) -> Number",
260
- "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
261
- "insertTextMode": 2,
262
- "insertTextFormat": 2,
263
- "kind": 3,
264
- "documentation": {
265
- "kind": "markdown",
266
- "value": "Odečte dvě data a vrátí rozdíl v určených jednotkách.\n\n**Parametry**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, od které se odečte druhé datum.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, která se odečte od prvního zadaného data.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Jednotky, ve kterých se má vrátit rozdíl dvou zadaných dat. Mezi podporované typy jednotek patří `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. Výchozí hodnota je `milliseconds`.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
376
+ ],
377
+ [
378
+ {
379
+ "type": "function",
380
+ "name": "datediff",
381
+ "bundle": "core",
382
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
383
+ "description": "Subtracts two Dates, and returns the difference in the specified units.",
384
+ "examples": "\n##### Příklady\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",
385
+ "completion": {
386
+ "label": "DateDiff",
387
+ "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
388
+ "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
389
+ "insertTextMode": 2,
390
+ "insertTextFormat": 2,
391
+ "kind": 3,
392
+ "documentation": {
393
+ "kind": "markdown",
394
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametry**\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**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
395
+ }
396
+ },
397
+ "parametersInfo": {
398
+ "min": 2,
399
+ "max": 4
267
400
  }
268
401
  },
269
- "parametersInfo": {
270
- "min": 2,
271
- "max": 3
402
+ {
403
+ "type": "function",
404
+ "name": "datediff",
405
+ "bundle": "core",
406
+ "sinceVersion": "1.24",
407
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
408
+ "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
409
+ "examples": "\n##### Příklad\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",
410
+ "completion": {
411
+ "label": "DateDiff",
412
+ "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
413
+ "insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
414
+ "insertTextMode": 2,
415
+ "insertTextFormat": 2,
416
+ "kind": 3,
417
+ "documentation": {
418
+ "kind": "markdown",
419
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
420
+ }
421
+ },
422
+ "parametersInfo": {
423
+ "min": 2,
424
+ "max": 3
425
+ }
426
+ },
427
+ {
428
+ "type": "function",
429
+ "name": "datediff",
430
+ "bundle": "core",
431
+ "sinceVersion": "1.24",
432
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
433
+ "description": "Subtracts two Time values, and returns the difference in the specified units.",
434
+ "examples": "\n##### Příklad\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",
435
+ "completion": {
436
+ "label": "DateDiff",
437
+ "detail": "DateDiff(time1, time2, units?) -> Number",
438
+ "insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
439
+ "insertTextMode": 2,
440
+ "insertTextFormat": 2,
441
+ "kind": 3,
442
+ "documentation": {
443
+ "kind": "markdown",
444
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
445
+ }
446
+ },
447
+ "parametersInfo": {
448
+ "min": 2,
449
+ "max": 3
450
+ }
272
451
  }
273
- },
452
+ ],
453
+ [
454
+ {
455
+ "type": "function",
456
+ "name": "dateonly",
457
+ "bundle": "core",
458
+ "sinceVersion": "1.24",
459
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
460
+ "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
461
+ "examples": "\n##### Příklad\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
462
+ "completion": {
463
+ "label": "DateOnly",
464
+ "detail": "DateOnly() -> DateOnly",
465
+ "insertText": "DateOnly($0)",
466
+ "insertTextMode": 2,
467
+ "insertTextFormat": 2,
468
+ "kind": 3,
469
+ "documentation": {
470
+ "kind": "markdown",
471
+ "value": "**[Od verze 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**Vrácená hodnota**: DateOnly"
472
+ }
473
+ },
474
+ "parametersInfo": {
475
+ "min": 0,
476
+ "max": 0
477
+ }
478
+ },
479
+ {
480
+ "type": "function",
481
+ "name": "dateonly",
482
+ "bundle": "core",
483
+ "sinceVersion": "1.24",
484
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
485
+ "description": "Creates a DateOnly value from a given date.",
486
+ "examples": "\n##### Příklad\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",
487
+ "completion": {
488
+ "label": "DateOnly",
489
+ "detail": "DateOnly(dateValue) -> DateOnly",
490
+ "insertText": "DateOnly(${1:dateValue_})$0",
491
+ "insertTextMode": 2,
492
+ "insertTextFormat": 2,
493
+ "kind": 3,
494
+ "documentation": {
495
+ "kind": "markdown",
496
+ "value": "**[Od verze 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**Vrácená hodnota**: DateOnly"
497
+ }
498
+ },
499
+ "parametersInfo": {
500
+ "min": 1,
501
+ "max": 1
502
+ }
503
+ },
504
+ {
505
+ "type": "function",
506
+ "name": "dateonly",
507
+ "bundle": "core",
508
+ "sinceVersion": "1.24",
509
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
510
+ "description": "Creates a DateOnly date with the given Unix epoch number.",
511
+ "examples": "\n##### Příklad\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",
512
+ "completion": {
513
+ "label": "DateOnly",
514
+ "detail": "DateOnly(epoch) -> DateOnly",
515
+ "insertText": "DateOnly(${1:epoch_})$0",
516
+ "insertTextMode": 2,
517
+ "insertTextFormat": 2,
518
+ "kind": 3,
519
+ "documentation": {
520
+ "kind": "markdown",
521
+ "value": "**[Od verze 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**Parametr**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Vrácená hodnota**: DateOnly"
522
+ }
523
+ },
524
+ "parametersInfo": {
525
+ "min": 1,
526
+ "max": 1
527
+ }
528
+ },
529
+ {
530
+ "type": "function",
531
+ "name": "dateonly",
532
+ "bundle": "core",
533
+ "sinceVersion": "1.24",
534
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
535
+ "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
536
+ "examples": "\n##### Příklad\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",
537
+ "completion": {
538
+ "label": "DateOnly",
539
+ "detail": "DateOnly(year, month, day) -> DateOnly",
540
+ "insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
541
+ "insertTextMode": 2,
542
+ "insertTextFormat": 2,
543
+ "kind": 3,
544
+ "documentation": {
545
+ "kind": "markdown",
546
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: DateOnly"
547
+ }
548
+ },
549
+ "parametersInfo": {
550
+ "min": 3,
551
+ "max": 3
552
+ }
553
+ },
554
+ {
555
+ "type": "function",
556
+ "name": "dateonly",
557
+ "bundle": "core",
558
+ "sinceVersion": "1.24",
559
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
560
+ "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.",
561
+ "examples": "\n##### Příklady\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",
562
+ "completion": {
563
+ "label": "DateOnly",
564
+ "detail": "DateOnly(dateValue, format?) -> DateOnly",
565
+ "insertText": "DateOnly(${1:dateValue_})$0",
566
+ "insertTextMode": 2,
567
+ "insertTextFormat": 2,
568
+ "kind": 3,
569
+ "documentation": {
570
+ "kind": "markdown",
571
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: DateOnly"
572
+ }
573
+ },
574
+ "parametersInfo": {
575
+ "min": 1,
576
+ "max": 2
577
+ }
578
+ },
579
+ {
580
+ "type": "function",
581
+ "name": "dateonly",
582
+ "bundle": "core",
583
+ "sinceVersion": "1.24",
584
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
585
+ "description": "Creates a copy of a DateOnly value.",
586
+ "examples": "\n##### Příklad\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",
587
+ "completion": {
588
+ "label": "DateOnly",
589
+ "detail": "DateOnly(dateOnlyValue) -> DateOnly",
590
+ "insertText": "DateOnly(${1:dateOnlyValue_})$0",
591
+ "insertTextMode": 2,
592
+ "insertTextFormat": 2,
593
+ "kind": 3,
594
+ "documentation": {
595
+ "kind": "markdown",
596
+ "value": "**[Od verze 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**Parametr**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**Vrácená hodnota**: DateOnly"
597
+ }
598
+ },
599
+ "parametersInfo": {
600
+ "min": 1,
601
+ "max": 1
602
+ }
603
+ }
604
+ ],
274
605
  {
275
606
  "type": "function",
276
607
  "name": "day",
277
608
  "bundle": "core",
278
609
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
279
610
  "description": "Vrátí den v měsíci zadaného data.",
280
- "examples": "\n##### Příklad\n\nZíská den v měsíci aktuálního data\n\n```arcade\nDay(Now())\n```\n\n",
611
+ "examples": "\n##### Příklady\n\nZíská den v měsíci aktuálního data\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",
281
612
  "completion": {
282
613
  "label": "Day",
283
614
  "detail": "Day(dateValue) -> Number",
@@ -287,7 +618,7 @@
287
618
  "kind": 3,
288
619
  "documentation": {
289
620
  "kind": "markdown",
290
- "value": "Vrátí den v měsíci zadaného data.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá den v měsíci.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
621
+ "value": "Vrátí den v měsíci zadaného data.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Hodnota data, ze které se získá den v měsíci.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
291
622
  }
292
623
  },
293
624
  "parametersInfo": {
@@ -295,30 +626,57 @@
295
626
  "max": 1
296
627
  }
297
628
  },
298
- {
299
- "type": "function",
300
- "name": "hour",
301
- "bundle": "core",
302
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour",
303
- "description": "Vrátí číslo hodiny času v zadaném datu (0–23).",
304
- "examples": "\n##### Příklad\n\nZíská číslo hodiny aktuálního času\n\n```arcade\nHour(Now())\n```\n\n",
305
- "completion": {
306
- "label": "Hour",
307
- "detail": "Hour(dateValue) -> Number",
308
- "insertText": "Hour(${1:dateValue_})$0",
309
- "insertTextMode": 2,
310
- "insertTextFormat": 2,
311
- "kind": 3,
312
- "documentation": {
313
- "kind": "markdown",
314
- "value": "Vrátí číslo hodiny času v zadaném datu (0–23).\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá číslo hodiny času.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
629
+ [
630
+ {
631
+ "type": "function",
632
+ "name": "hour",
633
+ "bundle": "core",
634
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
635
+ "description": "Returns the hour of the time in the given date (0-23).",
636
+ "examples": "\n##### Příklad\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
637
+ "completion": {
638
+ "label": "Hour",
639
+ "detail": "Hour(dateValue) -> Number",
640
+ "insertText": "Hour(${1:dateValue_})$0",
641
+ "insertTextMode": 2,
642
+ "insertTextFormat": 2,
643
+ "kind": 3,
644
+ "documentation": {
645
+ "kind": "markdown",
646
+ "value": "Returns the hour of the time in the given date (0-23).\n\n**Parametr**\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**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
647
+ }
648
+ },
649
+ "parametersInfo": {
650
+ "min": 1,
651
+ "max": 1
315
652
  }
316
653
  },
317
- "parametersInfo": {
318
- "min": 1,
319
- "max": 1
654
+ {
655
+ "type": "function",
656
+ "name": "hour",
657
+ "bundle": "core",
658
+ "sinceVersion": "1.24",
659
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
660
+ "description": "Returns the hour of the given time (0-23).",
661
+ "examples": "\n##### Příklad\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
662
+ "completion": {
663
+ "label": "Hour",
664
+ "detail": "Hour(timeValue) -> Number",
665
+ "insertText": "Hour(${1:timeValue_})$0",
666
+ "insertTextMode": 2,
667
+ "insertTextFormat": 2,
668
+ "kind": 3,
669
+ "documentation": {
670
+ "kind": "markdown",
671
+ "value": "**[Od verze 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**Parametr**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
672
+ }
673
+ },
674
+ "parametersInfo": {
675
+ "min": 1,
676
+ "max": 1
677
+ }
320
678
  }
321
- },
679
+ ],
322
680
  {
323
681
  "type": "function",
324
682
  "name": "isomonth",
@@ -326,7 +684,7 @@
326
684
  "sinceVersion": "1.12",
327
685
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
328
686
  "description": "Vrátí měsíc daného data na základě normy ISO 8601. Hodnoty se pohybují v rozmezí 1-12, kde leden je `1` a prosinec `12`.",
329
- "examples": "\n##### Příklad\n\nZíská měsíc daného data na základě normy ISO 8601. Vrátí `12` pro měsíc prosinec.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n",
687
+ "examples": "\n##### Příklady\n\nZíská měsíc daného data na základě normy ISO 8601. Vrátí `12` pro měsíc prosinec.\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",
330
688
  "completion": {
331
689
  "label": "ISOMonth",
332
690
  "detail": "ISOMonth(dateValue) -> Number",
@@ -336,7 +694,7 @@
336
694
  "kind": 3,
337
695
  "documentation": {
338
696
  "kind": "markdown",
339
- "value": "**[Od verze 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrátí měsíc daného data na základě normy ISO 8601. Hodnoty se pohybují v rozmezí 1-12, kde leden je `1` a prosinec `12`.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá měsíc.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
697
+ "value": "**[Od verze 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrátí měsíc daného data na základě normy ISO 8601. Hodnoty se pohybují v rozmezí 1-12, kde leden je `1` a prosinec `12`.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Hodnota data, ze které se získá měsíc.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
340
698
  }
341
699
  },
342
700
  "parametersInfo": {
@@ -351,7 +709,7 @@
351
709
  "sinceVersion": "1.12",
352
710
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
353
711
  "description": "Vrátí týden v roce pro dané datum na základě týdenního kalendáře ISO 8601. Hodnoty se pohybují v rozmezí 1-53, kde první týden roku je `1` a poslední týden roku je `52` nebo `53`, podle konkrétního roku.",
354
- "examples": "\n##### Příklad\n\nZíská týden pro dané datum na základě normy ISO 8601. Vrátí `1`, protože toto datum je součástí prvního týdne následujícího roku.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
712
+ "examples": "\n##### Příklady\n\nZíská týden pro dané datum na základě normy ISO 8601. Vrátí `1`, protože toto datum je součástí prvního týdne následujícího roku.\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",
355
713
  "completion": {
356
714
  "label": "ISOWeek",
357
715
  "detail": "ISOWeek(dateValue) -> Number",
@@ -361,7 +719,7 @@
361
719
  "kind": 3,
362
720
  "documentation": {
363
721
  "kind": "markdown",
364
- "value": "**[Od verze 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrátí týden v roce pro dané datum na základě týdenního kalendáře ISO 8601. Hodnoty se pohybují v rozmezí 1-53, kde první týden roku je `1` a poslední týden roku je `52` nebo `53`, podle konkrétního roku.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které má být získán týden.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
722
+ "value": "**[Od verze 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrátí týden v roce pro dané datum na základě týdenního kalendáře ISO 8601. Hodnoty se pohybují v rozmezí 1-53, kde první týden roku je `1` a poslední týden roku je `52` nebo `53`, podle konkrétního roku.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Hodnota data, ze které má být získán týden.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
365
723
  }
366
724
  },
367
725
  "parametersInfo": {
@@ -376,7 +734,7 @@
376
734
  "sinceVersion": "1.12",
377
735
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
378
736
  "description": "Vrátí den v týdnu daného data na základě normy ISO 8601. Hodnoty se pohybují v rozmezí 1-7, kde pondělí je `1` a neděle je `7`.",
379
- "examples": "\n##### Příklad\n\nVrátí den v týdnu daného data na základě normy ISO 8601. Vrátí `3` pro středu.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n",
737
+ "examples": "\n##### Příklady\n\nVrátí den v týdnu daného data na základě normy ISO 8601. Vrátí `3` pro středu.\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",
380
738
  "completion": {
381
739
  "label": "ISOWeekday",
382
740
  "detail": "ISOWeekday(dateValue) -> Number",
@@ -386,7 +744,7 @@
386
744
  "kind": 3,
387
745
  "documentation": {
388
746
  "kind": "markdown",
389
- "value": "**[Od verze 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrátí den v týdnu daného data na základě normy ISO 8601. Hodnoty se pohybují v rozmezí 1-7, kde pondělí je `1` a neděle je `7`.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá den v týdnu.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
747
+ "value": "**[Od verze 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrátí den v týdnu daného data na základě normy ISO 8601. Hodnoty se pohybují v rozmezí 1-7, kde pondělí je `1` a neděle je `7`.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Hodnota data, ze které se získá den v týdnu.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
390
748
  }
391
749
  },
392
750
  "parametersInfo": {
@@ -401,65 +759,17 @@
401
759
  "sinceVersion": "1.12",
402
760
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
403
761
  "description": "Vrátí rok daného data na základě týdenního kalendáře ISO 8601.",
404
- "examples": "\n##### Příklad\n\nZíská rok daného data na základě týdenního kalendáře ISO 8601. Vrátí `1981`, protože toto datum je součástí prvního týdne následujícího roku.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n",
762
+ "examples": "\n##### Příklady\n\nZíská rok daného data na základě týdenního kalendáře ISO 8601. Vrátí `1981`, protože toto datum je součástí prvního týdne následujícího roku.\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",
405
763
  "completion": {
406
764
  "label": "ISOYear",
407
- "detail": "ISOYear(dateValue) -> Number",
408
- "insertText": "ISOYear(${1:dateValue_})$0",
409
- "insertTextMode": 2,
410
- "insertTextFormat": 2,
411
- "kind": 3,
412
- "documentation": {
413
- "kind": "markdown",
414
- "value": "**[Od verze 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrátí rok daného data na základě týdenního kalendáře ISO 8601.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá rok.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
415
- }
416
- },
417
- "parametersInfo": {
418
- "min": 1,
419
- "max": 1
420
- }
421
- },
422
- {
423
- "type": "function",
424
- "name": "millisecond",
425
- "bundle": "core",
426
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
427
- "description": "Vrátí číslo milisekundy času v datu.",
428
- "examples": "\n##### Příklad\n\nZíská číslo milisekundy aktuálního času\n\n```arcade\nMillisecond(Now())\n```\n\n",
429
- "completion": {
430
- "label": "Millisecond",
431
- "detail": "Millisecond(dateValue) -> Number",
432
- "insertText": "Millisecond(${1:dateValue_})$0",
433
- "insertTextMode": 2,
434
- "insertTextFormat": 2,
435
- "kind": 3,
436
- "documentation": {
437
- "kind": "markdown",
438
- "value": "Vrátí číslo milisekundy času v datu.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá číslo milisekundy času.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
439
- }
440
- },
441
- "parametersInfo": {
442
- "min": 1,
443
- "max": 1
444
- }
445
- },
446
- {
447
- "type": "function",
448
- "name": "minute",
449
- "bundle": "core",
450
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
451
- "description": "Vrátí číslo minuty času v zadaném datu.",
452
- "examples": "\n##### Příklad\n\nZíská číslo minuty aktuálního času\n\n```arcade\nMinute(Now())\n```\n\n",
453
- "completion": {
454
- "label": "Minute",
455
- "detail": "Minute(dateValue) -> Number",
456
- "insertText": "Minute(${1:dateValue_})$0",
765
+ "detail": "ISOYear(dateValue) -> Number",
766
+ "insertText": "ISOYear(${1:dateValue_})$0",
457
767
  "insertTextMode": 2,
458
768
  "insertTextFormat": 2,
459
769
  "kind": 3,
460
770
  "documentation": {
461
771
  "kind": "markdown",
462
- "value": "Vrátí číslo minuty času v zadaném datu.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá číslo minuty času.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
772
+ "value": "**[Od verze 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrátí rok daného data na základě týdenního kalendáře ISO 8601.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Hodnota data, ze které se získá rok.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
463
773
  }
464
774
  },
465
775
  "parametersInfo": {
@@ -467,13 +777,115 @@
467
777
  "max": 1
468
778
  }
469
779
  },
780
+ [
781
+ {
782
+ "type": "function",
783
+ "name": "millisecond",
784
+ "bundle": "core",
785
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
786
+ "description": "Returns the millisecond of the time in the date.",
787
+ "examples": "\n##### Příklad\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
788
+ "completion": {
789
+ "label": "Millisecond",
790
+ "detail": "Millisecond(dateValue) -> Number",
791
+ "insertText": "Millisecond(${1:dateValue_})$0",
792
+ "insertTextMode": 2,
793
+ "insertTextFormat": 2,
794
+ "kind": 3,
795
+ "documentation": {
796
+ "kind": "markdown",
797
+ "value": "Returns the millisecond of the time in the date.\n\n**Parametr**\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**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
798
+ }
799
+ },
800
+ "parametersInfo": {
801
+ "min": 1,
802
+ "max": 1
803
+ }
804
+ },
805
+ {
806
+ "type": "function",
807
+ "name": "millisecond",
808
+ "bundle": "core",
809
+ "sinceVersion": "1.24",
810
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
811
+ "description": "Returns the millisecond of the given time.",
812
+ "examples": "\n##### Příklad\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
813
+ "completion": {
814
+ "label": "Millisecond",
815
+ "detail": "Millisecond(timeValue) -> Number",
816
+ "insertText": "Millisecond(${1:timeValue_})$0",
817
+ "insertTextMode": 2,
818
+ "insertTextFormat": 2,
819
+ "kind": 3,
820
+ "documentation": {
821
+ "kind": "markdown",
822
+ "value": "**[Od verze 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**Parametr**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
823
+ }
824
+ },
825
+ "parametersInfo": {
826
+ "min": 1,
827
+ "max": 1
828
+ }
829
+ }
830
+ ],
831
+ [
832
+ {
833
+ "type": "function",
834
+ "name": "minute",
835
+ "bundle": "core",
836
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
837
+ "description": "Returns the minute of the time in the given date.",
838
+ "examples": "\n##### Příklad\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
839
+ "completion": {
840
+ "label": "Minute",
841
+ "detail": "Minute(dateValue) -> Number",
842
+ "insertText": "Minute(${1:dateValue_})$0",
843
+ "insertTextMode": 2,
844
+ "insertTextFormat": 2,
845
+ "kind": 3,
846
+ "documentation": {
847
+ "kind": "markdown",
848
+ "value": "Returns the minute of the time in the given date.\n\n**Parametr**\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**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
849
+ }
850
+ },
851
+ "parametersInfo": {
852
+ "min": 1,
853
+ "max": 1
854
+ }
855
+ },
856
+ {
857
+ "type": "function",
858
+ "name": "minute",
859
+ "bundle": "core",
860
+ "sinceVersion": "1.24",
861
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
862
+ "description": "Returns the minute of the given time.",
863
+ "examples": "\n##### Příklad\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
864
+ "completion": {
865
+ "label": "Minute",
866
+ "detail": "Minute(timeValue) -> Number",
867
+ "insertText": "Minute(${1:timeValue_})$0",
868
+ "insertTextMode": 2,
869
+ "insertTextFormat": 2,
870
+ "kind": 3,
871
+ "documentation": {
872
+ "kind": "markdown",
873
+ "value": "**[Od verze 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**Parametr**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
874
+ }
875
+ },
876
+ "parametersInfo": {
877
+ "min": 1,
878
+ "max": 1
879
+ }
880
+ }
881
+ ],
470
882
  {
471
883
  "type": "function",
472
884
  "name": "month",
473
885
  "bundle": "core",
474
886
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
475
887
  "description": "Vrátí měsíc zadaného data. Hodnoty se pohybují od 0 do 11, přičemž leden je `0` a prosinec `11`.",
476
- "examples": "\n##### Příklad\n\nZíská měsíc daného data. Vrátí 11 pro měsíc prosinec.\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
888
+ "examples": "\n##### Příklady\n\nZíská měsíc daného data. Vrátí 11 pro měsíc prosinec.\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",
477
889
  "completion": {
478
890
  "label": "Month",
479
891
  "detail": "Month(dateValue) -> Number",
@@ -483,7 +895,7 @@
483
895
  "kind": 3,
484
896
  "documentation": {
485
897
  "kind": "markdown",
486
- "value": "Vrátí měsíc zadaného data. Hodnoty se pohybují od 0 do 11, přičemž leden je `0` a prosinec `11`.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá měsíc.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
898
+ "value": "Vrátí měsíc zadaného data. Hodnoty se pohybují od 0 do 11, přičemž leden je `0` a prosinec `11`.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Hodnota data, ze které se získá měsíc.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
487
899
  }
488
900
  },
489
901
  "parametersInfo": {
@@ -515,23 +927,227 @@
515
927
  "max": 0
516
928
  }
517
929
  },
930
+ [
931
+ {
932
+ "type": "function",
933
+ "name": "second",
934
+ "bundle": "core",
935
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
936
+ "description": "Returns the second of the time in the date.",
937
+ "examples": "\n##### Příklad\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
938
+ "completion": {
939
+ "label": "Second",
940
+ "detail": "Second(dateValue) -> Number",
941
+ "insertText": "Second(${1:dateValue_})$0",
942
+ "insertTextMode": 2,
943
+ "insertTextFormat": 2,
944
+ "kind": 3,
945
+ "documentation": {
946
+ "kind": "markdown",
947
+ "value": "Returns the second of the time in the date.\n\n**Parametr**\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**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
948
+ }
949
+ },
950
+ "parametersInfo": {
951
+ "min": 1,
952
+ "max": 1
953
+ }
954
+ },
955
+ {
956
+ "type": "function",
957
+ "name": "second",
958
+ "bundle": "core",
959
+ "sinceVersion": "1.24",
960
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
961
+ "description": "Returns the second of the given time.",
962
+ "examples": "\n##### Příklad\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
963
+ "completion": {
964
+ "label": "Second",
965
+ "detail": "Second(timeValue) -> Number",
966
+ "insertText": "Second(${1:timeValue_})$0",
967
+ "insertTextMode": 2,
968
+ "insertTextFormat": 2,
969
+ "kind": 3,
970
+ "documentation": {
971
+ "kind": "markdown",
972
+ "value": "**[Od verze 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**Parametr**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
973
+ }
974
+ },
975
+ "parametersInfo": {
976
+ "min": 1,
977
+ "max": 1
978
+ }
979
+ }
980
+ ],
981
+ [
982
+ {
983
+ "type": "function",
984
+ "name": "time",
985
+ "bundle": "core",
986
+ "sinceVersion": "1.24",
987
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
988
+ "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
989
+ "examples": "\n##### Příklad\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",
990
+ "completion": {
991
+ "label": "Time",
992
+ "detail": "Time() -> Time",
993
+ "insertText": "Time($0)",
994
+ "insertTextMode": 2,
995
+ "insertTextFormat": 2,
996
+ "kind": 3,
997
+ "documentation": {
998
+ "kind": "markdown",
999
+ "value": "**[Od verze 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**Vrácená hodnota**: Time"
1000
+ }
1001
+ },
1002
+ "parametersInfo": {
1003
+ "min": 0,
1004
+ "max": 0
1005
+ }
1006
+ },
1007
+ {
1008
+ "type": "function",
1009
+ "name": "time",
1010
+ "bundle": "core",
1011
+ "sinceVersion": "1.24",
1012
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
1013
+ "description": "Creates a Time value from a given date.",
1014
+ "examples": "\n##### Příklad\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",
1015
+ "completion": {
1016
+ "label": "Time",
1017
+ "detail": "Time(dateValue) -> Time",
1018
+ "insertText": "Time(${1:dateValue_})$0",
1019
+ "insertTextMode": 2,
1020
+ "insertTextFormat": 2,
1021
+ "kind": 3,
1022
+ "documentation": {
1023
+ "kind": "markdown",
1024
+ "value": "**[Od verze 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**Vrácená hodnota**: Time"
1025
+ }
1026
+ },
1027
+ "parametersInfo": {
1028
+ "min": 1,
1029
+ "max": 1
1030
+ }
1031
+ },
1032
+ {
1033
+ "type": "function",
1034
+ "name": "time",
1035
+ "bundle": "core",
1036
+ "sinceVersion": "1.24",
1037
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
1038
+ "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`.",
1039
+ "examples": "\n##### Příklady\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",
1040
+ "completion": {
1041
+ "label": "Time",
1042
+ "detail": "Time(numValue) -> Time",
1043
+ "insertText": "Time(${1:numValue_})$0",
1044
+ "insertTextMode": 2,
1045
+ "insertTextFormat": 2,
1046
+ "kind": 3,
1047
+ "documentation": {
1048
+ "kind": "markdown",
1049
+ "value": "**[Od verze 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**Parametr**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**Vrácená hodnota**: Time"
1050
+ }
1051
+ },
1052
+ "parametersInfo": {
1053
+ "min": 1,
1054
+ "max": 1
1055
+ }
1056
+ },
1057
+ {
1058
+ "type": "function",
1059
+ "name": "time",
1060
+ "bundle": "core",
1061
+ "sinceVersion": "1.24",
1062
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
1063
+ "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
1064
+ "examples": "\n##### Příklad\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",
1065
+ "completion": {
1066
+ "label": "Time",
1067
+ "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
1068
+ "insertText": "Time(${1:hours_}, ${2:minutes_})$0",
1069
+ "insertTextMode": 2,
1070
+ "insertTextFormat": 2,
1071
+ "kind": 3,
1072
+ "documentation": {
1073
+ "kind": "markdown",
1074
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: Time"
1075
+ }
1076
+ },
1077
+ "parametersInfo": {
1078
+ "min": 2,
1079
+ "max": 4
1080
+ }
1081
+ },
1082
+ {
1083
+ "type": "function",
1084
+ "name": "time",
1085
+ "bundle": "core",
1086
+ "sinceVersion": "1.24",
1087
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
1088
+ "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
1089
+ "examples": "\n##### Příklady\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",
1090
+ "completion": {
1091
+ "label": "Time",
1092
+ "detail": "Time(timeValue, format?) -> Time",
1093
+ "insertText": "Time(${1:timeValue_})$0",
1094
+ "insertTextMode": 2,
1095
+ "insertTextFormat": 2,
1096
+ "kind": 3,
1097
+ "documentation": {
1098
+ "kind": "markdown",
1099
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: Time"
1100
+ }
1101
+ },
1102
+ "parametersInfo": {
1103
+ "min": 1,
1104
+ "max": 2
1105
+ }
1106
+ }
1107
+ ],
1108
+ {
1109
+ "type": "function",
1110
+ "name": "timestamp",
1111
+ "bundle": "core",
1112
+ "sinceVersion": "1.1",
1113
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
1114
+ "description": "Vytvoří hodnotu data reprezentující aktuální datum a čas v UTC.",
1115
+ "examples": "\n##### Příklad\n\nVytvoří datum v čase UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
1116
+ "completion": {
1117
+ "label": "Timestamp",
1118
+ "detail": "Timestamp() -> Date",
1119
+ "insertText": "Timestamp($0)",
1120
+ "insertTextMode": 2,
1121
+ "insertTextFormat": 2,
1122
+ "kind": 3,
1123
+ "documentation": {
1124
+ "kind": "markdown",
1125
+ "value": "**[Od verze 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVytvoří hodnotu data reprezentující aktuální datum a čas v UTC.\n\n**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1126
+ }
1127
+ },
1128
+ "parametersInfo": {
1129
+ "min": 0,
1130
+ "max": 0
1131
+ }
1132
+ },
518
1133
  {
519
1134
  "type": "function",
520
- "name": "second",
1135
+ "name": "timezone",
521
1136
  "bundle": "core",
522
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second",
523
- "description": "Vrátí číslo sekundy času v datu.",
524
- "examples": "\n##### Příklad\n\nZíská číslo sekundy aktuálního času\n\n```arcade\nSecond(Now())\n```\n\n",
1137
+ "sinceVersion": "1.24",
1138
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
1139
+ "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",
1140
+ "examples": "\n##### Příklad\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",
525
1141
  "completion": {
526
- "label": "Second",
527
- "detail": "Second(dateValue) -> Number",
528
- "insertText": "Second(${1:dateValue_})$0",
1142
+ "label": "TimeZone",
1143
+ "detail": "TimeZone(dateValue) -> Text",
1144
+ "insertText": "TimeZone(${1:dateValue_})$0",
529
1145
  "insertTextMode": 2,
530
1146
  "insertTextFormat": 2,
531
1147
  "kind": 3,
532
1148
  "documentation": {
533
1149
  "kind": "markdown",
534
- "value": "Vrátí číslo sekundy času v datu.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá číslo sekundy času.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1150
+ "value": "**[Od verze 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**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Vrácená hodnota**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
535
1151
  }
536
1152
  },
537
1153
  "parametersInfo": {
@@ -541,27 +1157,27 @@
541
1157
  },
542
1158
  {
543
1159
  "type": "function",
544
- "name": "timestamp",
1160
+ "name": "timezoneoffset",
545
1161
  "bundle": "core",
546
- "sinceVersion": "1.1",
547
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
548
- "description": "Vytvoří hodnotu data reprezentující aktuální datum a čas v UTC.",
549
- "examples": "\n##### Příklad\n\nVytvoří datum v čase UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
1162
+ "sinceVersion": "1.24",
1163
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
1164
+ "description": "Returns the time zone offset in minutes from UTC for the given Date.",
1165
+ "examples": "\n##### Příklad\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",
550
1166
  "completion": {
551
- "label": "Timestamp",
552
- "detail": "Timestamp() -> Date",
553
- "insertText": "Timestamp($0)",
1167
+ "label": "TimeZoneOffset",
1168
+ "detail": "TimeZoneOffset(dateValue) -> Number",
1169
+ "insertText": "TimeZoneOffset(${1:dateValue_})$0",
554
1170
  "insertTextMode": 2,
555
1171
  "insertTextFormat": 2,
556
1172
  "kind": 3,
557
1173
  "documentation": {
558
1174
  "kind": "markdown",
559
- "value": "**[Od verze 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVytvoří hodnotu data reprezentující aktuální datum a čas v UTC.\n\n**Vrácená hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1175
+ "value": "**[Od verze 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**Parametr**\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**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
560
1176
  }
561
1177
  },
562
1178
  "parametersInfo": {
563
- "min": 0,
564
- "max": 0
1179
+ "min": 1,
1180
+ "max": 1
565
1181
  }
566
1182
  },
567
1183
  {
@@ -645,7 +1261,7 @@
645
1261
  "sinceVersion": "1.14",
646
1262
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
647
1263
  "description": "Vrátí číslo týdne v roce zadaného data. Hodnoty se pohybují v rozmezí 0-53, přičemž první týden v roce má `0` a poslední týden v roce má `51`, `52` nebo `53`, v závislosti na daném roce. Poslední a první týden nemusí trvat celých sedm dní.",
648
- "examples": "\n##### Příklady\n\nPoužít výchozí den začátku týdne (neděle)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nNastavit úterý jako začátek týdne\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nNastavit pátek jako začátek týdne\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",
1264
+ "examples": "\n##### Příklady\n\nPoužít výchozí den začátku týdne (neděle)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nNastavit úterý jako začátek týdne\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nNastavit pátek jako začátek týdne\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",
649
1265
  "completion": {
650
1266
  "label": "Week",
651
1267
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -655,7 +1271,7 @@
655
1271
  "kind": 3,
656
1272
  "documentation": {
657
1273
  "kind": "markdown",
658
- "value": "**[Od verze 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrátí číslo týdne v roce zadaného data. Hodnoty se pohybují v rozmezí 0-53, přičemž první týden v roce má `0` a poslední týden v roce má `51`, `52` nebo `53`, v závislosti na daném roce. Poslední a první týden nemusí trvat celých sedm dní.\n\n**Parametry**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které má být získán týden.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Číslo reprezentující první den týdne. neděle = 0; pondělí = 1; úterý = 2; středa = 3; čtvrtek = 4; pátek = 5; sobota = 6. Výchozí nastavení je `0` (něděle).\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1274
+ "value": "**[Od verze 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrátí číslo týdne v roce zadaného data. Hodnoty se pohybují v rozmezí 0-53, přičemž první týden v roce má `0` a poslední týden v roce má `51`, `52` nebo `53`, v závislosti na daném roce. Poslední a první týden nemusí trvat celých sedm dní.\n\n**Parametry**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Hodnota data, ze které má být získán týden.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Číslo reprezentující první den týdne. neděle = 0; pondělí = 1; úterý = 2; středa = 3; čtvrtek = 4; pátek = 5; sobota = 6. Výchozí nastavení je `0` (něděle).\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
659
1275
  }
660
1276
  },
661
1277
  "parametersInfo": {
@@ -669,7 +1285,7 @@
669
1285
  "bundle": "core",
670
1286
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
671
1287
  "description": "Vrátí den v týdnu daného data. Hodnoty se pohybují od 0 do 6, přičemž neděle je `0` a sobota `6`.",
672
- "examples": "\n##### Příklad\n\nVrátí den v týdnu daného data. Vrátí `3` pro středu.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
1288
+ "examples": "\n##### Příklady\n\nVrátí den v týdnu daného data. Vrátí `3` pro středu.\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",
673
1289
  "completion": {
674
1290
  "label": "Weekday",
675
1291
  "detail": "Weekday(dateValue) -> Number",
@@ -679,7 +1295,7 @@
679
1295
  "kind": 3,
680
1296
  "documentation": {
681
1297
  "kind": "markdown",
682
- "value": "Vrátí den v týdnu daného data. Hodnoty se pohybují od 0 do 6, přičemž neděle je `0` a sobota `6`.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá den v týdnu.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1298
+ "value": "Vrátí den v týdnu daného data. Hodnoty se pohybují od 0 do 6, přičemž neděle je `0` a sobota `6`.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Hodnota data, ze které se získá den v týdnu.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
683
1299
  }
684
1300
  },
685
1301
  "parametersInfo": {
@@ -693,7 +1309,7 @@
693
1309
  "bundle": "core",
694
1310
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
695
1311
  "description": "Vrátí rok zadaného data.",
696
- "examples": "\n##### Příklad\n\nZíská rok aktuálního data\n\n```arcade\nYear(Now())\n```\n\n",
1312
+ "examples": "\n##### Příklady\n\nZíská rok aktuálního data\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",
697
1313
  "completion": {
698
1314
  "label": "Year",
699
1315
  "detail": "Year(dateValue) -> Number",
@@ -703,7 +1319,7 @@
703
1319
  "kind": 3,
704
1320
  "documentation": {
705
1321
  "kind": "markdown",
706
- "value": "Vrátí rok zadaného data.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Hodnota data, ze které se získá rok.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1322
+ "value": "Vrátí rok zadaného data.\n\n**Parametr**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Hodnota data, ze které se získá rok.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
707
1323
  }
708
1324
  },
709
1325
  "parametersInfo": {
@@ -2347,6 +2963,31 @@
2347
2963
  "max": 4
2348
2964
  }
2349
2965
  },
2966
+ {
2967
+ "type": "function",
2968
+ "name": "featuresetbyrelationshipclass",
2969
+ "bundle": "data-access",
2970
+ "sinceVersion": "1.24",
2971
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
2972
+ "description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
2973
+ "examples": "\n##### Příklad\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",
2974
+ "completion": {
2975
+ "label": "FeatureSetByRelationshipClass",
2976
+ "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
2977
+ "insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
2978
+ "insertTextMode": 2,
2979
+ "insertTextFormat": 2,
2980
+ "kind": 3,
2981
+ "documentation": {
2982
+ "kind": "markdown",
2983
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2984
+ }
2985
+ },
2986
+ "parametersInfo": {
2987
+ "min": 2,
2988
+ "max": 4
2989
+ }
2990
+ },
2350
2991
  {
2351
2992
  "type": "function",
2352
2993
  "name": "featuresetbyrelationshipname",
@@ -5242,6 +5883,31 @@
5242
5883
  "max": 2
5243
5884
  }
5244
5885
  },
5886
+ {
5887
+ "type": "function",
5888
+ "name": "equals",
5889
+ "bundle": "core",
5890
+ "sinceVersion": "1.24",
5891
+ "link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
5892
+ "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.",
5893
+ "examples": "\n##### Příklad\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",
5894
+ "completion": {
5895
+ "label": "Equals",
5896
+ "detail": "Equals(value1, value2) -> Boolean",
5897
+ "insertText": "Equals(${1:value1_}, ${2:value2_})$0",
5898
+ "insertTextMode": 2,
5899
+ "insertTextFormat": 2,
5900
+ "kind": 3,
5901
+ "documentation": {
5902
+ "kind": "markdown",
5903
+ "value": "**[Od verze 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**Parametry**\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**Vrácená hodnota**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5904
+ }
5905
+ },
5906
+ "parametersInfo": {
5907
+ "min": 2,
5908
+ "max": 2
5909
+ }
5910
+ },
5245
5911
  {
5246
5912
  "type": "function",
5247
5913
  "name": "iif",
@@ -5677,7 +6343,7 @@
5677
6343
  "kind": 3,
5678
6344
  "documentation": {
5679
6345
  "kind": "markdown",
5680
- "value": "**[Od verze 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGeneruje hodnotu hash kódu pro danou proměnnou.\n\n**Parametr**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Proměnná, která má být převedena funkcí hash.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6346
+ "value": "**[Od verze 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGeneruje hodnotu hash kódu pro danou proměnnou.\n\n**Parametr**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| DateOnly \\| Time - Proměnná, která má být převedena funkcí hash.\n\n**Vrácená hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5681
6347
  }
5682
6348
  },
5683
6349
  "parametersInfo": {
@@ -6531,7 +7197,7 @@
6531
7197
  "bundle": "core",
6532
7198
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
6533
7199
  "description": "Převede svůj argument na textovou hodnotu a volitelně ji zformátuje. Pokud selže, vrátí `null`.",
6534
- "examples": "\n##### Příklady\n\nDoplnit číslo nalevo od desetinné čárky\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nOmezit číslo nalevo od desetinné čárky\n\n```arcade\nText(123, '00') // '23'\n```\n\nSeskupit číslo po tisících\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nZaokrouhlit číslo na dvě desetinná místa\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormátovat číslo jako měnu\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nZaokrouhlit číslo na dvě desetinná místa\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nZachovat počet platných číslic a seskupit po tisících\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormátovat číslo a formátovat kladné/záporné – pokud existuje záporný podvzorec, slouží pouze k určení záporné předpony a přípony\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nVynásobit 100 a formátovat jako procentuální podíl\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormátovat datum a čas v daném okamžiku. např. 'Úterý, 25. října 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nDatum uložené v poli `datetime` již představuje místní čas, ale Arcade předpokládá, že se jedná o UTC. Posune místní čas na UTC, aby se zabránilo dvojímu použití posunu časového pásma.\n\n```arcade\nText(ToUTC($feature.datetime), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n",
7200
+ "examples": "\n##### Příklady\n\nDoplnit číslo nalevo od desetinné čárky\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nOmezit číslo nalevo od desetinné čárky\n\n```arcade\nText(123, '00') // '23'\n```\n\nSeskupit číslo po tisících\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nZaokrouhlit číslo na dvě desetinná místa\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormátovat číslo jako měnu\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nZaokrouhlit číslo na dvě desetinná místa\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nZachovat počet platných číslic a seskupit po tisících\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormátovat číslo a formátovat kladné/záporné – pokud existuje záporný podvzorec, slouží pouze k určení záporné předpony a přípony\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nVynásobit 100 a formátovat jako procentuální podíl\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormátovat datum a čas v daném okamžiku. např. 'Úterý, 25. října 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nDatum uložené v poli `datetime` již představuje místní čas, ale Arcade předpokládá, že se jedná o UTC. Posune místní čas na UTC, aby se zabránilo dvojímu použití posunu časového pásma.\n\n```arcade\nText(startDate, 'ddd, MMM D, Y h:mm:ss A ZZZZ')\n// returns Thu, Sep 14, 2023 10:04:49 AM PDT\n```\n\n",
6535
7201
  "completion": {
6536
7202
  "label": "Text",
6537
7203
  "detail": "Text(value, format?) -> Text",