@arcgis/coding-components 1.0.0-beta.11 → 1.0.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +858 -192
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +821 -155
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +858 -192
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +853 -187
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +858 -192
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +858 -192
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +858 -192
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +821 -155
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +859 -193
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +859 -193
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +858 -192
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +845 -179
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +829 -163
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +858 -192
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +858 -192
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +858 -192
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +858 -192
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +859 -193
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +859 -193
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +859 -193
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +1 -2
- package/dist/arcgis-coding-components/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-ed254359.js → p-00c0b964.js} +1 -1
- package/dist/arcgis-coding-components/{p-616bcc2c.js → p-0f471c2c.js} +1 -1
- package/dist/arcgis-coding-components/{p-4d7cdaf4.js → p-2daa5deb.js} +1 -1
- package/dist/arcgis-coding-components/{p-b866ffa3.js → p-65933e8a.js} +1 -1
- package/dist/arcgis-coding-components/{p-2eee5b07.js → p-92019d78.js} +7 -7
- package/dist/arcgis-coding-components/{p-ee4aaf72.js → p-bcd478e3.js} +1 -1
- package/dist/arcgis-coding-components/{p-41feaa6e.js → p-be85ec3d.js} +1 -1
- package/dist/arcgis-coding-components/{p-63d6d128.js → p-bf83cfac.js} +1 -1
- package/dist/arcgis-coding-components/p-dd2d53e7.entry.js +1 -0
- package/dist/arcgis-coding-components/{p-c14a46af.js → p-f1b6ba59.js} +1 -1
- package/dist/cjs/{arcade-defaults-f77b7bae.js → arcade-defaults-990ceb0a.js} +51 -33
- package/dist/cjs/{arcade-mode-4b1d5adc.js → arcade-mode-6a101da0.js} +1 -1
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +40 -10
- package/dist/cjs/{cssMode-c21a8b34.js → cssMode-ef738198.js} +1 -1
- package/dist/cjs/{html-baddeebf.js → html-e97a8c1e.js} +1 -1
- package/dist/cjs/{htmlMode-3ca73779.js → htmlMode-0afb8251.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-4226e8d4.js → javascript-09fbcb7d.js} +2 -2
- package/dist/cjs/{jsonMode-4496d6b9.js → jsonMode-9a315af5.js} +1 -1
- package/dist/cjs/{tsMode-6fa6f2f6.js → tsMode-000c3471.js} +1 -1
- package/dist/cjs/{typescript-5b6bab68.js → typescript-a9f8ce6c.js} +1 -1
- package/dist/components/arcade-api.js +2 -1
- package/dist/components/arcade-defaults.js +3 -23
- package/dist/components/arcade-results.js +40 -10
- package/dist/components/arcade-suggestions.js +2 -1
- package/dist/components/arcade-variables.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/fields.js +125 -0
- package/dist/components/index2.js +282 -32
- package/dist/components/utilities.js +2 -334
- package/dist/esm/{arcade-defaults-24670a1d.js → arcade-defaults-a8808d6a.js} +52 -33
- package/dist/esm/{arcade-mode-dc10ed9f.js → arcade-mode-6c8aff99.js} +1 -1
- package/dist/esm/arcgis-arcade-api_6.entry.js +40 -10
- package/dist/esm/{cssMode-0ae84348.js → cssMode-e19675cf.js} +1 -1
- package/dist/esm/{html-c18864a6.js → html-0e2f7c2f.js} +1 -1
- package/dist/esm/{htmlMode-426699f2.js → htmlMode-a4dd6993.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-982f2d73.js → javascript-9d754452.js} +2 -2
- package/dist/esm/{jsonMode-170e0a0e.js → jsonMode-cfafe91a.js} +1 -1
- package/dist/esm/{tsMode-99d2e8e5.js → tsMode-612386a7.js} +1 -1
- package/dist/esm/{typescript-de4f8a27.js → typescript-a17e2ba3.js} +1 -1
- package/dist/types/utils/arcade-executor.d.ts +35 -3
- package/dist/types/utils/fields.d.ts +10 -0
- package/dist/types/utils/profile/types.d.ts +2 -2
- package/dist/types/utils/utilities.d.ts +0 -6
- package/package.json +8 -8
- package/dist/arcgis-coding-components/p-9a6baa15.entry.js +0 -1
|
@@ -805,29 +805,54 @@
|
|
|
805
805
|
"id": "date_functions",
|
|
806
806
|
"title": "Datumsfunktionen",
|
|
807
807
|
"items": [
|
|
808
|
+
{
|
|
809
|
+
"type": "function",
|
|
810
|
+
"name": "changetimezone",
|
|
811
|
+
"bundle": "core",
|
|
812
|
+
"sinceVersion": "1.24",
|
|
813
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
|
|
814
|
+
"description": "Changes the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.",
|
|
815
|
+
"examples": "\n##### Beispiele\n\nChanges the given Date's time zone from `America/New_York` to `America/Los_Angeles`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"America/New_York\")\nChangeTimeZone(inputDate, \"America/Los_Angeles\");\n// returns a Date representing Nov 11, 2011, 5:00:00 AM PST\n```\n\nAssigns a Date with an `unknown` time zone to a time offset of `+07:00`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"unknown\")\nChangeTimeZone(inputDate, \"+07:00\");\n// returns a Date representing Nov 11, 2011, 8:00:00 AM +07:00\n```\n\n",
|
|
816
|
+
"completion": {
|
|
817
|
+
"label": "ChangeTimeZone",
|
|
818
|
+
"detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
|
|
819
|
+
"insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
|
|
820
|
+
"insertTextMode": 2,
|
|
821
|
+
"insertTextFormat": 2,
|
|
822
|
+
"kind": 3,
|
|
823
|
+
"documentation": {
|
|
824
|
+
"kind": "markdown",
|
|
825
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
"parametersInfo": {
|
|
829
|
+
"min": 2,
|
|
830
|
+
"max": 2
|
|
831
|
+
}
|
|
832
|
+
},
|
|
808
833
|
[
|
|
809
834
|
{
|
|
810
835
|
"type": "function",
|
|
811
836
|
"name": "date",
|
|
812
837
|
"bundle": "core",
|
|
813
838
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
|
|
814
|
-
"description": "
|
|
815
|
-
"examples": "\n##### Beispiele\n\
|
|
839
|
+
"description": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.",
|
|
840
|
+
"examples": "\n##### Beispiele\n\nCreates a Date representing the given time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nCreates a Date with time defined in a specific time zone\n\n```arcade\nDate(1990, 10, 2, 2, 23, 0, 0, \"America/New_York\");\n // Date represents Nov 2, 1990, 2:23:00 AM EST\n```\n\n",
|
|
816
841
|
"completion": {
|
|
817
842
|
"label": "Date",
|
|
818
|
-
"detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
|
|
843
|
+
"detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
|
|
819
844
|
"insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
|
|
820
845
|
"insertTextMode": 2,
|
|
821
846
|
"insertTextFormat": 2,
|
|
822
847
|
"kind": 3,
|
|
823
848
|
"documentation": {
|
|
824
849
|
"kind": "markdown",
|
|
825
|
-
"value": "
|
|
850
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parameter**\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**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
826
851
|
}
|
|
827
852
|
},
|
|
828
853
|
"parametersInfo": {
|
|
829
854
|
"min": 3,
|
|
830
|
-
"max":
|
|
855
|
+
"max": 8
|
|
831
856
|
}
|
|
832
857
|
},
|
|
833
858
|
{
|
|
@@ -835,8 +860,8 @@
|
|
|
835
860
|
"name": "date",
|
|
836
861
|
"bundle": "core",
|
|
837
862
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
|
|
838
|
-
"description": "
|
|
839
|
-
"examples": "\n#####
|
|
863
|
+
"description": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.",
|
|
864
|
+
"examples": "\n##### Beispiele\n\nMilliseconds since January 1, 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\nCreates a Date representing the current time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
|
|
840
865
|
"completion": {
|
|
841
866
|
"label": "Date",
|
|
842
867
|
"detail": "Date(epoch?) -> Date",
|
|
@@ -846,7 +871,7 @@
|
|
|
846
871
|
"kind": 3,
|
|
847
872
|
"documentation": {
|
|
848
873
|
"kind": "markdown",
|
|
849
|
-
"value": "
|
|
874
|
+
"value": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.\n\n**Parameter**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
850
875
|
}
|
|
851
876
|
},
|
|
852
877
|
"parametersInfo": {
|
|
@@ -859,8 +884,8 @@
|
|
|
859
884
|
"name": "date",
|
|
860
885
|
"bundle": "core",
|
|
861
886
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
|
|
862
|
-
"description": "
|
|
863
|
-
"examples": "\n#####
|
|
887
|
+
"description": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.",
|
|
888
|
+
"examples": "\n##### Beispiele\n\nCreates a Date from an ISO 8601 text value with a known time offset\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\nCreates a Date from an ISO 8601 text value with an unknown time offset\n\n```arcade\nDate('2016-10-20T17:41:37') // 'Thu Oct 20 2016 5:41:37 PM PDT'\n```\n\n",
|
|
864
889
|
"completion": {
|
|
865
890
|
"label": "Date",
|
|
866
891
|
"detail": "Date(timestamp?) -> Date",
|
|
@@ -870,70 +895,376 @@
|
|
|
870
895
|
"kind": 3,
|
|
871
896
|
"documentation": {
|
|
872
897
|
"kind": "markdown",
|
|
873
|
-
"value": "
|
|
898
|
+
"value": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.\n\n**Parameter**\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**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
874
899
|
}
|
|
875
900
|
},
|
|
876
901
|
"parametersInfo": {
|
|
877
902
|
"min": 0,
|
|
878
903
|
"max": 1
|
|
879
904
|
}
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"type": "function",
|
|
908
|
+
"name": "date",
|
|
909
|
+
"bundle": "core",
|
|
910
|
+
"sinceVersion": "1.24",
|
|
911
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
|
|
912
|
+
"description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
|
|
913
|
+
"examples": "\n##### Beispiel\n\nCreates a Date from a DateOnly and time type\n\n```arcade\nDate(DateOnly(2022,10,11), Time(\"11:20 am\"))\n// returns a Date representing Nov 11, 2022, 11:20:00 AM in an unknown time zone\n```\n\n",
|
|
914
|
+
"completion": {
|
|
915
|
+
"label": "Date",
|
|
916
|
+
"detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
|
|
917
|
+
"insertText": "Date(${1:dateOnlyValue_})$0",
|
|
918
|
+
"insertTextMode": 2,
|
|
919
|
+
"insertTextFormat": 2,
|
|
920
|
+
"kind": 3,
|
|
921
|
+
"documentation": {
|
|
922
|
+
"kind": "markdown",
|
|
923
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
"parametersInfo": {
|
|
927
|
+
"min": 1,
|
|
928
|
+
"max": 3
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"type": "function",
|
|
933
|
+
"name": "date",
|
|
934
|
+
"bundle": "core",
|
|
935
|
+
"sinceVersion": "1.24",
|
|
936
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
|
|
937
|
+
"description": "Creates a copy of the given Date.",
|
|
938
|
+
"examples": "\n##### Beispiel\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
|
|
939
|
+
"completion": {
|
|
940
|
+
"label": "Date",
|
|
941
|
+
"detail": "Date(dateValue) -> Date",
|
|
942
|
+
"insertText": "Date(${1:dateValue_})$0",
|
|
943
|
+
"insertTextMode": 2,
|
|
944
|
+
"insertTextFormat": 2,
|
|
945
|
+
"kind": 3,
|
|
946
|
+
"documentation": {
|
|
947
|
+
"kind": "markdown",
|
|
948
|
+
"value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
"parametersInfo": {
|
|
952
|
+
"min": 1,
|
|
953
|
+
"max": 1
|
|
954
|
+
}
|
|
880
955
|
}
|
|
881
956
|
],
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
"
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
"
|
|
898
|
-
|
|
957
|
+
[
|
|
958
|
+
{
|
|
959
|
+
"type": "function",
|
|
960
|
+
"name": "dateadd",
|
|
961
|
+
"bundle": "core",
|
|
962
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
|
|
963
|
+
"description": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.",
|
|
964
|
+
"examples": "\n##### Beispiel\n\nAdds 7 days to the given Date\n\n```arcade\nvar startDate = Date(2023, 9, 1, 12, 00);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns a Date representing Oct 8, 2023, 12:00:00 PM PDT\n```\n\n",
|
|
965
|
+
"completion": {
|
|
966
|
+
"label": "DateAdd",
|
|
967
|
+
"detail": "DateAdd(dateValue, addValue, units?) -> Date",
|
|
968
|
+
"insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
|
|
969
|
+
"insertTextMode": 2,
|
|
970
|
+
"insertTextFormat": 2,
|
|
971
|
+
"kind": 3,
|
|
972
|
+
"documentation": {
|
|
973
|
+
"kind": "markdown",
|
|
974
|
+
"value": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.\n\n**Parameter**\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**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"parametersInfo": {
|
|
978
|
+
"min": 2,
|
|
979
|
+
"max": 3
|
|
899
980
|
}
|
|
900
981
|
},
|
|
901
|
-
|
|
902
|
-
"
|
|
903
|
-
"
|
|
982
|
+
{
|
|
983
|
+
"type": "function",
|
|
984
|
+
"name": "dateadd",
|
|
985
|
+
"bundle": "core",
|
|
986
|
+
"sinceVersion": "1.24",
|
|
987
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
|
|
988
|
+
"description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
|
|
989
|
+
"examples": "\n##### Beispiele\n\nAdds 7 days to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns 2023-06-11\n```\n\nAdds 12 hours to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar hoursLater = DateAdd(startDate, 12, 'hours');\nreturn hoursLater;\n// returns the original start date, 2023-06-04\n// since 12 hours < 1 day, the DateOnly input is not changed\n```\n\n",
|
|
990
|
+
"completion": {
|
|
991
|
+
"label": "DateAdd",
|
|
992
|
+
"detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
|
|
993
|
+
"insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
|
|
994
|
+
"insertTextMode": 2,
|
|
995
|
+
"insertTextFormat": 2,
|
|
996
|
+
"kind": 3,
|
|
997
|
+
"documentation": {
|
|
998
|
+
"kind": "markdown",
|
|
999
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: DateOnly"
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
"parametersInfo": {
|
|
1003
|
+
"min": 2,
|
|
1004
|
+
"max": 3
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"type": "function",
|
|
1009
|
+
"name": "dateadd",
|
|
1010
|
+
"bundle": "core",
|
|
1011
|
+
"sinceVersion": "1.24",
|
|
1012
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
|
|
1013
|
+
"description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
|
|
1014
|
+
"examples": "\n##### Beispiele\n\nAdds 7 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 7, 'hours');\nreturn hoursLater;\n// returns 18:30:00\n```\n\nAdds 90 seconds to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar secondsLater = DateAdd(startTime, 90, \"seconds\");\nreturn secondsLater;\n// returns 11:31:30\n```\n\nAdds 25 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 25, 'hours');\nreturn hoursLater;\n// returns 12:30:00\n```\n\n",
|
|
1015
|
+
"completion": {
|
|
1016
|
+
"label": "DateAdd",
|
|
1017
|
+
"detail": "DateAdd(timeValue, addValue, units?) -> Time",
|
|
1018
|
+
"insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
|
|
1019
|
+
"insertTextMode": 2,
|
|
1020
|
+
"insertTextFormat": 2,
|
|
1021
|
+
"kind": 3,
|
|
1022
|
+
"documentation": {
|
|
1023
|
+
"kind": "markdown",
|
|
1024
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: Time"
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
"parametersInfo": {
|
|
1028
|
+
"min": 2,
|
|
1029
|
+
"max": 3
|
|
1030
|
+
}
|
|
904
1031
|
}
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
"
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
"
|
|
922
|
-
|
|
1032
|
+
],
|
|
1033
|
+
[
|
|
1034
|
+
{
|
|
1035
|
+
"type": "function",
|
|
1036
|
+
"name": "datediff",
|
|
1037
|
+
"bundle": "core",
|
|
1038
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
1039
|
+
"description": "Subtracts two Dates, and returns the difference in the specified units.",
|
|
1040
|
+
"examples": "\n##### Beispiele\n\nSubtracts two Dates and returns the age\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtracts two Dates and returns the difference. Since the time zone is Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
|
|
1041
|
+
"completion": {
|
|
1042
|
+
"label": "DateDiff",
|
|
1043
|
+
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
1044
|
+
"insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
|
|
1045
|
+
"insertTextMode": 2,
|
|
1046
|
+
"insertTextFormat": 2,
|
|
1047
|
+
"kind": 3,
|
|
1048
|
+
"documentation": {
|
|
1049
|
+
"kind": "markdown",
|
|
1050
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parameter**\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**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
"parametersInfo": {
|
|
1054
|
+
"min": 2,
|
|
1055
|
+
"max": 4
|
|
923
1056
|
}
|
|
924
1057
|
},
|
|
925
|
-
|
|
926
|
-
"
|
|
927
|
-
"
|
|
1058
|
+
{
|
|
1059
|
+
"type": "function",
|
|
1060
|
+
"name": "datediff",
|
|
1061
|
+
"bundle": "core",
|
|
1062
|
+
"sinceVersion": "1.24",
|
|
1063
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
|
|
1064
|
+
"description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
|
|
1065
|
+
"examples": "\n##### Beispiel\n\nSubtracts two DateOnly values and returns the difference in years\n\n```arcade\nvar startDate = DateOnly(1996,11,10);\nvar endDate = DateOnly(); // today's date\nvar age = DateDiff(endDate, startDate, 'years');\nFloor(age); // round down\n// returns 26\n```\n\n",
|
|
1066
|
+
"completion": {
|
|
1067
|
+
"label": "DateDiff",
|
|
1068
|
+
"detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
|
|
1069
|
+
"insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
|
|
1070
|
+
"insertTextMode": 2,
|
|
1071
|
+
"insertTextFormat": 2,
|
|
1072
|
+
"kind": 3,
|
|
1073
|
+
"documentation": {
|
|
1074
|
+
"kind": "markdown",
|
|
1075
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
"parametersInfo": {
|
|
1079
|
+
"min": 2,
|
|
1080
|
+
"max": 3
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"type": "function",
|
|
1085
|
+
"name": "datediff",
|
|
1086
|
+
"bundle": "core",
|
|
1087
|
+
"sinceVersion": "1.24",
|
|
1088
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
|
|
1089
|
+
"description": "Subtracts two Time values, and returns the difference in the specified units.",
|
|
1090
|
+
"examples": "\n##### Beispiel\n\nSubtracts two Time values and returns the difference in hours\n\n```arcade\nDateDiff(Time(23,0), Time(9,0), 'hours')\n// returns 14\n```\n\n",
|
|
1091
|
+
"completion": {
|
|
1092
|
+
"label": "DateDiff",
|
|
1093
|
+
"detail": "DateDiff(time1, time2, units?) -> Number",
|
|
1094
|
+
"insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
|
|
1095
|
+
"insertTextMode": 2,
|
|
1096
|
+
"insertTextFormat": 2,
|
|
1097
|
+
"kind": 3,
|
|
1098
|
+
"documentation": {
|
|
1099
|
+
"kind": "markdown",
|
|
1100
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
"parametersInfo": {
|
|
1104
|
+
"min": 2,
|
|
1105
|
+
"max": 3
|
|
1106
|
+
}
|
|
928
1107
|
}
|
|
929
|
-
|
|
1108
|
+
],
|
|
1109
|
+
[
|
|
1110
|
+
{
|
|
1111
|
+
"type": "function",
|
|
1112
|
+
"name": "dateonly",
|
|
1113
|
+
"bundle": "core",
|
|
1114
|
+
"sinceVersion": "1.24",
|
|
1115
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
|
|
1116
|
+
"description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
|
|
1117
|
+
"examples": "\n##### Beispiel\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
|
|
1118
|
+
"completion": {
|
|
1119
|
+
"label": "DateOnly",
|
|
1120
|
+
"detail": "DateOnly() -> DateOnly",
|
|
1121
|
+
"insertText": "DateOnly($0)",
|
|
1122
|
+
"insertTextMode": 2,
|
|
1123
|
+
"insertTextFormat": 2,
|
|
1124
|
+
"kind": 3,
|
|
1125
|
+
"documentation": {
|
|
1126
|
+
"kind": "markdown",
|
|
1127
|
+
"value": "**[Seit Version 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**Rückgabewert**: DateOnly"
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
"parametersInfo": {
|
|
1131
|
+
"min": 0,
|
|
1132
|
+
"max": 0
|
|
1133
|
+
}
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"type": "function",
|
|
1137
|
+
"name": "dateonly",
|
|
1138
|
+
"bundle": "core",
|
|
1139
|
+
"sinceVersion": "1.24",
|
|
1140
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
|
|
1141
|
+
"description": "Creates a DateOnly value from a given date.",
|
|
1142
|
+
"examples": "\n##### Beispiel\n\nReturns the DateOnly from the given date\n\n```arcade\nDateOnly(Date(2008,10,11,10,30));\n// returns 2008-11-11\n```\n\n",
|
|
1143
|
+
"completion": {
|
|
1144
|
+
"label": "DateOnly",
|
|
1145
|
+
"detail": "DateOnly(dateValue) -> DateOnly",
|
|
1146
|
+
"insertText": "DateOnly(${1:dateValue_})$0",
|
|
1147
|
+
"insertTextMode": 2,
|
|
1148
|
+
"insertTextFormat": 2,
|
|
1149
|
+
"kind": 3,
|
|
1150
|
+
"documentation": {
|
|
1151
|
+
"kind": "markdown",
|
|
1152
|
+
"value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**Rückgabewert**: DateOnly"
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
"parametersInfo": {
|
|
1156
|
+
"min": 1,
|
|
1157
|
+
"max": 1
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"type": "function",
|
|
1162
|
+
"name": "dateonly",
|
|
1163
|
+
"bundle": "core",
|
|
1164
|
+
"sinceVersion": "1.24",
|
|
1165
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
|
|
1166
|
+
"description": "Creates a DateOnly date with the given Unix epoch number.",
|
|
1167
|
+
"examples": "\n##### Beispiel\n\nReturns the DateOnly from the number of milliseconds since January 1, 1970\n\n```arcade\nDateOnly(1476987783555);\n// returns 2016-10-20\n```\n\n",
|
|
1168
|
+
"completion": {
|
|
1169
|
+
"label": "DateOnly",
|
|
1170
|
+
"detail": "DateOnly(epoch) -> DateOnly",
|
|
1171
|
+
"insertText": "DateOnly(${1:epoch_})$0",
|
|
1172
|
+
"insertTextMode": 2,
|
|
1173
|
+
"insertTextFormat": 2,
|
|
1174
|
+
"kind": 3,
|
|
1175
|
+
"documentation": {
|
|
1176
|
+
"kind": "markdown",
|
|
1177
|
+
"value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**Parameter**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Rückgabewert**: DateOnly"
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
"parametersInfo": {
|
|
1181
|
+
"min": 1,
|
|
1182
|
+
"max": 1
|
|
1183
|
+
}
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"type": "function",
|
|
1187
|
+
"name": "dateonly",
|
|
1188
|
+
"bundle": "core",
|
|
1189
|
+
"sinceVersion": "1.24",
|
|
1190
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
|
|
1191
|
+
"description": "Creates a DateOnly value from inputs representing the year, month, and day.",
|
|
1192
|
+
"examples": "\n##### Beispiel\n\nCreates a DateOnly value from inputs representing the year, month, and day\n\n```arcade\nDateOnly(1996, 11, 10)\n// returns 1996-12-10\n```\n\n",
|
|
1193
|
+
"completion": {
|
|
1194
|
+
"label": "DateOnly",
|
|
1195
|
+
"detail": "DateOnly(year, month, day) -> DateOnly",
|
|
1196
|
+
"insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
|
|
1197
|
+
"insertTextMode": 2,
|
|
1198
|
+
"insertTextFormat": 2,
|
|
1199
|
+
"kind": 3,
|
|
1200
|
+
"documentation": {
|
|
1201
|
+
"kind": "markdown",
|
|
1202
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: DateOnly"
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
"parametersInfo": {
|
|
1206
|
+
"min": 3,
|
|
1207
|
+
"max": 3
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"type": "function",
|
|
1212
|
+
"name": "dateonly",
|
|
1213
|
+
"bundle": "core",
|
|
1214
|
+
"sinceVersion": "1.24",
|
|
1215
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
|
|
1216
|
+
"description": "Creates a DateOnly value from a text input representing an ISO formatted date, or another formatted text with an additional input indicating the date's format.",
|
|
1217
|
+
"examples": "\n##### Beispiele\n\nCreates a DateOnly value from a text value representing the date\n\n```arcade\nDateOnly(\"2023-05-11T13:43:18.990+01:00\");\n// returns 2023-05-11\n```\n\nCreates a DateOnly value from a text value representing the date in the given format\n\n```arcade\nDateOnly(\"10 Jan 2022\",\"D MMM Y\")\n// returns 2022-01-10\n```\n\n",
|
|
1218
|
+
"completion": {
|
|
1219
|
+
"label": "DateOnly",
|
|
1220
|
+
"detail": "DateOnly(dateValue, format?) -> DateOnly",
|
|
1221
|
+
"insertText": "DateOnly(${1:dateValue_})$0",
|
|
1222
|
+
"insertTextMode": 2,
|
|
1223
|
+
"insertTextFormat": 2,
|
|
1224
|
+
"kind": 3,
|
|
1225
|
+
"documentation": {
|
|
1226
|
+
"kind": "markdown",
|
|
1227
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: DateOnly"
|
|
1228
|
+
}
|
|
1229
|
+
},
|
|
1230
|
+
"parametersInfo": {
|
|
1231
|
+
"min": 1,
|
|
1232
|
+
"max": 2
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"type": "function",
|
|
1237
|
+
"name": "dateonly",
|
|
1238
|
+
"bundle": "core",
|
|
1239
|
+
"sinceVersion": "1.24",
|
|
1240
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
|
|
1241
|
+
"description": "Creates a copy of a DateOnly value.",
|
|
1242
|
+
"examples": "\n##### Beispiel\n\nCreates a copy of DateOnly value\n\n```arcade\nvar originalDateOnly = DateOnly(1996,11,10)\nvar copiedDateOnly = DateOnly(originalDateOnly)\nreturn copiedDateOnly;\n```\n\n",
|
|
1243
|
+
"completion": {
|
|
1244
|
+
"label": "DateOnly",
|
|
1245
|
+
"detail": "DateOnly(dateOnlyValue) -> DateOnly",
|
|
1246
|
+
"insertText": "DateOnly(${1:dateOnlyValue_})$0",
|
|
1247
|
+
"insertTextMode": 2,
|
|
1248
|
+
"insertTextFormat": 2,
|
|
1249
|
+
"kind": 3,
|
|
1250
|
+
"documentation": {
|
|
1251
|
+
"kind": "markdown",
|
|
1252
|
+
"value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**Parameter**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**Rückgabewert**: DateOnly"
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
"parametersInfo": {
|
|
1256
|
+
"min": 1,
|
|
1257
|
+
"max": 1
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
],
|
|
930
1261
|
{
|
|
931
1262
|
"type": "function",
|
|
932
1263
|
"name": "day",
|
|
933
1264
|
"bundle": "core",
|
|
934
1265
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
|
|
935
1266
|
"description": "Gibt den Tag des Monats des angegebenen Datums zurück.",
|
|
936
|
-
"examples": "\n#####
|
|
1267
|
+
"examples": "\n##### Beispiele\n\nRuft den Tag des Monats des aktuellen Datums ab.\n\n```arcade\nDay(Now())\n```\n\nReturns the day of the month from a DateOnly value\n\n```arcade\nDay(DateOnly(1996, 11, 10))\n// returns 10\n```\n\n",
|
|
937
1268
|
"completion": {
|
|
938
1269
|
"label": "Day",
|
|
939
1270
|
"detail": "Day(dateValue) -> Number",
|
|
@@ -943,7 +1274,7 @@
|
|
|
943
1274
|
"kind": 3,
|
|
944
1275
|
"documentation": {
|
|
945
1276
|
"kind": "markdown",
|
|
946
|
-
"value": "Gibt den Tag des Monats des angegebenen Datums zurück.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Ein Datumswert, aus dem der Tag des Monats abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1277
|
+
"value": "Gibt den Tag des Monats des angegebenen Datums zurück.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Ein Datumswert, aus dem der Tag des Monats abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
947
1278
|
}
|
|
948
1279
|
},
|
|
949
1280
|
"parametersInfo": {
|
|
@@ -951,30 +1282,57 @@
|
|
|
951
1282
|
"max": 1
|
|
952
1283
|
}
|
|
953
1284
|
},
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
"
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
"
|
|
970
|
-
|
|
1285
|
+
[
|
|
1286
|
+
{
|
|
1287
|
+
"type": "function",
|
|
1288
|
+
"name": "hour",
|
|
1289
|
+
"bundle": "core",
|
|
1290
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
|
|
1291
|
+
"description": "Returns the hour of the time in the given date (0-23).",
|
|
1292
|
+
"examples": "\n##### Beispiel\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
|
|
1293
|
+
"completion": {
|
|
1294
|
+
"label": "Hour",
|
|
1295
|
+
"detail": "Hour(dateValue) -> Number",
|
|
1296
|
+
"insertText": "Hour(${1:dateValue_})$0",
|
|
1297
|
+
"insertTextMode": 2,
|
|
1298
|
+
"insertTextFormat": 2,
|
|
1299
|
+
"kind": 3,
|
|
1300
|
+
"documentation": {
|
|
1301
|
+
"kind": "markdown",
|
|
1302
|
+
"value": "Returns the hour of the time in the given date (0-23).\n\n**Parameter**\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**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1303
|
+
}
|
|
1304
|
+
},
|
|
1305
|
+
"parametersInfo": {
|
|
1306
|
+
"min": 1,
|
|
1307
|
+
"max": 1
|
|
971
1308
|
}
|
|
972
1309
|
},
|
|
973
|
-
|
|
974
|
-
"
|
|
975
|
-
"
|
|
1310
|
+
{
|
|
1311
|
+
"type": "function",
|
|
1312
|
+
"name": "hour",
|
|
1313
|
+
"bundle": "core",
|
|
1314
|
+
"sinceVersion": "1.24",
|
|
1315
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
|
|
1316
|
+
"description": "Returns the hour of the given time (0-23).",
|
|
1317
|
+
"examples": "\n##### Beispiel\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
|
|
1318
|
+
"completion": {
|
|
1319
|
+
"label": "Hour",
|
|
1320
|
+
"detail": "Hour(timeValue) -> Number",
|
|
1321
|
+
"insertText": "Hour(${1:timeValue_})$0",
|
|
1322
|
+
"insertTextMode": 2,
|
|
1323
|
+
"insertTextFormat": 2,
|
|
1324
|
+
"kind": 3,
|
|
1325
|
+
"documentation": {
|
|
1326
|
+
"kind": "markdown",
|
|
1327
|
+
"value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**Parameter**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1328
|
+
}
|
|
1329
|
+
},
|
|
1330
|
+
"parametersInfo": {
|
|
1331
|
+
"min": 1,
|
|
1332
|
+
"max": 1
|
|
1333
|
+
}
|
|
976
1334
|
}
|
|
977
|
-
|
|
1335
|
+
],
|
|
978
1336
|
{
|
|
979
1337
|
"type": "function",
|
|
980
1338
|
"name": "isomonth",
|
|
@@ -982,7 +1340,7 @@
|
|
|
982
1340
|
"sinceVersion": "1.12",
|
|
983
1341
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
|
|
984
1342
|
"description": "Gibt den Monat des aktuellen Datums basierend auf dem ISO-Standard 8601 zurück. Die Werte reichen von 1–12, wobei `1` für Januar und `12` für Dezember steht.",
|
|
985
|
-
"examples": "\n#####
|
|
1343
|
+
"examples": "\n##### Beispiele\n\nRuft den Monat des aktuellen Datums basierend auf dem ISO-Standard 8601 ab. Gibt `12` für den Monat Dezember zurück.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\nGets the month of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOMonth(DateOnly(1996, 0, 10))\n// returns 1, for January\n```\n\n",
|
|
986
1344
|
"completion": {
|
|
987
1345
|
"label": "ISOMonth",
|
|
988
1346
|
"detail": "ISOMonth(dateValue) -> Number",
|
|
@@ -992,7 +1350,7 @@
|
|
|
992
1350
|
"kind": 3,
|
|
993
1351
|
"documentation": {
|
|
994
1352
|
"kind": "markdown",
|
|
995
|
-
"value": "**[Seit Version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGibt den Monat des aktuellen Datums basierend auf dem ISO-Standard 8601 zurück. Die Werte reichen von 1–12, wobei `1` für Januar und `12` für Dezember steht.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Ein Datumswert, aus dem der Monat abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1353
|
+
"value": "**[Seit Version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGibt den Monat des aktuellen Datums basierend auf dem ISO-Standard 8601 zurück. Die Werte reichen von 1–12, wobei `1` für Januar und `12` für Dezember steht.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Ein Datumswert, aus dem der Monat abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
996
1354
|
}
|
|
997
1355
|
},
|
|
998
1356
|
"parametersInfo": {
|
|
@@ -1007,7 +1365,7 @@
|
|
|
1007
1365
|
"sinceVersion": "1.12",
|
|
1008
1366
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
|
|
1009
1367
|
"description": "Gibt die Kalenderwoche des aktuellen Datums basierend auf der Kalenderangabe für Wochendatum gemäß ISO-Standard 8601 zurück. Die Werte reichen von 1–53, wobei `1` für die erste Woche im Jahr steht und `52` bzw. `53` (je nach Jahr) für die letzte Woche im Jahr.",
|
|
1010
|
-
"examples": "\n#####
|
|
1368
|
+
"examples": "\n##### Beispiele\n\nRuft die Woche des aktuellen Datums basierend auf dem ISO-Standard 8601 ab. Gibt `1` zurück, da dieses Datum in der ersten Woche des Folgejahres liegt.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\nGets the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeek(DateOnly(1996, 11, 10))\n// returns 50\n```\n\n",
|
|
1011
1369
|
"completion": {
|
|
1012
1370
|
"label": "ISOWeek",
|
|
1013
1371
|
"detail": "ISOWeek(dateValue) -> Number",
|
|
@@ -1017,7 +1375,7 @@
|
|
|
1017
1375
|
"kind": 3,
|
|
1018
1376
|
"documentation": {
|
|
1019
1377
|
"kind": "markdown",
|
|
1020
|
-
"value": "**[Seit Version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGibt die Kalenderwoche des aktuellen Datums basierend auf der Kalenderangabe für Wochendatum gemäß ISO-Standard 8601 zurück. Die Werte reichen von 1–53, wobei `1` für die erste Woche im Jahr steht und `52` bzw. `53` (je nach Jahr) für die letzte Woche im Jahr.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Ein Datumswert, aus dem die Woche abgerufen wird.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1378
|
+
"value": "**[Seit Version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGibt die Kalenderwoche des aktuellen Datums basierend auf der Kalenderangabe für Wochendatum gemäß ISO-Standard 8601 zurück. Die Werte reichen von 1–53, wobei `1` für die erste Woche im Jahr steht und `52` bzw. `53` (je nach Jahr) für die letzte Woche im Jahr.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Ein Datumswert, aus dem die Woche abgerufen wird.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1021
1379
|
}
|
|
1022
1380
|
},
|
|
1023
1381
|
"parametersInfo": {
|
|
@@ -1032,7 +1390,7 @@
|
|
|
1032
1390
|
"sinceVersion": "1.12",
|
|
1033
1391
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
|
|
1034
1392
|
"description": "Gibt den Wochentag des aktuellen Datums basierend auf dem ISO-Standard 8601 zurück. Die Werte reichen von 1–7, wobei `1` für Montag und `7` für Sonntag steht.",
|
|
1035
|
-
"examples": "\n#####
|
|
1393
|
+
"examples": "\n##### Beispiele\n\nGibt den Wochentag des aktuellen Datums basierend auf dem ISO-Standard 8601 zurück. Gibt `3` für Mittwoch zurück.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
|
|
1036
1394
|
"completion": {
|
|
1037
1395
|
"label": "ISOWeekday",
|
|
1038
1396
|
"detail": "ISOWeekday(dateValue) -> Number",
|
|
@@ -1042,7 +1400,7 @@
|
|
|
1042
1400
|
"kind": 3,
|
|
1043
1401
|
"documentation": {
|
|
1044
1402
|
"kind": "markdown",
|
|
1045
|
-
"value": "**[Seit Version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGibt den Wochentag des aktuellen Datums basierend auf dem ISO-Standard 8601 zurück. Die Werte reichen von 1–7, wobei `1` für Montag und `7` für Sonntag steht.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Ein Datumswert, über den der Wochentag abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1403
|
+
"value": "**[Seit Version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGibt den Wochentag des aktuellen Datums basierend auf dem ISO-Standard 8601 zurück. Die Werte reichen von 1–7, wobei `1` für Montag und `7` für Sonntag steht.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Ein Datumswert, über den der Wochentag abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1046
1404
|
}
|
|
1047
1405
|
},
|
|
1048
1406
|
"parametersInfo": {
|
|
@@ -1057,65 +1415,17 @@
|
|
|
1057
1415
|
"sinceVersion": "1.12",
|
|
1058
1416
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
|
|
1059
1417
|
"description": "Gibt das Jahr des aktuellen Datums basierend auf der Kalenderangabe für Wochendatum gemäß ISO-Standard 8601 zurück.",
|
|
1060
|
-
"examples": "\n#####
|
|
1418
|
+
"examples": "\n##### Beispiele\n\nRuft das Jahr des aktuellen Datums basierend auf der Kalenderangabe für Wochendatum gemäß ISO-Standard 8601 zurück. Gibt `1981` zurück, da dieses Datum in der ersten Woche des Folgejahres liegt.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\nGets the year of the given DateOnly value, based on the ISO 8601 week date calendar.\n\n```arcade\nISOYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
|
|
1061
1419
|
"completion": {
|
|
1062
1420
|
"label": "ISOYear",
|
|
1063
|
-
"detail": "ISOYear(dateValue) -> Number",
|
|
1064
|
-
"insertText": "ISOYear(${1:dateValue_})$0",
|
|
1065
|
-
"insertTextMode": 2,
|
|
1066
|
-
"insertTextFormat": 2,
|
|
1067
|
-
"kind": 3,
|
|
1068
|
-
"documentation": {
|
|
1069
|
-
"kind": "markdown",
|
|
1070
|
-
"value": "**[Seit Version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGibt das Jahr des aktuellen Datums basierend auf der Kalenderangabe für Wochendatum gemäß ISO-Standard 8601 zurück.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Ein Datumswert, aus dem das Jahr abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1071
|
-
}
|
|
1072
|
-
},
|
|
1073
|
-
"parametersInfo": {
|
|
1074
|
-
"min": 1,
|
|
1075
|
-
"max": 1
|
|
1076
|
-
}
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
"type": "function",
|
|
1080
|
-
"name": "millisecond",
|
|
1081
|
-
"bundle": "core",
|
|
1082
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
|
|
1083
|
-
"description": "Gibt die Stunde der Uhrzeit in Millisekunden zurück.",
|
|
1084
|
-
"examples": "\n##### Beispiel\n\nRuft die Millisekunden der aktuellen Uhrzeit ab.\n\n```arcade\nMillisecond(Now())\n```\n\n",
|
|
1085
|
-
"completion": {
|
|
1086
|
-
"label": "Millisecond",
|
|
1087
|
-
"detail": "Millisecond(dateValue) -> Number",
|
|
1088
|
-
"insertText": "Millisecond(${1:dateValue_})$0",
|
|
1089
|
-
"insertTextMode": 2,
|
|
1090
|
-
"insertTextFormat": 2,
|
|
1091
|
-
"kind": 3,
|
|
1092
|
-
"documentation": {
|
|
1093
|
-
"kind": "markdown",
|
|
1094
|
-
"value": "Gibt die Stunde der Uhrzeit in Millisekunden zurück.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Ein Datumswert, aus dem die Millisekunde der Uhrzeit abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1095
|
-
}
|
|
1096
|
-
},
|
|
1097
|
-
"parametersInfo": {
|
|
1098
|
-
"min": 1,
|
|
1099
|
-
"max": 1
|
|
1100
|
-
}
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"type": "function",
|
|
1104
|
-
"name": "minute",
|
|
1105
|
-
"bundle": "core",
|
|
1106
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
|
|
1107
|
-
"description": "Gibt die Minute der Uhrzeit im angegebenen Datum zurück.",
|
|
1108
|
-
"examples": "\n##### Beispiel\n\nRuft die Minute der aktuellen Uhrzeit ab.\n\n```arcade\nMinute(Now())\n```\n\n",
|
|
1109
|
-
"completion": {
|
|
1110
|
-
"label": "Minute",
|
|
1111
|
-
"detail": "Minute(dateValue) -> Number",
|
|
1112
|
-
"insertText": "Minute(${1:dateValue_})$0",
|
|
1421
|
+
"detail": "ISOYear(dateValue) -> Number",
|
|
1422
|
+
"insertText": "ISOYear(${1:dateValue_})$0",
|
|
1113
1423
|
"insertTextMode": 2,
|
|
1114
1424
|
"insertTextFormat": 2,
|
|
1115
1425
|
"kind": 3,
|
|
1116
1426
|
"documentation": {
|
|
1117
1427
|
"kind": "markdown",
|
|
1118
|
-
"value": "
|
|
1428
|
+
"value": "**[Seit Version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGibt das Jahr des aktuellen Datums basierend auf der Kalenderangabe für Wochendatum gemäß ISO-Standard 8601 zurück.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Ein Datumswert, aus dem das Jahr abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1119
1429
|
}
|
|
1120
1430
|
},
|
|
1121
1431
|
"parametersInfo": {
|
|
@@ -1123,13 +1433,115 @@
|
|
|
1123
1433
|
"max": 1
|
|
1124
1434
|
}
|
|
1125
1435
|
},
|
|
1436
|
+
[
|
|
1437
|
+
{
|
|
1438
|
+
"type": "function",
|
|
1439
|
+
"name": "millisecond",
|
|
1440
|
+
"bundle": "core",
|
|
1441
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
|
|
1442
|
+
"description": "Returns the millisecond of the time in the date.",
|
|
1443
|
+
"examples": "\n##### Beispiel\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
|
|
1444
|
+
"completion": {
|
|
1445
|
+
"label": "Millisecond",
|
|
1446
|
+
"detail": "Millisecond(dateValue) -> Number",
|
|
1447
|
+
"insertText": "Millisecond(${1:dateValue_})$0",
|
|
1448
|
+
"insertTextMode": 2,
|
|
1449
|
+
"insertTextFormat": 2,
|
|
1450
|
+
"kind": 3,
|
|
1451
|
+
"documentation": {
|
|
1452
|
+
"kind": "markdown",
|
|
1453
|
+
"value": "Returns the millisecond of the time in the date.\n\n**Parameter**\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**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
"parametersInfo": {
|
|
1457
|
+
"min": 1,
|
|
1458
|
+
"max": 1
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"type": "function",
|
|
1463
|
+
"name": "millisecond",
|
|
1464
|
+
"bundle": "core",
|
|
1465
|
+
"sinceVersion": "1.24",
|
|
1466
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
|
|
1467
|
+
"description": "Returns the millisecond of the given time.",
|
|
1468
|
+
"examples": "\n##### Beispiel\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
|
|
1469
|
+
"completion": {
|
|
1470
|
+
"label": "Millisecond",
|
|
1471
|
+
"detail": "Millisecond(timeValue) -> Number",
|
|
1472
|
+
"insertText": "Millisecond(${1:timeValue_})$0",
|
|
1473
|
+
"insertTextMode": 2,
|
|
1474
|
+
"insertTextFormat": 2,
|
|
1475
|
+
"kind": 3,
|
|
1476
|
+
"documentation": {
|
|
1477
|
+
"kind": "markdown",
|
|
1478
|
+
"value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**Parameter**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
"parametersInfo": {
|
|
1482
|
+
"min": 1,
|
|
1483
|
+
"max": 1
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
],
|
|
1487
|
+
[
|
|
1488
|
+
{
|
|
1489
|
+
"type": "function",
|
|
1490
|
+
"name": "minute",
|
|
1491
|
+
"bundle": "core",
|
|
1492
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
|
|
1493
|
+
"description": "Returns the minute of the time in the given date.",
|
|
1494
|
+
"examples": "\n##### Beispiel\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
|
|
1495
|
+
"completion": {
|
|
1496
|
+
"label": "Minute",
|
|
1497
|
+
"detail": "Minute(dateValue) -> Number",
|
|
1498
|
+
"insertText": "Minute(${1:dateValue_})$0",
|
|
1499
|
+
"insertTextMode": 2,
|
|
1500
|
+
"insertTextFormat": 2,
|
|
1501
|
+
"kind": 3,
|
|
1502
|
+
"documentation": {
|
|
1503
|
+
"kind": "markdown",
|
|
1504
|
+
"value": "Returns the minute of the time in the given date.\n\n**Parameter**\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**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
"parametersInfo": {
|
|
1508
|
+
"min": 1,
|
|
1509
|
+
"max": 1
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"type": "function",
|
|
1514
|
+
"name": "minute",
|
|
1515
|
+
"bundle": "core",
|
|
1516
|
+
"sinceVersion": "1.24",
|
|
1517
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
|
|
1518
|
+
"description": "Returns the minute of the given time.",
|
|
1519
|
+
"examples": "\n##### Beispiel\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
|
|
1520
|
+
"completion": {
|
|
1521
|
+
"label": "Minute",
|
|
1522
|
+
"detail": "Minute(timeValue) -> Number",
|
|
1523
|
+
"insertText": "Minute(${1:timeValue_})$0",
|
|
1524
|
+
"insertTextMode": 2,
|
|
1525
|
+
"insertTextFormat": 2,
|
|
1526
|
+
"kind": 3,
|
|
1527
|
+
"documentation": {
|
|
1528
|
+
"kind": "markdown",
|
|
1529
|
+
"value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**Parameter**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
"parametersInfo": {
|
|
1533
|
+
"min": 1,
|
|
1534
|
+
"max": 1
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
],
|
|
1126
1538
|
{
|
|
1127
1539
|
"type": "function",
|
|
1128
1540
|
"name": "month",
|
|
1129
1541
|
"bundle": "core",
|
|
1130
1542
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
|
|
1131
1543
|
"description": "Gibt den Monat des angegebenen Datums zurück. Die Werte reichen von 0–11, wobei `0` für Januar und `11` für Dezember steht.",
|
|
1132
|
-
"examples": "\n#####
|
|
1544
|
+
"examples": "\n##### Beispiele\n\nRuft den Monat des angegebenen Datums ab. Gibt 11 für den Monat Dezember zurück.\n\n```arcade\nMonth(Date(1980, 11, 31))\n// returns 11\n```\n\nGets the month of the given DateOnly value.\n\n```arcade\nMonth(DateOnly(1996, 0, 31))\n// returns 0, for the month of January\n```\n\n",
|
|
1133
1545
|
"completion": {
|
|
1134
1546
|
"label": "Month",
|
|
1135
1547
|
"detail": "Month(dateValue) -> Number",
|
|
@@ -1139,7 +1551,7 @@
|
|
|
1139
1551
|
"kind": 3,
|
|
1140
1552
|
"documentation": {
|
|
1141
1553
|
"kind": "markdown",
|
|
1142
|
-
"value": "Gibt den Monat des angegebenen Datums zurück. Die Werte reichen von 0–11, wobei `0` für Januar und `11` für Dezember steht.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Ein Datumswert, aus dem der Monat abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1554
|
+
"value": "Gibt den Monat des angegebenen Datums zurück. Die Werte reichen von 0–11, wobei `0` für Januar und `11` für Dezember steht.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Ein Datumswert, aus dem der Monat abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1143
1555
|
}
|
|
1144
1556
|
},
|
|
1145
1557
|
"parametersInfo": {
|
|
@@ -1171,23 +1583,227 @@
|
|
|
1171
1583
|
"max": 0
|
|
1172
1584
|
}
|
|
1173
1585
|
},
|
|
1586
|
+
[
|
|
1587
|
+
{
|
|
1588
|
+
"type": "function",
|
|
1589
|
+
"name": "second",
|
|
1590
|
+
"bundle": "core",
|
|
1591
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
|
|
1592
|
+
"description": "Returns the second of the time in the date.",
|
|
1593
|
+
"examples": "\n##### Beispiel\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
|
|
1594
|
+
"completion": {
|
|
1595
|
+
"label": "Second",
|
|
1596
|
+
"detail": "Second(dateValue) -> Number",
|
|
1597
|
+
"insertText": "Second(${1:dateValue_})$0",
|
|
1598
|
+
"insertTextMode": 2,
|
|
1599
|
+
"insertTextFormat": 2,
|
|
1600
|
+
"kind": 3,
|
|
1601
|
+
"documentation": {
|
|
1602
|
+
"kind": "markdown",
|
|
1603
|
+
"value": "Returns the second of the time in the date.\n\n**Parameter**\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**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
"parametersInfo": {
|
|
1607
|
+
"min": 1,
|
|
1608
|
+
"max": 1
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"type": "function",
|
|
1613
|
+
"name": "second",
|
|
1614
|
+
"bundle": "core",
|
|
1615
|
+
"sinceVersion": "1.24",
|
|
1616
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
|
|
1617
|
+
"description": "Returns the second of the given time.",
|
|
1618
|
+
"examples": "\n##### Beispiel\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
|
|
1619
|
+
"completion": {
|
|
1620
|
+
"label": "Second",
|
|
1621
|
+
"detail": "Second(timeValue) -> Number",
|
|
1622
|
+
"insertText": "Second(${1:timeValue_})$0",
|
|
1623
|
+
"insertTextMode": 2,
|
|
1624
|
+
"insertTextFormat": 2,
|
|
1625
|
+
"kind": 3,
|
|
1626
|
+
"documentation": {
|
|
1627
|
+
"kind": "markdown",
|
|
1628
|
+
"value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**Parameter**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
"parametersInfo": {
|
|
1632
|
+
"min": 1,
|
|
1633
|
+
"max": 1
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
],
|
|
1637
|
+
[
|
|
1638
|
+
{
|
|
1639
|
+
"type": "function",
|
|
1640
|
+
"name": "time",
|
|
1641
|
+
"bundle": "core",
|
|
1642
|
+
"sinceVersion": "1.24",
|
|
1643
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
|
|
1644
|
+
"description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
|
|
1645
|
+
"examples": "\n##### Beispiel\n\nReturns the current time displayed using the profile's default time zone\n\n```arcade\n// Time represents 12:41:20 PM\nTime()\n```\n\n",
|
|
1646
|
+
"completion": {
|
|
1647
|
+
"label": "Time",
|
|
1648
|
+
"detail": "Time() -> Time",
|
|
1649
|
+
"insertText": "Time($0)",
|
|
1650
|
+
"insertTextMode": 2,
|
|
1651
|
+
"insertTextFormat": 2,
|
|
1652
|
+
"kind": 3,
|
|
1653
|
+
"documentation": {
|
|
1654
|
+
"kind": "markdown",
|
|
1655
|
+
"value": "**[Seit Version 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**Rückgabewert**: Time"
|
|
1656
|
+
}
|
|
1657
|
+
},
|
|
1658
|
+
"parametersInfo": {
|
|
1659
|
+
"min": 0,
|
|
1660
|
+
"max": 0
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
"type": "function",
|
|
1665
|
+
"name": "time",
|
|
1666
|
+
"bundle": "core",
|
|
1667
|
+
"sinceVersion": "1.24",
|
|
1668
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
|
|
1669
|
+
"description": "Creates a Time value from a given date.",
|
|
1670
|
+
"examples": "\n##### Beispiel\n\nReturns the Time from the given date\n\n```arcade\nTime(Date(2008,10,11,10,30));\n// returns a Time value of 10:30:00 AM\n```\n\n",
|
|
1671
|
+
"completion": {
|
|
1672
|
+
"label": "Time",
|
|
1673
|
+
"detail": "Time(dateValue) -> Time",
|
|
1674
|
+
"insertText": "Time(${1:dateValue_})$0",
|
|
1675
|
+
"insertTextMode": 2,
|
|
1676
|
+
"insertTextFormat": 2,
|
|
1677
|
+
"kind": 3,
|
|
1678
|
+
"documentation": {
|
|
1679
|
+
"kind": "markdown",
|
|
1680
|
+
"value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**Rückgabewert**: Time"
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
"parametersInfo": {
|
|
1684
|
+
"min": 1,
|
|
1685
|
+
"max": 1
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"type": "function",
|
|
1690
|
+
"name": "time",
|
|
1691
|
+
"bundle": "core",
|
|
1692
|
+
"sinceVersion": "1.24",
|
|
1693
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
|
|
1694
|
+
"description": "Creates a Time value from a given number representing milliseconds since midnight. If the input value is larger than 86,400,000 (the maximum number of milliseconds in a day) or less than 0, the function will return `null`.",
|
|
1695
|
+
"examples": "\n##### Beispiele\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(8119800);\n// returns a Time value of 02:15:19.800\n```\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(86400001);\n// returns null - the input value exceeds the number of milliseconds in a day\n```\n\n",
|
|
1696
|
+
"completion": {
|
|
1697
|
+
"label": "Time",
|
|
1698
|
+
"detail": "Time(numValue) -> Time",
|
|
1699
|
+
"insertText": "Time(${1:numValue_})$0",
|
|
1700
|
+
"insertTextMode": 2,
|
|
1701
|
+
"insertTextFormat": 2,
|
|
1702
|
+
"kind": 3,
|
|
1703
|
+
"documentation": {
|
|
1704
|
+
"kind": "markdown",
|
|
1705
|
+
"value": "**[Seit Version 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**Parameter**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**Rückgabewert**: Time"
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
"parametersInfo": {
|
|
1709
|
+
"min": 1,
|
|
1710
|
+
"max": 1
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
"type": "function",
|
|
1715
|
+
"name": "time",
|
|
1716
|
+
"bundle": "core",
|
|
1717
|
+
"sinceVersion": "1.24",
|
|
1718
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
|
|
1719
|
+
"description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
|
|
1720
|
+
"examples": "\n##### Beispiel\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds\n\n```arcade\nTime(13, 20);\n// returns a Time value of 13:20:00\n \nTime(2, 59, 23)\n// returns a Time value of 02:59:23\n \nTime(15, 47, 0, 474)\n// returns a Time value of 15:47:00.474\n```\n\n",
|
|
1721
|
+
"completion": {
|
|
1722
|
+
"label": "Time",
|
|
1723
|
+
"detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
|
|
1724
|
+
"insertText": "Time(${1:hours_}, ${2:minutes_})$0",
|
|
1725
|
+
"insertTextMode": 2,
|
|
1726
|
+
"insertTextFormat": 2,
|
|
1727
|
+
"kind": 3,
|
|
1728
|
+
"documentation": {
|
|
1729
|
+
"kind": "markdown",
|
|
1730
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: Time"
|
|
1731
|
+
}
|
|
1732
|
+
},
|
|
1733
|
+
"parametersInfo": {
|
|
1734
|
+
"min": 2,
|
|
1735
|
+
"max": 4
|
|
1736
|
+
}
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
"type": "function",
|
|
1740
|
+
"name": "time",
|
|
1741
|
+
"bundle": "core",
|
|
1742
|
+
"sinceVersion": "1.24",
|
|
1743
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
|
|
1744
|
+
"description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
|
|
1745
|
+
"examples": "\n##### Beispiele\n\nCreates a Time value from a text value representing the time\n\n```arcade\nTime(\"1:20 PM\");\n// returns a Time value of 13:20:00\n```\n\nCreates a Time value from a text value representing the time and formatting\n\n```arcade\nTime(\"12 05 04\", \"HH MM ss\")\n// returns a Time value of 12:05:04\n```\n\n",
|
|
1746
|
+
"completion": {
|
|
1747
|
+
"label": "Time",
|
|
1748
|
+
"detail": "Time(timeValue, format?) -> Time",
|
|
1749
|
+
"insertText": "Time(${1:timeValue_})$0",
|
|
1750
|
+
"insertTextMode": 2,
|
|
1751
|
+
"insertTextFormat": 2,
|
|
1752
|
+
"kind": 3,
|
|
1753
|
+
"documentation": {
|
|
1754
|
+
"kind": "markdown",
|
|
1755
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: Time"
|
|
1756
|
+
}
|
|
1757
|
+
},
|
|
1758
|
+
"parametersInfo": {
|
|
1759
|
+
"min": 1,
|
|
1760
|
+
"max": 2
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
],
|
|
1764
|
+
{
|
|
1765
|
+
"type": "function",
|
|
1766
|
+
"name": "timestamp",
|
|
1767
|
+
"bundle": "core",
|
|
1768
|
+
"sinceVersion": "1.1",
|
|
1769
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
|
|
1770
|
+
"description": "Erstellt einen Datumswert, der das aktuelle Datum und die aktuelle Uhrzeit in UTC darstellt.",
|
|
1771
|
+
"examples": "\n##### Beispiel\n\nErstellt ein Datum in UTC-Zeit\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
|
|
1772
|
+
"completion": {
|
|
1773
|
+
"label": "Timestamp",
|
|
1774
|
+
"detail": "Timestamp() -> Date",
|
|
1775
|
+
"insertText": "Timestamp($0)",
|
|
1776
|
+
"insertTextMode": 2,
|
|
1777
|
+
"insertTextFormat": 2,
|
|
1778
|
+
"kind": 3,
|
|
1779
|
+
"documentation": {
|
|
1780
|
+
"kind": "markdown",
|
|
1781
|
+
"value": "**[Seit Version 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nErstellt einen Datumswert, der das aktuelle Datum und die aktuelle Uhrzeit in UTC darstellt.\n\n**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
"parametersInfo": {
|
|
1785
|
+
"min": 0,
|
|
1786
|
+
"max": 0
|
|
1787
|
+
}
|
|
1788
|
+
},
|
|
1174
1789
|
{
|
|
1175
1790
|
"type": "function",
|
|
1176
|
-
"name": "
|
|
1791
|
+
"name": "timezone",
|
|
1177
1792
|
"bundle": "core",
|
|
1178
|
-
"
|
|
1179
|
-
"
|
|
1180
|
-
"
|
|
1793
|
+
"sinceVersion": "1.24",
|
|
1794
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
1795
|
+
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (i.e. `America/New_York`)\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n- `system` - time zone will be based on the client or system's local time zone \n- `UTC`\n- `unknown`\n",
|
|
1796
|
+
"examples": "\n##### Beispiel\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
|
|
1181
1797
|
"completion": {
|
|
1182
|
-
"label": "
|
|
1183
|
-
"detail": "
|
|
1184
|
-
"insertText": "
|
|
1798
|
+
"label": "TimeZone",
|
|
1799
|
+
"detail": "TimeZone(dateValue) -> Text",
|
|
1800
|
+
"insertText": "TimeZone(${1:dateValue_})$0",
|
|
1185
1801
|
"insertTextMode": 2,
|
|
1186
1802
|
"insertTextFormat": 2,
|
|
1187
1803
|
"kind": 3,
|
|
1188
1804
|
"documentation": {
|
|
1189
1805
|
"kind": "markdown",
|
|
1190
|
-
"value": "
|
|
1806
|
+
"value": "**[Seit Version 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**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Rückgabewert**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1191
1807
|
}
|
|
1192
1808
|
},
|
|
1193
1809
|
"parametersInfo": {
|
|
@@ -1197,27 +1813,27 @@
|
|
|
1197
1813
|
},
|
|
1198
1814
|
{
|
|
1199
1815
|
"type": "function",
|
|
1200
|
-
"name": "
|
|
1816
|
+
"name": "timezoneoffset",
|
|
1201
1817
|
"bundle": "core",
|
|
1202
|
-
"sinceVersion": "1.
|
|
1203
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
1204
|
-
"description": "
|
|
1205
|
-
"examples": "\n##### Beispiel\n\
|
|
1818
|
+
"sinceVersion": "1.24",
|
|
1819
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
|
|
1820
|
+
"description": "Returns the time zone offset in minutes from UTC for the given Date.",
|
|
1821
|
+
"examples": "\n##### Beispiel\n\nReturns the time zone offset in minutes from UTC\n\n```arcade\nvar inputDate = Date(2011, 10, 11, 8, 0, 0, 0, \"America/New_York\")\nTimeZoneOffset(inputDate);\n// returns -18000000\n```\n\n",
|
|
1206
1822
|
"completion": {
|
|
1207
|
-
"label": "
|
|
1208
|
-
"detail": "
|
|
1209
|
-
"insertText": "
|
|
1823
|
+
"label": "TimeZoneOffset",
|
|
1824
|
+
"detail": "TimeZoneOffset(dateValue) -> Number",
|
|
1825
|
+
"insertText": "TimeZoneOffset(${1:dateValue_})$0",
|
|
1210
1826
|
"insertTextMode": 2,
|
|
1211
1827
|
"insertTextFormat": 2,
|
|
1212
1828
|
"kind": 3,
|
|
1213
1829
|
"documentation": {
|
|
1214
1830
|
"kind": "markdown",
|
|
1215
|
-
"value": "**[Seit Version 1.
|
|
1831
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1216
1832
|
}
|
|
1217
1833
|
},
|
|
1218
1834
|
"parametersInfo": {
|
|
1219
|
-
"min":
|
|
1220
|
-
"max":
|
|
1835
|
+
"min": 1,
|
|
1836
|
+
"max": 1
|
|
1221
1837
|
}
|
|
1222
1838
|
},
|
|
1223
1839
|
{
|
|
@@ -1301,7 +1917,7 @@
|
|
|
1301
1917
|
"sinceVersion": "1.14",
|
|
1302
1918
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
|
|
1303
1919
|
"description": "Gibt die Wochenzahl im Jahr des angegebenen Datums zurück. Die Werte reichen von 0–53, wobei `0` für die erste Woche im Jahr steht und `51`, `52` bzw. `53` (in Schaltjahren) für die letzte Woche im Jahr. Die erste und letzte Woche haben möglicherweise weniger als sieben Tage.",
|
|
1304
|
-
"examples": "\n##### Beispiele\n\nStandardbeginn der Woche verwenden (Sonntag)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nWochenbeginn auf Donnerstag setzen\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nWochenbeginn auf Freitag setzen\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\n",
|
|
1920
|
+
"examples": "\n##### Beispiele\n\nStandardbeginn der Woche verwenden (Sonntag)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nWochenbeginn auf Donnerstag setzen\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nWochenbeginn auf Freitag setzen\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\nReturns the week from the DateOnly value\n\n```arcade\nWeek(DateOnly(1996, 11, 10))\n// returns 49\n```\n\n",
|
|
1305
1921
|
"completion": {
|
|
1306
1922
|
"label": "Week",
|
|
1307
1923
|
"detail": "Week(dateValue, startDay?) -> Number",
|
|
@@ -1311,7 +1927,7 @@
|
|
|
1311
1927
|
"kind": 3,
|
|
1312
1928
|
"documentation": {
|
|
1313
1929
|
"kind": "markdown",
|
|
1314
|
-
"value": "**[Seit Version 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGibt die Wochenzahl im Jahr des angegebenen Datums zurück. Die Werte reichen von 0–53, wobei `0` für die erste Woche im Jahr steht und `51`, `52` bzw. `53` (in Schaltjahren) für die letzte Woche im Jahr. Die erste und letzte Woche haben möglicherweise weniger als sieben Tage.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Ein Datumswert, aus dem die Woche abgerufen wird.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Eine Zahl, die für den Starttag der Woche steht. Sonntag = 0; Montag = 1; Dienstag = 2; Mittwoch = 3; Donnerstag = 4; Freitag = 5; Samstag = 6. Der Standardwert ist \\\"0\\\" (Sonntag).\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1930
|
+
"value": "**[Seit Version 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGibt die Wochenzahl im Jahr des angegebenen Datums zurück. Die Werte reichen von 0–53, wobei `0` für die erste Woche im Jahr steht und `51`, `52` bzw. `53` (in Schaltjahren) für die letzte Woche im Jahr. Die erste und letzte Woche haben möglicherweise weniger als sieben Tage.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Ein Datumswert, aus dem die Woche abgerufen wird.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Eine Zahl, die für den Starttag der Woche steht. Sonntag = 0; Montag = 1; Dienstag = 2; Mittwoch = 3; Donnerstag = 4; Freitag = 5; Samstag = 6. Der Standardwert ist \\\"0\\\" (Sonntag).\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1315
1931
|
}
|
|
1316
1932
|
},
|
|
1317
1933
|
"parametersInfo": {
|
|
@@ -1325,7 +1941,7 @@
|
|
|
1325
1941
|
"bundle": "core",
|
|
1326
1942
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
|
|
1327
1943
|
"description": "Gibt den Wochentag des angegebenen Datums zurück. Die Werte reichen von 0–6, wobei `0` für Sonntag und `6` für Samstag steht.",
|
|
1328
|
-
"examples": "\n#####
|
|
1944
|
+
"examples": "\n##### Beispiele\n\nGibt den Wochentag des angegebenen Datums zurück. Gibt `3` für Mittwoch zurück.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value.\n\n```arcade\nWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
|
|
1329
1945
|
"completion": {
|
|
1330
1946
|
"label": "Weekday",
|
|
1331
1947
|
"detail": "Weekday(dateValue) -> Number",
|
|
@@ -1335,7 +1951,7 @@
|
|
|
1335
1951
|
"kind": 3,
|
|
1336
1952
|
"documentation": {
|
|
1337
1953
|
"kind": "markdown",
|
|
1338
|
-
"value": "Gibt den Wochentag des angegebenen Datums zurück. Die Werte reichen von 0–6, wobei `0` für Sonntag und `6` für Samstag steht.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Ein Datumswert, über den der Wochentag abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1954
|
+
"value": "Gibt den Wochentag des angegebenen Datums zurück. Die Werte reichen von 0–6, wobei `0` für Sonntag und `6` für Samstag steht.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Ein Datumswert, über den der Wochentag abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1339
1955
|
}
|
|
1340
1956
|
},
|
|
1341
1957
|
"parametersInfo": {
|
|
@@ -1349,7 +1965,7 @@
|
|
|
1349
1965
|
"bundle": "core",
|
|
1350
1966
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
|
|
1351
1967
|
"description": "Gibt das Jahr des angegebenen Datums zurück.",
|
|
1352
|
-
"examples": "\n#####
|
|
1968
|
+
"examples": "\n##### Beispiele\n\nRuft das Jahr des aktuellen Datums ab.\n\n```arcade\nYear(Now())\n```\n\nGets the year of the given DateOnly value\n\n```arcade\nYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
|
|
1353
1969
|
"completion": {
|
|
1354
1970
|
"label": "Year",
|
|
1355
1971
|
"detail": "Year(dateValue) -> Number",
|
|
@@ -1359,7 +1975,7 @@
|
|
|
1359
1975
|
"kind": 3,
|
|
1360
1976
|
"documentation": {
|
|
1361
1977
|
"kind": "markdown",
|
|
1362
|
-
"value": "Gibt das Jahr des angegebenen Datums zurück.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Ein Datumswert, aus dem das Jahr abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1978
|
+
"value": "Gibt das Jahr des angegebenen Datums zurück.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Ein Datumswert, aus dem das Jahr abgerufen werden soll.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1363
1979
|
}
|
|
1364
1980
|
},
|
|
1365
1981
|
"parametersInfo": {
|
|
@@ -2445,6 +3061,31 @@
|
|
|
2445
3061
|
"max": 4
|
|
2446
3062
|
}
|
|
2447
3063
|
},
|
|
3064
|
+
{
|
|
3065
|
+
"type": "function",
|
|
3066
|
+
"name": "featuresetbyrelationshipclass",
|
|
3067
|
+
"bundle": "data-access",
|
|
3068
|
+
"sinceVersion": "1.24",
|
|
3069
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
3070
|
+
"description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
|
|
3071
|
+
"examples": "\n##### Beispiel\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",
|
|
3072
|
+
"completion": {
|
|
3073
|
+
"label": "FeatureSetByRelationshipClass",
|
|
3074
|
+
"detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
|
|
3075
|
+
"insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
|
|
3076
|
+
"insertTextMode": 2,
|
|
3077
|
+
"insertTextFormat": 2,
|
|
3078
|
+
"kind": 3,
|
|
3079
|
+
"documentation": {
|
|
3080
|
+
"kind": "markdown",
|
|
3081
|
+
"value": "**[Seit Version 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**Parameter**\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)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 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**Rückgabewert**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
3082
|
+
}
|
|
3083
|
+
},
|
|
3084
|
+
"parametersInfo": {
|
|
3085
|
+
"min": 2,
|
|
3086
|
+
"max": 4
|
|
3087
|
+
}
|
|
3088
|
+
},
|
|
2448
3089
|
{
|
|
2449
3090
|
"type": "function",
|
|
2450
3091
|
"name": "featuresetbyrelationshipname",
|
|
@@ -4728,6 +5369,31 @@
|
|
|
4728
5369
|
"max": 2
|
|
4729
5370
|
}
|
|
4730
5371
|
},
|
|
5372
|
+
{
|
|
5373
|
+
"type": "function",
|
|
5374
|
+
"name": "equals",
|
|
5375
|
+
"bundle": "core",
|
|
5376
|
+
"sinceVersion": "1.24",
|
|
5377
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
|
|
5378
|
+
"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.",
|
|
5379
|
+
"examples": "\n##### Beispiel\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",
|
|
5380
|
+
"completion": {
|
|
5381
|
+
"label": "Equals",
|
|
5382
|
+
"detail": "Equals(value1, value2) -> Boolean",
|
|
5383
|
+
"insertText": "Equals(${1:value1_}, ${2:value2_})$0",
|
|
5384
|
+
"insertTextMode": 2,
|
|
5385
|
+
"insertTextFormat": 2,
|
|
5386
|
+
"kind": 3,
|
|
5387
|
+
"documentation": {
|
|
5388
|
+
"kind": "markdown",
|
|
5389
|
+
"value": "**[Seit Version 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**Parameter**\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**Rückgabewert**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
5390
|
+
}
|
|
5391
|
+
},
|
|
5392
|
+
"parametersInfo": {
|
|
5393
|
+
"min": 2,
|
|
5394
|
+
"max": 2
|
|
5395
|
+
}
|
|
5396
|
+
},
|
|
4731
5397
|
{
|
|
4732
5398
|
"type": "function",
|
|
4733
5399
|
"name": "iif",
|
|
@@ -5163,7 +5829,7 @@
|
|
|
5163
5829
|
"kind": 3,
|
|
5164
5830
|
"documentation": {
|
|
5165
5831
|
"kind": "markdown",
|
|
5166
|
-
"value": "**[Seit Version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGeneriert einen Hash-Code-Wert für die angegebene Variable.\n\n**Parameter**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Die zu hashende Variable.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5832
|
+
"value": "**[Seit Version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGeneriert einen Hash-Code-Wert für die angegebene Variable.\n\n**Parameter**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| DateOnly \\| Time - Die zu hashende Variable.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5167
5833
|
}
|
|
5168
5834
|
},
|
|
5169
5835
|
"parametersInfo": {
|
|
@@ -6125,7 +6791,7 @@
|
|
|
6125
6791
|
"bundle": "core",
|
|
6126
6792
|
"link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
|
|
6127
6793
|
"description": "Konvertiert ein Argument in einen Textwert und formatiert sie optional. Gibt `null` zurück, wenn ein Fehler auftritt.",
|
|
6128
|
-
"examples": "\n##### Beispiele\n\nDie Zahl links neben der Dezimalstelle füllen\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nDie Zahl links neben der Dezimalstelle beschränken\n\n```arcade\nText(123, '00') // '23'\n```\n\nDie Zahl nach Tausendern gruppieren\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nRundet die Zahl auf zwei Dezimalstellen\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormatiert Zahl als Währung\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nRundet die Zahl auf zwei Dezimalstellen\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nBehält signifikante Stellen bei und gruppiert nach Tausendern\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormatiert die Zahl und formatiert positiv/negativ – falls ein negatives untergeordnetes Muster vorhanden ist, dient es lediglich zum Festlegen des negativen Prä- und Suffixes.\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMultipliziert mit 100 und formatiert als Prozentsatz\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormatiert das aktuelle Datum und die aktuelle Uhrzeit, z. B. 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nDatumsangaben im Feld `datetime` sind bereits in lokaler Zeit; Arcade geht jedoch von Werten in UTC aus. Versetzt die lokale Zeit in UTC, um einen zweimaligen Zeitzonen-Versatz zu vermeiden.\n\n```arcade\nText(
|
|
6794
|
+
"examples": "\n##### Beispiele\n\nDie Zahl links neben der Dezimalstelle füllen\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nDie Zahl links neben der Dezimalstelle beschränken\n\n```arcade\nText(123, '00') // '23'\n```\n\nDie Zahl nach Tausendern gruppieren\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nRundet die Zahl auf zwei Dezimalstellen\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormatiert Zahl als Währung\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nRundet die Zahl auf zwei Dezimalstellen\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nBehält signifikante Stellen bei und gruppiert nach Tausendern\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormatiert die Zahl und formatiert positiv/negativ – falls ein negatives untergeordnetes Muster vorhanden ist, dient es lediglich zum Festlegen des negativen Prä- und Suffixes.\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMultipliziert mit 100 und formatiert als Prozentsatz\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormatiert das aktuelle Datum und die aktuelle Uhrzeit, z. B. 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nDatumsangaben im Feld `datetime` sind bereits in lokaler Zeit; Arcade geht jedoch von Werten in UTC aus. Versetzt die lokale Zeit in UTC, um einen zweimaligen Zeitzonen-Versatz zu vermeiden.\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",
|
|
6129
6795
|
"completion": {
|
|
6130
6796
|
"label": "Text",
|
|
6131
6797
|
"detail": "Text(value, format?) -> Text",
|