@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
|
@@ -574,6 +574,31 @@
|
|
|
574
574
|
"max": 4
|
|
575
575
|
}
|
|
576
576
|
},
|
|
577
|
+
{
|
|
578
|
+
"type": "function",
|
|
579
|
+
"name": "featuresetbyrelationshipclass",
|
|
580
|
+
"bundle": "data-access",
|
|
581
|
+
"sinceVersion": "1.24",
|
|
582
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
583
|
+
"description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
|
|
584
|
+
"examples": "\n##### 예시\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
|
|
585
|
+
"completion": {
|
|
586
|
+
"label": "FeatureSetByRelationshipClass",
|
|
587
|
+
"detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
|
|
588
|
+
"insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
|
|
589
|
+
"insertTextMode": 2,
|
|
590
|
+
"insertTextFormat": 2,
|
|
591
|
+
"kind": 3,
|
|
592
|
+
"documentation": {
|
|
593
|
+
"kind": "markdown",
|
|
594
|
+
"value": "**[Since 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**매개변수**\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**Return value**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"parametersInfo": {
|
|
598
|
+
"min": 2,
|
|
599
|
+
"max": 4
|
|
600
|
+
}
|
|
601
|
+
},
|
|
577
602
|
{
|
|
578
603
|
"type": "function",
|
|
579
604
|
"name": "featuresetbyrelationshipname",
|
|
@@ -1534,7 +1559,7 @@
|
|
|
1534
1559
|
"kind": 3,
|
|
1535
1560
|
"documentation": {
|
|
1536
1561
|
"kind": "markdown",
|
|
1537
|
-
"value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n지정된 변수에 대한 해시 코드 값을 생성합니다.\n\n**매개변수**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - 해시되는 변수입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1562
|
+
"value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n지정된 변수에 대한 해시 코드 값을 생성합니다.\n\n**매개변수**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| DateOnly \\| Time - 해시되는 변수입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1538
1563
|
}
|
|
1539
1564
|
},
|
|
1540
1565
|
"parametersInfo": {
|
|
@@ -2042,29 +2067,54 @@
|
|
|
2042
2067
|
"id": "date_functions",
|
|
2043
2068
|
"title": "날짜 함수",
|
|
2044
2069
|
"items": [
|
|
2070
|
+
{
|
|
2071
|
+
"type": "function",
|
|
2072
|
+
"name": "changetimezone",
|
|
2073
|
+
"bundle": "core",
|
|
2074
|
+
"sinceVersion": "1.24",
|
|
2075
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
|
|
2076
|
+
"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`.",
|
|
2077
|
+
"examples": "\n##### 예시\n\nChanges the given Date's time zone from `America/New_York` to `America/Los_Angeles`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"America/New_York\")\nChangeTimeZone(inputDate, \"America/Los_Angeles\");\n// returns a Date representing Nov 11, 2011, 5:00:00 AM PST\n```\n\nAssigns a Date with an `unknown` time zone to a time offset of `+07:00`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"unknown\")\nChangeTimeZone(inputDate, \"+07:00\");\n// returns a Date representing Nov 11, 2011, 8:00:00 AM +07:00\n```\n\n",
|
|
2078
|
+
"completion": {
|
|
2079
|
+
"label": "ChangeTimeZone",
|
|
2080
|
+
"detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
|
|
2081
|
+
"insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
|
|
2082
|
+
"insertTextMode": 2,
|
|
2083
|
+
"insertTextFormat": 2,
|
|
2084
|
+
"kind": 3,
|
|
2085
|
+
"documentation": {
|
|
2086
|
+
"kind": "markdown",
|
|
2087
|
+
"value": "**[Since 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**매개변수**\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**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2088
|
+
}
|
|
2089
|
+
},
|
|
2090
|
+
"parametersInfo": {
|
|
2091
|
+
"min": 2,
|
|
2092
|
+
"max": 2
|
|
2093
|
+
}
|
|
2094
|
+
},
|
|
2045
2095
|
[
|
|
2046
2096
|
{
|
|
2047
2097
|
"type": "function",
|
|
2048
2098
|
"name": "date",
|
|
2049
2099
|
"bundle": "core",
|
|
2050
2100
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
|
|
2051
|
-
"description": "
|
|
2052
|
-
"examples": "\n##### 예시\n\
|
|
2101
|
+
"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.",
|
|
2102
|
+
"examples": "\n##### 예시\n\nCreates a Date representing the given time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nCreates a Date with time defined in a specific time zone\n\n```arcade\nDate(1990, 10, 2, 2, 23, 0, 0, \"America/New_York\");\n // Date represents Nov 2, 1990, 2:23:00 AM EST\n```\n\n",
|
|
2053
2103
|
"completion": {
|
|
2054
2104
|
"label": "Date",
|
|
2055
|
-
"detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
|
|
2105
|
+
"detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
|
|
2056
2106
|
"insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
|
|
2057
2107
|
"insertTextMode": 2,
|
|
2058
2108
|
"insertTextFormat": 2,
|
|
2059
2109
|
"kind": 3,
|
|
2060
2110
|
"documentation": {
|
|
2061
2111
|
"kind": "markdown",
|
|
2062
|
-
"value": "
|
|
2112
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**매개변수**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2063
2113
|
}
|
|
2064
2114
|
},
|
|
2065
2115
|
"parametersInfo": {
|
|
2066
2116
|
"min": 3,
|
|
2067
|
-
"max":
|
|
2117
|
+
"max": 8
|
|
2068
2118
|
}
|
|
2069
2119
|
},
|
|
2070
2120
|
{
|
|
@@ -2072,8 +2122,8 @@
|
|
|
2072
2122
|
"name": "date",
|
|
2073
2123
|
"bundle": "core",
|
|
2074
2124
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
|
|
2075
|
-
"description": "
|
|
2076
|
-
"examples": "\n##### 예시\n\
|
|
2125
|
+
"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.",
|
|
2126
|
+
"examples": "\n##### 예시\n\nMilliseconds since January 1, 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\nCreates a Date representing the current time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
|
|
2077
2127
|
"completion": {
|
|
2078
2128
|
"label": "Date",
|
|
2079
2129
|
"detail": "Date(epoch?) -> Date",
|
|
@@ -2083,7 +2133,7 @@
|
|
|
2083
2133
|
"kind": 3,
|
|
2084
2134
|
"documentation": {
|
|
2085
2135
|
"kind": "markdown",
|
|
2086
|
-
"value": "
|
|
2136
|
+
"value": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.\n\n**매개변수**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2087
2137
|
}
|
|
2088
2138
|
},
|
|
2089
2139
|
"parametersInfo": {
|
|
@@ -2096,8 +2146,8 @@
|
|
|
2096
2146
|
"name": "date",
|
|
2097
2147
|
"bundle": "core",
|
|
2098
2148
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
|
|
2099
|
-
"description": "ISO 8601
|
|
2100
|
-
"examples": "\n##### 예시\n\
|
|
2149
|
+
"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.",
|
|
2150
|
+
"examples": "\n##### 예시\n\nCreates a Date from an ISO 8601 text value with a known time offset\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\nCreates a Date from an ISO 8601 text value with an unknown time offset\n\n```arcade\nDate('2016-10-20T17:41:37') // 'Thu Oct 20 2016 5:41:37 PM PDT'\n```\n\n",
|
|
2101
2151
|
"completion": {
|
|
2102
2152
|
"label": "Date",
|
|
2103
2153
|
"detail": "Date(timestamp?) -> Date",
|
|
@@ -2107,154 +2157,386 @@
|
|
|
2107
2157
|
"kind": 3,
|
|
2108
2158
|
"documentation": {
|
|
2109
2159
|
"kind": "markdown",
|
|
2110
|
-
"value": "ISO 8601
|
|
2160
|
+
"value": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.\n\n**매개변수**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - An ISO 8601 text value to be converted into a Date.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2111
2161
|
}
|
|
2112
2162
|
},
|
|
2113
2163
|
"parametersInfo": {
|
|
2114
2164
|
"min": 0,
|
|
2115
2165
|
"max": 1
|
|
2116
2166
|
}
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
"type": "function",
|
|
2170
|
+
"name": "date",
|
|
2171
|
+
"bundle": "core",
|
|
2172
|
+
"sinceVersion": "1.24",
|
|
2173
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
|
|
2174
|
+
"description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
|
|
2175
|
+
"examples": "\n##### 예시\n\nCreates a Date from a DateOnly and time type\n\n```arcade\nDate(DateOnly(2022,10,11), Time(\"11:20 am\"))\n// returns a Date representing Nov 11, 2022, 11:20:00 AM in an unknown time zone\n```\n\n",
|
|
2176
|
+
"completion": {
|
|
2177
|
+
"label": "Date",
|
|
2178
|
+
"detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
|
|
2179
|
+
"insertText": "Date(${1:dateOnlyValue_})$0",
|
|
2180
|
+
"insertTextMode": 2,
|
|
2181
|
+
"insertTextFormat": 2,
|
|
2182
|
+
"kind": 3,
|
|
2183
|
+
"documentation": {
|
|
2184
|
+
"kind": "markdown",
|
|
2185
|
+
"value": "**[Since 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**매개변수**\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**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2186
|
+
}
|
|
2187
|
+
},
|
|
2188
|
+
"parametersInfo": {
|
|
2189
|
+
"min": 1,
|
|
2190
|
+
"max": 3
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"type": "function",
|
|
2195
|
+
"name": "date",
|
|
2196
|
+
"bundle": "core",
|
|
2197
|
+
"sinceVersion": "1.24",
|
|
2198
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
|
|
2199
|
+
"description": "Creates a copy of the given Date.",
|
|
2200
|
+
"examples": "\n##### 예시\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
|
|
2201
|
+
"completion": {
|
|
2202
|
+
"label": "Date",
|
|
2203
|
+
"detail": "Date(dateValue) -> Date",
|
|
2204
|
+
"insertText": "Date(${1:dateValue_})$0",
|
|
2205
|
+
"insertTextMode": 2,
|
|
2206
|
+
"insertTextFormat": 2,
|
|
2207
|
+
"kind": 3,
|
|
2208
|
+
"documentation": {
|
|
2209
|
+
"kind": "markdown",
|
|
2210
|
+
"value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
"parametersInfo": {
|
|
2214
|
+
"min": 1,
|
|
2215
|
+
"max": 1
|
|
2216
|
+
}
|
|
2117
2217
|
}
|
|
2118
2218
|
],
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
"
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
"
|
|
2135
|
-
|
|
2219
|
+
[
|
|
2220
|
+
{
|
|
2221
|
+
"type": "function",
|
|
2222
|
+
"name": "dateadd",
|
|
2223
|
+
"bundle": "core",
|
|
2224
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
|
|
2225
|
+
"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.",
|
|
2226
|
+
"examples": "\n##### 예시\n\nAdds 7 days to the given Date\n\n```arcade\nvar startDate = Date(2023, 9, 1, 12, 00);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns a Date representing Oct 8, 2023, 12:00:00 PM PDT\n```\n\n",
|
|
2227
|
+
"completion": {
|
|
2228
|
+
"label": "DateAdd",
|
|
2229
|
+
"detail": "DateAdd(dateValue, addValue, units?) -> Date",
|
|
2230
|
+
"insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
|
|
2231
|
+
"insertTextMode": 2,
|
|
2232
|
+
"insertTextFormat": 2,
|
|
2233
|
+
"kind": 3,
|
|
2234
|
+
"documentation": {
|
|
2235
|
+
"kind": "markdown",
|
|
2236
|
+
"value": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The input Date to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the Date in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the Date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2237
|
+
}
|
|
2238
|
+
},
|
|
2239
|
+
"parametersInfo": {
|
|
2240
|
+
"min": 2,
|
|
2241
|
+
"max": 3
|
|
2136
2242
|
}
|
|
2137
2243
|
},
|
|
2138
|
-
|
|
2139
|
-
"
|
|
2140
|
-
"
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
"
|
|
2244
|
+
{
|
|
2245
|
+
"type": "function",
|
|
2246
|
+
"name": "dateadd",
|
|
2247
|
+
"bundle": "core",
|
|
2248
|
+
"sinceVersion": "1.24",
|
|
2249
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
|
|
2250
|
+
"description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
|
|
2251
|
+
"examples": "\n##### 예시\n\nAdds 7 days to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns 2023-06-11\n```\n\nAdds 12 hours to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar hoursLater = DateAdd(startDate, 12, 'hours');\nreturn hoursLater;\n// returns the original start date, 2023-06-04\n// since 12 hours < 1 day, the DateOnly input is not changed\n```\n\n",
|
|
2252
|
+
"completion": {
|
|
2253
|
+
"label": "DateAdd",
|
|
2254
|
+
"detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
|
|
2255
|
+
"insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
|
|
2256
|
+
"insertTextMode": 2,
|
|
2257
|
+
"insertTextFormat": 2,
|
|
2258
|
+
"kind": 3,
|
|
2259
|
+
"documentation": {
|
|
2260
|
+
"kind": "markdown",
|
|
2261
|
+
"value": "**[Since 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**매개변수**\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**Return value**: DateOnly"
|
|
2262
|
+
}
|
|
2263
|
+
},
|
|
2264
|
+
"parametersInfo": {
|
|
2265
|
+
"min": 2,
|
|
2266
|
+
"max": 3
|
|
2160
2267
|
}
|
|
2161
2268
|
},
|
|
2162
|
-
|
|
2163
|
-
"
|
|
2164
|
-
"
|
|
2269
|
+
{
|
|
2270
|
+
"type": "function",
|
|
2271
|
+
"name": "dateadd",
|
|
2272
|
+
"bundle": "core",
|
|
2273
|
+
"sinceVersion": "1.24",
|
|
2274
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
|
|
2275
|
+
"description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
|
|
2276
|
+
"examples": "\n##### 예시\n\nAdds 7 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 7, 'hours');\nreturn hoursLater;\n// returns 18:30:00\n```\n\nAdds 90 seconds to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar secondsLater = DateAdd(startTime, 90, \"seconds\");\nreturn secondsLater;\n// returns 11:31:30\n```\n\nAdds 25 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 25, 'hours');\nreturn hoursLater;\n// returns 12:30:00\n```\n\n",
|
|
2277
|
+
"completion": {
|
|
2278
|
+
"label": "DateAdd",
|
|
2279
|
+
"detail": "DateAdd(timeValue, addValue, units?) -> Time",
|
|
2280
|
+
"insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
|
|
2281
|
+
"insertTextMode": 2,
|
|
2282
|
+
"insertTextFormat": 2,
|
|
2283
|
+
"kind": 3,
|
|
2284
|
+
"documentation": {
|
|
2285
|
+
"kind": "markdown",
|
|
2286
|
+
"value": "**[Since 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**매개변수**\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**Return value**: Time"
|
|
2287
|
+
}
|
|
2288
|
+
},
|
|
2289
|
+
"parametersInfo": {
|
|
2290
|
+
"min": 2,
|
|
2291
|
+
"max": 3
|
|
2292
|
+
}
|
|
2165
2293
|
}
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
"
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
"
|
|
2183
|
-
|
|
2294
|
+
],
|
|
2295
|
+
[
|
|
2296
|
+
{
|
|
2297
|
+
"type": "function",
|
|
2298
|
+
"name": "datediff",
|
|
2299
|
+
"bundle": "core",
|
|
2300
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
2301
|
+
"description": "Subtracts two Dates, and returns the difference in the specified units.",
|
|
2302
|
+
"examples": "\n##### 예시\n\nSubtracts two Dates and returns the age\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtracts two Dates and returns the difference. Since the time zone is Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
|
|
2303
|
+
"completion": {
|
|
2304
|
+
"label": "DateDiff",
|
|
2305
|
+
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
2306
|
+
"insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
|
|
2307
|
+
"insertTextMode": 2,
|
|
2308
|
+
"insertTextFormat": 2,
|
|
2309
|
+
"kind": 3,
|
|
2310
|
+
"documentation": {
|
|
2311
|
+
"kind": "markdown",
|
|
2312
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**매개변수**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. \nPossible values: \n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2313
|
+
}
|
|
2314
|
+
},
|
|
2315
|
+
"parametersInfo": {
|
|
2316
|
+
"min": 2,
|
|
2317
|
+
"max": 4
|
|
2184
2318
|
}
|
|
2185
2319
|
},
|
|
2186
|
-
|
|
2187
|
-
"
|
|
2188
|
-
"
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
"
|
|
2320
|
+
{
|
|
2321
|
+
"type": "function",
|
|
2322
|
+
"name": "datediff",
|
|
2323
|
+
"bundle": "core",
|
|
2324
|
+
"sinceVersion": "1.24",
|
|
2325
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
|
|
2326
|
+
"description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
|
|
2327
|
+
"examples": "\n##### 예시\n\nSubtracts two DateOnly values and returns the difference in years\n\n```arcade\nvar startDate = DateOnly(1996,11,10);\nvar endDate = DateOnly(); // today's date\nvar age = DateDiff(endDate, startDate, 'years');\nFloor(age); // round down\n// returns 26\n```\n\n",
|
|
2328
|
+
"completion": {
|
|
2329
|
+
"label": "DateDiff",
|
|
2330
|
+
"detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
|
|
2331
|
+
"insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
|
|
2332
|
+
"insertTextMode": 2,
|
|
2333
|
+
"insertTextFormat": 2,
|
|
2334
|
+
"kind": 3,
|
|
2335
|
+
"documentation": {
|
|
2336
|
+
"kind": "markdown",
|
|
2337
|
+
"value": "**[Since 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**매개변수**\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**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2338
|
+
}
|
|
2339
|
+
},
|
|
2340
|
+
"parametersInfo": {
|
|
2341
|
+
"min": 2,
|
|
2342
|
+
"max": 3
|
|
2208
2343
|
}
|
|
2209
2344
|
},
|
|
2210
|
-
|
|
2211
|
-
"
|
|
2212
|
-
"
|
|
2345
|
+
{
|
|
2346
|
+
"type": "function",
|
|
2347
|
+
"name": "datediff",
|
|
2348
|
+
"bundle": "core",
|
|
2349
|
+
"sinceVersion": "1.24",
|
|
2350
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
|
|
2351
|
+
"description": "Subtracts two Time values, and returns the difference in the specified units.",
|
|
2352
|
+
"examples": "\n##### 예시\n\nSubtracts two Time values and returns the difference in hours\n\n```arcade\nDateDiff(Time(23,0), Time(9,0), 'hours')\n// returns 14\n```\n\n",
|
|
2353
|
+
"completion": {
|
|
2354
|
+
"label": "DateDiff",
|
|
2355
|
+
"detail": "DateDiff(time1, time2, units?) -> Number",
|
|
2356
|
+
"insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
|
|
2357
|
+
"insertTextMode": 2,
|
|
2358
|
+
"insertTextFormat": 2,
|
|
2359
|
+
"kind": 3,
|
|
2360
|
+
"documentation": {
|
|
2361
|
+
"kind": "markdown",
|
|
2362
|
+
"value": "**[Since 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**매개변수**\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**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2363
|
+
}
|
|
2364
|
+
},
|
|
2365
|
+
"parametersInfo": {
|
|
2366
|
+
"min": 2,
|
|
2367
|
+
"max": 3
|
|
2368
|
+
}
|
|
2213
2369
|
}
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
"
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
"
|
|
2232
|
-
|
|
2370
|
+
],
|
|
2371
|
+
[
|
|
2372
|
+
{
|
|
2373
|
+
"type": "function",
|
|
2374
|
+
"name": "dateonly",
|
|
2375
|
+
"bundle": "core",
|
|
2376
|
+
"sinceVersion": "1.24",
|
|
2377
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
|
|
2378
|
+
"description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
|
|
2379
|
+
"examples": "\n##### 예시\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
|
|
2380
|
+
"completion": {
|
|
2381
|
+
"label": "DateOnly",
|
|
2382
|
+
"detail": "DateOnly() -> DateOnly",
|
|
2383
|
+
"insertText": "DateOnly($0)",
|
|
2384
|
+
"insertTextMode": 2,
|
|
2385
|
+
"insertTextFormat": 2,
|
|
2386
|
+
"kind": 3,
|
|
2387
|
+
"documentation": {
|
|
2388
|
+
"kind": "markdown",
|
|
2389
|
+
"value": "**[Since 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**Return value**: DateOnly"
|
|
2390
|
+
}
|
|
2391
|
+
},
|
|
2392
|
+
"parametersInfo": {
|
|
2393
|
+
"min": 0,
|
|
2394
|
+
"max": 0
|
|
2233
2395
|
}
|
|
2234
2396
|
},
|
|
2235
|
-
|
|
2236
|
-
"
|
|
2237
|
-
"
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2397
|
+
{
|
|
2398
|
+
"type": "function",
|
|
2399
|
+
"name": "dateonly",
|
|
2400
|
+
"bundle": "core",
|
|
2401
|
+
"sinceVersion": "1.24",
|
|
2402
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
|
|
2403
|
+
"description": "Creates a DateOnly value from a given date.",
|
|
2404
|
+
"examples": "\n##### 예시\n\nReturns the DateOnly from the given date\n\n```arcade\nDateOnly(Date(2008,10,11,10,30));\n// returns 2008-11-11\n```\n\n",
|
|
2405
|
+
"completion": {
|
|
2406
|
+
"label": "DateOnly",
|
|
2407
|
+
"detail": "DateOnly(dateValue) -> DateOnly",
|
|
2408
|
+
"insertText": "DateOnly(${1:dateValue_})$0",
|
|
2409
|
+
"insertTextMode": 2,
|
|
2410
|
+
"insertTextFormat": 2,
|
|
2411
|
+
"kind": 3,
|
|
2412
|
+
"documentation": {
|
|
2413
|
+
"kind": "markdown",
|
|
2414
|
+
"value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**Return value**: DateOnly"
|
|
2415
|
+
}
|
|
2416
|
+
},
|
|
2417
|
+
"parametersInfo": {
|
|
2418
|
+
"min": 1,
|
|
2419
|
+
"max": 1
|
|
2420
|
+
}
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
"type": "function",
|
|
2424
|
+
"name": "dateonly",
|
|
2425
|
+
"bundle": "core",
|
|
2426
|
+
"sinceVersion": "1.24",
|
|
2427
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
|
|
2428
|
+
"description": "Creates a DateOnly date with the given Unix epoch number.",
|
|
2429
|
+
"examples": "\n##### 예시\n\nReturns the DateOnly from the number of milliseconds since January 1, 1970\n\n```arcade\nDateOnly(1476987783555);\n// returns 2016-10-20\n```\n\n",
|
|
2430
|
+
"completion": {
|
|
2431
|
+
"label": "DateOnly",
|
|
2432
|
+
"detail": "DateOnly(epoch) -> DateOnly",
|
|
2433
|
+
"insertText": "DateOnly(${1:epoch_})$0",
|
|
2434
|
+
"insertTextMode": 2,
|
|
2435
|
+
"insertTextFormat": 2,
|
|
2436
|
+
"kind": 3,
|
|
2437
|
+
"documentation": {
|
|
2438
|
+
"kind": "markdown",
|
|
2439
|
+
"value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**매개변수**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Return value**: DateOnly"
|
|
2440
|
+
}
|
|
2441
|
+
},
|
|
2442
|
+
"parametersInfo": {
|
|
2443
|
+
"min": 1,
|
|
2444
|
+
"max": 1
|
|
2445
|
+
}
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
"type": "function",
|
|
2449
|
+
"name": "dateonly",
|
|
2450
|
+
"bundle": "core",
|
|
2451
|
+
"sinceVersion": "1.24",
|
|
2452
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
|
|
2453
|
+
"description": "Creates a DateOnly value from inputs representing the year, month, and day.",
|
|
2454
|
+
"examples": "\n##### 예시\n\nCreates a DateOnly value from inputs representing the year, month, and day\n\n```arcade\nDateOnly(1996, 11, 10)\n// returns 1996-12-10\n```\n\n",
|
|
2455
|
+
"completion": {
|
|
2456
|
+
"label": "DateOnly",
|
|
2457
|
+
"detail": "DateOnly(year, month, day) -> DateOnly",
|
|
2458
|
+
"insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
|
|
2459
|
+
"insertTextMode": 2,
|
|
2460
|
+
"insertTextFormat": 2,
|
|
2461
|
+
"kind": 3,
|
|
2462
|
+
"documentation": {
|
|
2463
|
+
"kind": "markdown",
|
|
2464
|
+
"value": "**[Since 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**매개변수**\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**Return value**: DateOnly"
|
|
2465
|
+
}
|
|
2466
|
+
},
|
|
2467
|
+
"parametersInfo": {
|
|
2468
|
+
"min": 3,
|
|
2469
|
+
"max": 3
|
|
2470
|
+
}
|
|
2471
|
+
},
|
|
2472
|
+
{
|
|
2473
|
+
"type": "function",
|
|
2474
|
+
"name": "dateonly",
|
|
2475
|
+
"bundle": "core",
|
|
2476
|
+
"sinceVersion": "1.24",
|
|
2477
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
|
|
2478
|
+
"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.",
|
|
2479
|
+
"examples": "\n##### 예시\n\nCreates a DateOnly value from a text value representing the date\n\n```arcade\nDateOnly(\"2023-05-11T13:43:18.990+01:00\");\n// returns 2023-05-11\n```\n\nCreates a DateOnly value from a text value representing the date in the given format\n\n```arcade\nDateOnly(\"10 Jan 2022\",\"D MMM Y\")\n// returns 2022-01-10\n```\n\n",
|
|
2480
|
+
"completion": {
|
|
2481
|
+
"label": "DateOnly",
|
|
2482
|
+
"detail": "DateOnly(dateValue, format?) -> DateOnly",
|
|
2483
|
+
"insertText": "DateOnly(${1:dateValue_})$0",
|
|
2484
|
+
"insertTextMode": 2,
|
|
2485
|
+
"insertTextFormat": 2,
|
|
2486
|
+
"kind": 3,
|
|
2487
|
+
"documentation": {
|
|
2488
|
+
"kind": "markdown",
|
|
2489
|
+
"value": "**[Since 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**매개변수**\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**Return value**: DateOnly"
|
|
2490
|
+
}
|
|
2491
|
+
},
|
|
2492
|
+
"parametersInfo": {
|
|
2493
|
+
"min": 1,
|
|
2494
|
+
"max": 2
|
|
2495
|
+
}
|
|
2496
|
+
},
|
|
2497
|
+
{
|
|
2498
|
+
"type": "function",
|
|
2499
|
+
"name": "dateonly",
|
|
2500
|
+
"bundle": "core",
|
|
2501
|
+
"sinceVersion": "1.24",
|
|
2502
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
|
|
2503
|
+
"description": "Creates a copy of a DateOnly value.",
|
|
2504
|
+
"examples": "\n##### 예시\n\nCreates a copy of DateOnly value\n\n```arcade\nvar originalDateOnly = DateOnly(1996,11,10)\nvar copiedDateOnly = DateOnly(originalDateOnly)\nreturn copiedDateOnly;\n```\n\n",
|
|
2505
|
+
"completion": {
|
|
2506
|
+
"label": "DateOnly",
|
|
2507
|
+
"detail": "DateOnly(dateOnlyValue) -> DateOnly",
|
|
2508
|
+
"insertText": "DateOnly(${1:dateOnlyValue_})$0",
|
|
2509
|
+
"insertTextMode": 2,
|
|
2510
|
+
"insertTextFormat": 2,
|
|
2511
|
+
"kind": 3,
|
|
2512
|
+
"documentation": {
|
|
2513
|
+
"kind": "markdown",
|
|
2514
|
+
"value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**매개변수**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**Return value**: DateOnly"
|
|
2515
|
+
}
|
|
2516
|
+
},
|
|
2517
|
+
"parametersInfo": {
|
|
2518
|
+
"min": 1,
|
|
2519
|
+
"max": 1
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
],
|
|
2523
|
+
{
|
|
2524
|
+
"type": "function",
|
|
2525
|
+
"name": "day",
|
|
2526
|
+
"bundle": "core",
|
|
2527
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
|
|
2528
|
+
"description": "지정 날짜에서 월의 날짜를 반환합니다.",
|
|
2529
|
+
"examples": "\n##### 예시\n\n현재 날짜에서 월의 날짜를 가져옵니다.\n\n```arcade\nDay(Now())\n```\n\nReturns the day of the month from a DateOnly value\n\n```arcade\nDay(DateOnly(1996, 11, 10))\n// returns 10\n```\n\n",
|
|
2248
2530
|
"completion": {
|
|
2249
|
-
"label": "
|
|
2250
|
-
"detail": "
|
|
2251
|
-
"insertText": "
|
|
2531
|
+
"label": "Day",
|
|
2532
|
+
"detail": "Day(dateValue) -> Number",
|
|
2533
|
+
"insertText": "Day(${1:dateValue_})$0",
|
|
2252
2534
|
"insertTextMode": 2,
|
|
2253
2535
|
"insertTextFormat": 2,
|
|
2254
2536
|
"kind": 3,
|
|
2255
2537
|
"documentation": {
|
|
2256
2538
|
"kind": "markdown",
|
|
2257
|
-
"value": "
|
|
2539
|
+
"value": "지정 날짜에서 월의 날짜를 반환합니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 월의 날짜를 가져올 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2258
2540
|
}
|
|
2259
2541
|
},
|
|
2260
2542
|
"parametersInfo": {
|
|
@@ -2262,24 +2544,75 @@
|
|
|
2262
2544
|
"max": 1
|
|
2263
2545
|
}
|
|
2264
2546
|
},
|
|
2547
|
+
[
|
|
2548
|
+
{
|
|
2549
|
+
"type": "function",
|
|
2550
|
+
"name": "hour",
|
|
2551
|
+
"bundle": "core",
|
|
2552
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
|
|
2553
|
+
"description": "Returns the hour of the time in the given date (0-23).",
|
|
2554
|
+
"examples": "\n##### 예시\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
|
|
2555
|
+
"completion": {
|
|
2556
|
+
"label": "Hour",
|
|
2557
|
+
"detail": "Hour(dateValue) -> Number",
|
|
2558
|
+
"insertText": "Hour(${1:dateValue_})$0",
|
|
2559
|
+
"insertTextMode": 2,
|
|
2560
|
+
"insertTextFormat": 2,
|
|
2561
|
+
"kind": 3,
|
|
2562
|
+
"documentation": {
|
|
2563
|
+
"kind": "markdown",
|
|
2564
|
+
"value": "Returns the hour of the time in the given date (0-23).\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the hour of the time.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2565
|
+
}
|
|
2566
|
+
},
|
|
2567
|
+
"parametersInfo": {
|
|
2568
|
+
"min": 1,
|
|
2569
|
+
"max": 1
|
|
2570
|
+
}
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
"type": "function",
|
|
2574
|
+
"name": "hour",
|
|
2575
|
+
"bundle": "core",
|
|
2576
|
+
"sinceVersion": "1.24",
|
|
2577
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
|
|
2578
|
+
"description": "Returns the hour of the given time (0-23).",
|
|
2579
|
+
"examples": "\n##### 예시\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
|
|
2580
|
+
"completion": {
|
|
2581
|
+
"label": "Hour",
|
|
2582
|
+
"detail": "Hour(timeValue) -> Number",
|
|
2583
|
+
"insertText": "Hour(${1:timeValue_})$0",
|
|
2584
|
+
"insertTextMode": 2,
|
|
2585
|
+
"insertTextFormat": 2,
|
|
2586
|
+
"kind": 3,
|
|
2587
|
+
"documentation": {
|
|
2588
|
+
"kind": "markdown",
|
|
2589
|
+
"value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**매개변수**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2590
|
+
}
|
|
2591
|
+
},
|
|
2592
|
+
"parametersInfo": {
|
|
2593
|
+
"min": 1,
|
|
2594
|
+
"max": 1
|
|
2595
|
+
}
|
|
2596
|
+
}
|
|
2597
|
+
],
|
|
2265
2598
|
{
|
|
2266
2599
|
"type": "function",
|
|
2267
|
-
"name": "
|
|
2600
|
+
"name": "isomonth",
|
|
2268
2601
|
"bundle": "core",
|
|
2269
2602
|
"sinceVersion": "1.12",
|
|
2270
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
2271
|
-
"description": "ISO 8601 표준에 따라 지정된 날짜의
|
|
2272
|
-
"examples": "\n##### 예시\n\nISO 8601 표준에 따라 지정된 날짜의
|
|
2603
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
|
|
2604
|
+
"description": "ISO 8601 표준에 따라 지정된 날짜의 월을 반환합니다. 값의 범위는 1~12로, 1월은 '1'이며 12월은 '12'입니다.",
|
|
2605
|
+
"examples": "\n##### 예시\n\nISO 8601 표준에 따라 지정된 날짜의 월을 가져옵니다. 12월에 대해 `12`를 반환합니다.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\nGets the month of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOMonth(DateOnly(1996, 0, 10))\n// returns 1, for January\n```\n\n",
|
|
2273
2606
|
"completion": {
|
|
2274
|
-
"label": "
|
|
2275
|
-
"detail": "
|
|
2276
|
-
"insertText": "
|
|
2607
|
+
"label": "ISOMonth",
|
|
2608
|
+
"detail": "ISOMonth(dateValue) -> Number",
|
|
2609
|
+
"insertText": "ISOMonth(${1:dateValue_})$0",
|
|
2277
2610
|
"insertTextMode": 2,
|
|
2278
2611
|
"insertTextFormat": 2,
|
|
2279
2612
|
"kind": 3,
|
|
2280
2613
|
"documentation": {
|
|
2281
2614
|
"kind": "markdown",
|
|
2282
|
-
"value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 표준에 따라 지정된 날짜의
|
|
2615
|
+
"value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 표준에 따라 지정된 날짜의 월을 반환합니다. 값의 범위는 1~12로, 1월은 '1'이며 12월은 '12'입니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 월을 가져올 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2283
2616
|
}
|
|
2284
2617
|
},
|
|
2285
2618
|
"parametersInfo": {
|
|
@@ -2289,22 +2622,22 @@
|
|
|
2289
2622
|
},
|
|
2290
2623
|
{
|
|
2291
2624
|
"type": "function",
|
|
2292
|
-
"name": "
|
|
2625
|
+
"name": "isoweek",
|
|
2293
2626
|
"bundle": "core",
|
|
2294
2627
|
"sinceVersion": "1.12",
|
|
2295
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
2296
|
-
"description": "ISO 8601 주 날짜 캘린더에 따라 지정된 날짜의
|
|
2297
|
-
"examples": "\n##### 예시\n\nISO 8601
|
|
2628
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
|
|
2629
|
+
"description": "ISO 8601 주 날짜 캘린더에 따라 지정된 날짜의 연도 내 주를 반환합니다. 값의 범위는 1~53으로, 한 해의 첫 주는 '1'이며 한 해의 마지막 주는 해에 따라 '52' 또는 '53'입니다.",
|
|
2630
|
+
"examples": "\n##### 예시\n\nISO 8601 표준에 따라 지정된 날짜의 주를 가져옵니다. 이 날짜는 다음 해의 첫 주에 포함되어 있으므로 '1'을 반환합니다.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\nGets the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeek(DateOnly(1996, 11, 10))\n// returns 50\n```\n\n",
|
|
2298
2631
|
"completion": {
|
|
2299
|
-
"label": "
|
|
2300
|
-
"detail": "
|
|
2301
|
-
"insertText": "
|
|
2632
|
+
"label": "ISOWeek",
|
|
2633
|
+
"detail": "ISOWeek(dateValue) -> Number",
|
|
2634
|
+
"insertText": "ISOWeek(${1:dateValue_})$0",
|
|
2302
2635
|
"insertTextMode": 2,
|
|
2303
2636
|
"insertTextFormat": 2,
|
|
2304
2637
|
"kind": 3,
|
|
2305
2638
|
"documentation": {
|
|
2306
2639
|
"kind": "markdown",
|
|
2307
|
-
"value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 주 날짜 캘린더에 따라 지정된 날짜의
|
|
2640
|
+
"value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 주 날짜 캘린더에 따라 지정된 날짜의 연도 내 주를 반환합니다. 값의 범위는 1~53으로, 한 해의 첫 주는 '1'이며 한 해의 마지막 주는 해에 따라 '52' 또는 '53'입니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 주를 가져올 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2308
2641
|
}
|
|
2309
2642
|
},
|
|
2310
2643
|
"parametersInfo": {
|
|
@@ -2314,21 +2647,22 @@
|
|
|
2314
2647
|
},
|
|
2315
2648
|
{
|
|
2316
2649
|
"type": "function",
|
|
2317
|
-
"name": "
|
|
2650
|
+
"name": "isoweekday",
|
|
2318
2651
|
"bundle": "core",
|
|
2319
|
-
"
|
|
2320
|
-
"
|
|
2321
|
-
"
|
|
2652
|
+
"sinceVersion": "1.12",
|
|
2653
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
|
|
2654
|
+
"description": "ISO 8601 표준에 따라 지정된 날짜의 요일을 반환합니다. 값의 범위는 1~7로, 월요일은 '1'이며 일요일은 '7'입니다.",
|
|
2655
|
+
"examples": "\n##### 예시\n\nISO 8601 표준에 따라 지정된 날짜의 요일을 반환합니다. 수요일에 대해 '3'을 반환합니다.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
|
|
2322
2656
|
"completion": {
|
|
2323
|
-
"label": "
|
|
2324
|
-
"detail": "
|
|
2325
|
-
"insertText": "
|
|
2657
|
+
"label": "ISOWeekday",
|
|
2658
|
+
"detail": "ISOWeekday(dateValue) -> Number",
|
|
2659
|
+
"insertText": "ISOWeekday(${1:dateValue_})$0",
|
|
2326
2660
|
"insertTextMode": 2,
|
|
2327
2661
|
"insertTextFormat": 2,
|
|
2328
2662
|
"kind": 3,
|
|
2329
2663
|
"documentation": {
|
|
2330
2664
|
"kind": "markdown",
|
|
2331
|
-
"value": "날짜의
|
|
2665
|
+
"value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 표준에 따라 지정된 날짜의 요일을 반환합니다. 값의 범위는 1~7로, 월요일은 '1'이며 일요일은 '7'입니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 요일이 반환될 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2332
2666
|
}
|
|
2333
2667
|
},
|
|
2334
2668
|
"parametersInfo": {
|
|
@@ -2338,21 +2672,22 @@
|
|
|
2338
2672
|
},
|
|
2339
2673
|
{
|
|
2340
2674
|
"type": "function",
|
|
2341
|
-
"name": "
|
|
2675
|
+
"name": "isoyear",
|
|
2342
2676
|
"bundle": "core",
|
|
2343
|
-
"
|
|
2344
|
-
"
|
|
2345
|
-
"
|
|
2677
|
+
"sinceVersion": "1.12",
|
|
2678
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
|
|
2679
|
+
"description": "ISO 8601 주 날짜 캘린더에 따라 지정된 날짜의 연도를 반환합니다.",
|
|
2680
|
+
"examples": "\n##### 예시\n\nISO 8601 주 날짜 캘린더에 따라 지정된 날짜의 연도를 가져옵니다. 이 날짜는 다음 해의 첫 주에 포함되어 있으므로 '1981'을 반환합니다.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\nGets the year of the given DateOnly value, based on the ISO 8601 week date calendar.\n\n```arcade\nISOYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
|
|
2346
2681
|
"completion": {
|
|
2347
|
-
"label": "
|
|
2348
|
-
"detail": "
|
|
2349
|
-
"insertText": "
|
|
2682
|
+
"label": "ISOYear",
|
|
2683
|
+
"detail": "ISOYear(dateValue) -> Number",
|
|
2684
|
+
"insertText": "ISOYear(${1:dateValue_})$0",
|
|
2350
2685
|
"insertTextMode": 2,
|
|
2351
2686
|
"insertTextFormat": 2,
|
|
2352
2687
|
"kind": 3,
|
|
2353
2688
|
"documentation": {
|
|
2354
2689
|
"kind": "markdown",
|
|
2355
|
-
"value": "
|
|
2690
|
+
"value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 주 날짜 캘린더에 따라 지정된 날짜의 연도를 반환합니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 연도를 가져올 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2356
2691
|
}
|
|
2357
2692
|
},
|
|
2358
2693
|
"parametersInfo": {
|
|
@@ -2360,13 +2695,115 @@
|
|
|
2360
2695
|
"max": 1
|
|
2361
2696
|
}
|
|
2362
2697
|
},
|
|
2698
|
+
[
|
|
2699
|
+
{
|
|
2700
|
+
"type": "function",
|
|
2701
|
+
"name": "millisecond",
|
|
2702
|
+
"bundle": "core",
|
|
2703
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
|
|
2704
|
+
"description": "Returns the millisecond of the time in the date.",
|
|
2705
|
+
"examples": "\n##### 예시\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
|
|
2706
|
+
"completion": {
|
|
2707
|
+
"label": "Millisecond",
|
|
2708
|
+
"detail": "Millisecond(dateValue) -> Number",
|
|
2709
|
+
"insertText": "Millisecond(${1:dateValue_})$0",
|
|
2710
|
+
"insertTextMode": 2,
|
|
2711
|
+
"insertTextFormat": 2,
|
|
2712
|
+
"kind": 3,
|
|
2713
|
+
"documentation": {
|
|
2714
|
+
"kind": "markdown",
|
|
2715
|
+
"value": "Returns the millisecond of the time in the date.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the millisecond of the time.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2716
|
+
}
|
|
2717
|
+
},
|
|
2718
|
+
"parametersInfo": {
|
|
2719
|
+
"min": 1,
|
|
2720
|
+
"max": 1
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2723
|
+
{
|
|
2724
|
+
"type": "function",
|
|
2725
|
+
"name": "millisecond",
|
|
2726
|
+
"bundle": "core",
|
|
2727
|
+
"sinceVersion": "1.24",
|
|
2728
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
|
|
2729
|
+
"description": "Returns the millisecond of the given time.",
|
|
2730
|
+
"examples": "\n##### 예시\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
|
|
2731
|
+
"completion": {
|
|
2732
|
+
"label": "Millisecond",
|
|
2733
|
+
"detail": "Millisecond(timeValue) -> Number",
|
|
2734
|
+
"insertText": "Millisecond(${1:timeValue_})$0",
|
|
2735
|
+
"insertTextMode": 2,
|
|
2736
|
+
"insertTextFormat": 2,
|
|
2737
|
+
"kind": 3,
|
|
2738
|
+
"documentation": {
|
|
2739
|
+
"kind": "markdown",
|
|
2740
|
+
"value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**매개변수**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2741
|
+
}
|
|
2742
|
+
},
|
|
2743
|
+
"parametersInfo": {
|
|
2744
|
+
"min": 1,
|
|
2745
|
+
"max": 1
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2748
|
+
],
|
|
2749
|
+
[
|
|
2750
|
+
{
|
|
2751
|
+
"type": "function",
|
|
2752
|
+
"name": "minute",
|
|
2753
|
+
"bundle": "core",
|
|
2754
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
|
|
2755
|
+
"description": "Returns the minute of the time in the given date.",
|
|
2756
|
+
"examples": "\n##### 예시\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
|
|
2757
|
+
"completion": {
|
|
2758
|
+
"label": "Minute",
|
|
2759
|
+
"detail": "Minute(dateValue) -> Number",
|
|
2760
|
+
"insertText": "Minute(${1:dateValue_})$0",
|
|
2761
|
+
"insertTextMode": 2,
|
|
2762
|
+
"insertTextFormat": 2,
|
|
2763
|
+
"kind": 3,
|
|
2764
|
+
"documentation": {
|
|
2765
|
+
"kind": "markdown",
|
|
2766
|
+
"value": "Returns the minute of the time in the given date.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the minute of the time.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2767
|
+
}
|
|
2768
|
+
},
|
|
2769
|
+
"parametersInfo": {
|
|
2770
|
+
"min": 1,
|
|
2771
|
+
"max": 1
|
|
2772
|
+
}
|
|
2773
|
+
},
|
|
2774
|
+
{
|
|
2775
|
+
"type": "function",
|
|
2776
|
+
"name": "minute",
|
|
2777
|
+
"bundle": "core",
|
|
2778
|
+
"sinceVersion": "1.24",
|
|
2779
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
|
|
2780
|
+
"description": "Returns the minute of the given time.",
|
|
2781
|
+
"examples": "\n##### 예시\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
|
|
2782
|
+
"completion": {
|
|
2783
|
+
"label": "Minute",
|
|
2784
|
+
"detail": "Minute(timeValue) -> Number",
|
|
2785
|
+
"insertText": "Minute(${1:timeValue_})$0",
|
|
2786
|
+
"insertTextMode": 2,
|
|
2787
|
+
"insertTextFormat": 2,
|
|
2788
|
+
"kind": 3,
|
|
2789
|
+
"documentation": {
|
|
2790
|
+
"kind": "markdown",
|
|
2791
|
+
"value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**매개변수**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2792
|
+
}
|
|
2793
|
+
},
|
|
2794
|
+
"parametersInfo": {
|
|
2795
|
+
"min": 1,
|
|
2796
|
+
"max": 1
|
|
2797
|
+
}
|
|
2798
|
+
}
|
|
2799
|
+
],
|
|
2363
2800
|
{
|
|
2364
2801
|
"type": "function",
|
|
2365
2802
|
"name": "month",
|
|
2366
2803
|
"bundle": "core",
|
|
2367
2804
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
|
|
2368
2805
|
"description": "지정 날짜의 월을 반환합니다. 값 범위는 0~11이며 `0`은 1월, `11`은 12월입니다.",
|
|
2369
|
-
"examples": "\n##### 예시\n\n지정된 날짜의 월을 가져옵니다. 12월에 대해 11을 반환합니다.\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
|
|
2806
|
+
"examples": "\n##### 예시\n\n지정된 날짜의 월을 가져옵니다. 12월에 대해 11을 반환합니다.\n\n```arcade\nMonth(Date(1980, 11, 31))\n// returns 11\n```\n\nGets the month of the given DateOnly value.\n\n```arcade\nMonth(DateOnly(1996, 0, 31))\n// returns 0, for the month of January\n```\n\n",
|
|
2370
2807
|
"completion": {
|
|
2371
2808
|
"label": "Month",
|
|
2372
2809
|
"detail": "Month(dateValue) -> Number",
|
|
@@ -2376,7 +2813,7 @@
|
|
|
2376
2813
|
"kind": 3,
|
|
2377
2814
|
"documentation": {
|
|
2378
2815
|
"kind": "markdown",
|
|
2379
|
-
"value": "지정 날짜의 월을 반환합니다. 값 범위는 0~11이며 `0`은 1월, `11`은 12월입니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 월을 가져올 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2816
|
+
"value": "지정 날짜의 월을 반환합니다. 값 범위는 0~11이며 `0`은 1월, `11`은 12월입니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 월을 가져올 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2380
2817
|
}
|
|
2381
2818
|
},
|
|
2382
2819
|
"parametersInfo": {
|
|
@@ -2408,23 +2845,227 @@
|
|
|
2408
2845
|
"max": 0
|
|
2409
2846
|
}
|
|
2410
2847
|
},
|
|
2848
|
+
[
|
|
2849
|
+
{
|
|
2850
|
+
"type": "function",
|
|
2851
|
+
"name": "second",
|
|
2852
|
+
"bundle": "core",
|
|
2853
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
|
|
2854
|
+
"description": "Returns the second of the time in the date.",
|
|
2855
|
+
"examples": "\n##### 예시\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
|
|
2856
|
+
"completion": {
|
|
2857
|
+
"label": "Second",
|
|
2858
|
+
"detail": "Second(dateValue) -> Number",
|
|
2859
|
+
"insertText": "Second(${1:dateValue_})$0",
|
|
2860
|
+
"insertTextMode": 2,
|
|
2861
|
+
"insertTextFormat": 2,
|
|
2862
|
+
"kind": 3,
|
|
2863
|
+
"documentation": {
|
|
2864
|
+
"kind": "markdown",
|
|
2865
|
+
"value": "Returns the second of the time in the date.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the second of the time.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2866
|
+
}
|
|
2867
|
+
},
|
|
2868
|
+
"parametersInfo": {
|
|
2869
|
+
"min": 1,
|
|
2870
|
+
"max": 1
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"type": "function",
|
|
2875
|
+
"name": "second",
|
|
2876
|
+
"bundle": "core",
|
|
2877
|
+
"sinceVersion": "1.24",
|
|
2878
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
|
|
2879
|
+
"description": "Returns the second of the given time.",
|
|
2880
|
+
"examples": "\n##### 예시\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
|
|
2881
|
+
"completion": {
|
|
2882
|
+
"label": "Second",
|
|
2883
|
+
"detail": "Second(timeValue) -> Number",
|
|
2884
|
+
"insertText": "Second(${1:timeValue_})$0",
|
|
2885
|
+
"insertTextMode": 2,
|
|
2886
|
+
"insertTextFormat": 2,
|
|
2887
|
+
"kind": 3,
|
|
2888
|
+
"documentation": {
|
|
2889
|
+
"kind": "markdown",
|
|
2890
|
+
"value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**매개변수**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2891
|
+
}
|
|
2892
|
+
},
|
|
2893
|
+
"parametersInfo": {
|
|
2894
|
+
"min": 1,
|
|
2895
|
+
"max": 1
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
],
|
|
2899
|
+
[
|
|
2900
|
+
{
|
|
2901
|
+
"type": "function",
|
|
2902
|
+
"name": "time",
|
|
2903
|
+
"bundle": "core",
|
|
2904
|
+
"sinceVersion": "1.24",
|
|
2905
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
|
|
2906
|
+
"description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
|
|
2907
|
+
"examples": "\n##### 예시\n\nReturns the current time displayed using the profile's default time zone\n\n```arcade\n// Time represents 12:41:20 PM\nTime()\n```\n\n",
|
|
2908
|
+
"completion": {
|
|
2909
|
+
"label": "Time",
|
|
2910
|
+
"detail": "Time() -> Time",
|
|
2911
|
+
"insertText": "Time($0)",
|
|
2912
|
+
"insertTextMode": 2,
|
|
2913
|
+
"insertTextFormat": 2,
|
|
2914
|
+
"kind": 3,
|
|
2915
|
+
"documentation": {
|
|
2916
|
+
"kind": "markdown",
|
|
2917
|
+
"value": "**[Since 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**Return value**: Time"
|
|
2918
|
+
}
|
|
2919
|
+
},
|
|
2920
|
+
"parametersInfo": {
|
|
2921
|
+
"min": 0,
|
|
2922
|
+
"max": 0
|
|
2923
|
+
}
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
"type": "function",
|
|
2927
|
+
"name": "time",
|
|
2928
|
+
"bundle": "core",
|
|
2929
|
+
"sinceVersion": "1.24",
|
|
2930
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
|
|
2931
|
+
"description": "Creates a Time value from a given date.",
|
|
2932
|
+
"examples": "\n##### 예시\n\nReturns the Time from the given date\n\n```arcade\nTime(Date(2008,10,11,10,30));\n// returns a Time value of 10:30:00 AM\n```\n\n",
|
|
2933
|
+
"completion": {
|
|
2934
|
+
"label": "Time",
|
|
2935
|
+
"detail": "Time(dateValue) -> Time",
|
|
2936
|
+
"insertText": "Time(${1:dateValue_})$0",
|
|
2937
|
+
"insertTextMode": 2,
|
|
2938
|
+
"insertTextFormat": 2,
|
|
2939
|
+
"kind": 3,
|
|
2940
|
+
"documentation": {
|
|
2941
|
+
"kind": "markdown",
|
|
2942
|
+
"value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**Return value**: Time"
|
|
2943
|
+
}
|
|
2944
|
+
},
|
|
2945
|
+
"parametersInfo": {
|
|
2946
|
+
"min": 1,
|
|
2947
|
+
"max": 1
|
|
2948
|
+
}
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"type": "function",
|
|
2952
|
+
"name": "time",
|
|
2953
|
+
"bundle": "core",
|
|
2954
|
+
"sinceVersion": "1.24",
|
|
2955
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
|
|
2956
|
+
"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`.",
|
|
2957
|
+
"examples": "\n##### 예시\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(8119800);\n// returns a Time value of 02:15:19.800\n```\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(86400001);\n// returns null - the input value exceeds the number of milliseconds in a day\n```\n\n",
|
|
2958
|
+
"completion": {
|
|
2959
|
+
"label": "Time",
|
|
2960
|
+
"detail": "Time(numValue) -> Time",
|
|
2961
|
+
"insertText": "Time(${1:numValue_})$0",
|
|
2962
|
+
"insertTextMode": 2,
|
|
2963
|
+
"insertTextFormat": 2,
|
|
2964
|
+
"kind": 3,
|
|
2965
|
+
"documentation": {
|
|
2966
|
+
"kind": "markdown",
|
|
2967
|
+
"value": "**[Since 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**매개변수**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**Return value**: Time"
|
|
2968
|
+
}
|
|
2969
|
+
},
|
|
2970
|
+
"parametersInfo": {
|
|
2971
|
+
"min": 1,
|
|
2972
|
+
"max": 1
|
|
2973
|
+
}
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
"type": "function",
|
|
2977
|
+
"name": "time",
|
|
2978
|
+
"bundle": "core",
|
|
2979
|
+
"sinceVersion": "1.24",
|
|
2980
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
|
|
2981
|
+
"description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
|
|
2982
|
+
"examples": "\n##### 예시\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds\n\n```arcade\nTime(13, 20);\n// returns a Time value of 13:20:00\n \nTime(2, 59, 23)\n// returns a Time value of 02:59:23\n \nTime(15, 47, 0, 474)\n// returns a Time value of 15:47:00.474\n```\n\n",
|
|
2983
|
+
"completion": {
|
|
2984
|
+
"label": "Time",
|
|
2985
|
+
"detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
|
|
2986
|
+
"insertText": "Time(${1:hours_}, ${2:minutes_})$0",
|
|
2987
|
+
"insertTextMode": 2,
|
|
2988
|
+
"insertTextFormat": 2,
|
|
2989
|
+
"kind": 3,
|
|
2990
|
+
"documentation": {
|
|
2991
|
+
"kind": "markdown",
|
|
2992
|
+
"value": "**[Since 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**매개변수**\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**Return value**: Time"
|
|
2993
|
+
}
|
|
2994
|
+
},
|
|
2995
|
+
"parametersInfo": {
|
|
2996
|
+
"min": 2,
|
|
2997
|
+
"max": 4
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"type": "function",
|
|
3002
|
+
"name": "time",
|
|
3003
|
+
"bundle": "core",
|
|
3004
|
+
"sinceVersion": "1.24",
|
|
3005
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
|
|
3006
|
+
"description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
|
|
3007
|
+
"examples": "\n##### 예시\n\nCreates a Time value from a text value representing the time\n\n```arcade\nTime(\"1:20 PM\");\n// returns a Time value of 13:20:00\n```\n\nCreates a Time value from a text value representing the time and formatting\n\n```arcade\nTime(\"12 05 04\", \"HH MM ss\")\n// returns a Time value of 12:05:04\n```\n\n",
|
|
3008
|
+
"completion": {
|
|
3009
|
+
"label": "Time",
|
|
3010
|
+
"detail": "Time(timeValue, format?) -> Time",
|
|
3011
|
+
"insertText": "Time(${1:timeValue_})$0",
|
|
3012
|
+
"insertTextMode": 2,
|
|
3013
|
+
"insertTextFormat": 2,
|
|
3014
|
+
"kind": 3,
|
|
3015
|
+
"documentation": {
|
|
3016
|
+
"kind": "markdown",
|
|
3017
|
+
"value": "**[Since 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**매개변수**\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**Return value**: Time"
|
|
3018
|
+
}
|
|
3019
|
+
},
|
|
3020
|
+
"parametersInfo": {
|
|
3021
|
+
"min": 1,
|
|
3022
|
+
"max": 2
|
|
3023
|
+
}
|
|
3024
|
+
}
|
|
3025
|
+
],
|
|
2411
3026
|
{
|
|
2412
3027
|
"type": "function",
|
|
2413
|
-
"name": "
|
|
3028
|
+
"name": "timestamp",
|
|
2414
3029
|
"bundle": "core",
|
|
2415
|
-
"
|
|
2416
|
-
"
|
|
2417
|
-
"
|
|
3030
|
+
"sinceVersion": "1.1",
|
|
3031
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
|
|
3032
|
+
"description": "현재 날짜 및 시간을 UTC로 나타내는 날짜 값을 생성합니다.",
|
|
3033
|
+
"examples": "\n##### 예시\n\nUTC 시간으로 날짜 생성\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
|
|
2418
3034
|
"completion": {
|
|
2419
|
-
"label": "
|
|
2420
|
-
"detail": "
|
|
2421
|
-
"insertText": "
|
|
3035
|
+
"label": "Timestamp",
|
|
3036
|
+
"detail": "Timestamp() -> Date",
|
|
3037
|
+
"insertText": "Timestamp($0)",
|
|
2422
3038
|
"insertTextMode": 2,
|
|
2423
3039
|
"insertTextFormat": 2,
|
|
2424
3040
|
"kind": 3,
|
|
2425
3041
|
"documentation": {
|
|
2426
3042
|
"kind": "markdown",
|
|
2427
|
-
"value": "
|
|
3043
|
+
"value": "**[Since version 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n현재 날짜 및 시간을 UTC로 나타내는 날짜 값을 생성합니다.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
3044
|
+
}
|
|
3045
|
+
},
|
|
3046
|
+
"parametersInfo": {
|
|
3047
|
+
"min": 0,
|
|
3048
|
+
"max": 0
|
|
3049
|
+
}
|
|
3050
|
+
},
|
|
3051
|
+
{
|
|
3052
|
+
"type": "function",
|
|
3053
|
+
"name": "timezone",
|
|
3054
|
+
"bundle": "core",
|
|
3055
|
+
"sinceVersion": "1.24",
|
|
3056
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
3057
|
+
"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",
|
|
3058
|
+
"examples": "\n##### 예시\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
|
|
3059
|
+
"completion": {
|
|
3060
|
+
"label": "TimeZone",
|
|
3061
|
+
"detail": "TimeZone(dateValue) -> Text",
|
|
3062
|
+
"insertText": "TimeZone(${1:dateValue_})$0",
|
|
3063
|
+
"insertTextMode": 2,
|
|
3064
|
+
"insertTextFormat": 2,
|
|
3065
|
+
"kind": 3,
|
|
3066
|
+
"documentation": {
|
|
3067
|
+
"kind": "markdown",
|
|
3068
|
+
"value": "**[Since 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**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Return value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
2428
3069
|
}
|
|
2429
3070
|
},
|
|
2430
3071
|
"parametersInfo": {
|
|
@@ -2434,27 +3075,27 @@
|
|
|
2434
3075
|
},
|
|
2435
3076
|
{
|
|
2436
3077
|
"type": "function",
|
|
2437
|
-
"name": "
|
|
3078
|
+
"name": "timezoneoffset",
|
|
2438
3079
|
"bundle": "core",
|
|
2439
|
-
"sinceVersion": "1.
|
|
2440
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
2441
|
-
"description": "
|
|
2442
|
-
"examples": "\n##### 예시\n\
|
|
3080
|
+
"sinceVersion": "1.24",
|
|
3081
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
|
|
3082
|
+
"description": "Returns the time zone offset in minutes from UTC for the given Date.",
|
|
3083
|
+
"examples": "\n##### 예시\n\nReturns the time zone offset in minutes from UTC\n\n```arcade\nvar inputDate = Date(2011, 10, 11, 8, 0, 0, 0, \"America/New_York\")\nTimeZoneOffset(inputDate);\n// returns -18000000\n```\n\n",
|
|
2443
3084
|
"completion": {
|
|
2444
|
-
"label": "
|
|
2445
|
-
"detail": "
|
|
2446
|
-
"insertText": "
|
|
3085
|
+
"label": "TimeZoneOffset",
|
|
3086
|
+
"detail": "TimeZoneOffset(dateValue) -> Number",
|
|
3087
|
+
"insertText": "TimeZoneOffset(${1:dateValue_})$0",
|
|
2447
3088
|
"insertTextMode": 2,
|
|
2448
3089
|
"insertTextFormat": 2,
|
|
2449
3090
|
"kind": 3,
|
|
2450
3091
|
"documentation": {
|
|
2451
3092
|
"kind": "markdown",
|
|
2452
|
-
"value": "**[Since version 1.
|
|
3093
|
+
"value": "**[Since 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**매개변수**\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**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2453
3094
|
}
|
|
2454
3095
|
},
|
|
2455
3096
|
"parametersInfo": {
|
|
2456
|
-
"min":
|
|
2457
|
-
"max":
|
|
3097
|
+
"min": 1,
|
|
3098
|
+
"max": 1
|
|
2458
3099
|
}
|
|
2459
3100
|
},
|
|
2460
3101
|
{
|
|
@@ -2538,7 +3179,7 @@
|
|
|
2538
3179
|
"sinceVersion": "1.14",
|
|
2539
3180
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
|
|
2540
3181
|
"description": "지정된 날짜의 연도에 있는 주의 수를 반환합니다. 값의 범위는 0~53으로, 한 해의 첫 주는 `0`이며 한 해의 마지막 주는 해에 따라 `51`, `52` 또는 `53`입니다. 첫 주와 마지막 주는 7일이 모두 포함되지 않을 수 있습니다.",
|
|
2541
|
-
"examples": "\n##### 예시\n\n주의 시작 기본값(일요일) 사용\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\n주의 시작을 목요일로 설정\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\n주의 시작을 금요일로 설정\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\n",
|
|
3182
|
+
"examples": "\n##### 예시\n\n주의 시작 기본값(일요일) 사용\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\n주의 시작을 목요일로 설정\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\n주의 시작을 금요일로 설정\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\nReturns the week from the DateOnly value\n\n```arcade\nWeek(DateOnly(1996, 11, 10))\n// returns 49\n```\n\n",
|
|
2542
3183
|
"completion": {
|
|
2543
3184
|
"label": "Week",
|
|
2544
3185
|
"detail": "Week(dateValue, startDay?) -> Number",
|
|
@@ -2548,7 +3189,7 @@
|
|
|
2548
3189
|
"kind": 3,
|
|
2549
3190
|
"documentation": {
|
|
2550
3191
|
"kind": "markdown",
|
|
2551
|
-
"value": "**[Since version 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n지정된 날짜의 연도에 있는 주의 수를 반환합니다. 값의 범위는 0~53으로, 한 해의 첫 주는 `0`이며 한 해의 마지막 주는 해에 따라 `51`, `52` 또는 `53`입니다. 첫 주와 마지막 주는 7일이 모두 포함되지 않을 수 있습니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 주를 가져올 날짜 값입니다.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 주의 시작 요일을 나타내는 수입니다. 일요일 = 0, 월요일 = 1, 화요일 = 2, 수요일 = 3, 목요일 = 4, 금요일 = 5, 토요일 = 6. 기본값은 `0`(일요일)입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3192
|
+
"value": "**[Since version 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n지정된 날짜의 연도에 있는 주의 수를 반환합니다. 값의 범위는 0~53으로, 한 해의 첫 주는 `0`이며 한 해의 마지막 주는 해에 따라 `51`, `52` 또는 `53`입니다. 첫 주와 마지막 주는 7일이 모두 포함되지 않을 수 있습니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 주를 가져올 날짜 값입니다.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 주의 시작 요일을 나타내는 수입니다. 일요일 = 0, 월요일 = 1, 화요일 = 2, 수요일 = 3, 목요일 = 4, 금요일 = 5, 토요일 = 6. 기본값은 `0`(일요일)입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2552
3193
|
}
|
|
2553
3194
|
},
|
|
2554
3195
|
"parametersInfo": {
|
|
@@ -2562,7 +3203,7 @@
|
|
|
2562
3203
|
"bundle": "core",
|
|
2563
3204
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
|
|
2564
3205
|
"description": "지정된 날짜의 요일을 반환합니다. 값의 범위는 0~6으로, 일요일은 '0'이며 토요일은 '6'입니다.",
|
|
2565
|
-
"examples": "\n##### 예시\n\n지정된 날짜의 요일을 반환합니다. 수요일에 대해 '3'을 반환합니다.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
|
|
3206
|
+
"examples": "\n##### 예시\n\n지정된 날짜의 요일을 반환합니다. 수요일에 대해 '3'을 반환합니다.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value.\n\n```arcade\nWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
|
|
2566
3207
|
"completion": {
|
|
2567
3208
|
"label": "Weekday",
|
|
2568
3209
|
"detail": "Weekday(dateValue) -> Number",
|
|
@@ -2572,7 +3213,7 @@
|
|
|
2572
3213
|
"kind": 3,
|
|
2573
3214
|
"documentation": {
|
|
2574
3215
|
"kind": "markdown",
|
|
2575
|
-
"value": "지정된 날짜의 요일을 반환합니다. 값의 범위는 0~6으로, 일요일은 '0'이며 토요일은 '6'입니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 요일이 반환될 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3216
|
+
"value": "지정된 날짜의 요일을 반환합니다. 값의 범위는 0~6으로, 일요일은 '0'이며 토요일은 '6'입니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 요일이 반환될 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2576
3217
|
}
|
|
2577
3218
|
},
|
|
2578
3219
|
"parametersInfo": {
|
|
@@ -2586,7 +3227,7 @@
|
|
|
2586
3227
|
"bundle": "core",
|
|
2587
3228
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
|
|
2588
3229
|
"description": "지정 날짜의 연도를 반환합니다.",
|
|
2589
|
-
"examples": "\n##### 예시\n\n현재 날짜의 연도를 가져옵니다.\n\n```arcade\nYear(Now())\n```\n\n",
|
|
3230
|
+
"examples": "\n##### 예시\n\n현재 날짜의 연도를 가져옵니다.\n\n```arcade\nYear(Now())\n```\n\nGets the year of the given DateOnly value\n\n```arcade\nYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
|
|
2590
3231
|
"completion": {
|
|
2591
3232
|
"label": "Year",
|
|
2592
3233
|
"detail": "Year(dateValue) -> Number",
|
|
@@ -2596,7 +3237,7 @@
|
|
|
2596
3237
|
"kind": 3,
|
|
2597
3238
|
"documentation": {
|
|
2598
3239
|
"kind": "markdown",
|
|
2599
|
-
"value": "지정 날짜의 연도를 반환합니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 연도를 가져올 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3240
|
+
"value": "지정 날짜의 연도를 반환합니다.\n\n**매개변수**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 연도를 가져올 날짜 값입니다.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2600
3241
|
}
|
|
2601
3242
|
},
|
|
2602
3243
|
"parametersInfo": {
|
|
@@ -2682,6 +3323,31 @@
|
|
|
2682
3323
|
"max": 2
|
|
2683
3324
|
}
|
|
2684
3325
|
},
|
|
3326
|
+
{
|
|
3327
|
+
"type": "function",
|
|
3328
|
+
"name": "equals",
|
|
3329
|
+
"bundle": "core",
|
|
3330
|
+
"sinceVersion": "1.24",
|
|
3331
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
|
|
3332
|
+
"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.",
|
|
3333
|
+
"examples": "\n##### 예시\n\nCompares if two values are equal\n\n```arcade\nEquals(1, \"1\") // returns false\n\nvar testVal = \"test\";\nEquals(testVal, \"test\") // returns true\n\nvar array1 = Array(5);\nvar array2 = Array(5);\nEquals(array1, array2); // returns false\nEquals(array1, array1); // returns true\n```\n\n",
|
|
3334
|
+
"completion": {
|
|
3335
|
+
"label": "Equals",
|
|
3336
|
+
"detail": "Equals(value1, value2) -> Boolean",
|
|
3337
|
+
"insertText": "Equals(${1:value1_}, ${2:value2_})$0",
|
|
3338
|
+
"insertTextMode": 2,
|
|
3339
|
+
"insertTextFormat": 2,
|
|
3340
|
+
"kind": 3,
|
|
3341
|
+
"documentation": {
|
|
3342
|
+
"kind": "markdown",
|
|
3343
|
+
"value": "**[Since 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**매개변수**\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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
3344
|
+
}
|
|
3345
|
+
},
|
|
3346
|
+
"parametersInfo": {
|
|
3347
|
+
"min": 2,
|
|
3348
|
+
"max": 2
|
|
3349
|
+
}
|
|
3350
|
+
},
|
|
2685
3351
|
{
|
|
2686
3352
|
"type": "function",
|
|
2687
3353
|
"name": "iif",
|
|
@@ -6068,7 +6734,7 @@
|
|
|
6068
6734
|
"bundle": "core",
|
|
6069
6735
|
"link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
|
|
6070
6736
|
"description": "인수를 텍스트 값으로 변환하고 필요한 경우 형식을 지정합니다. 실패하면 `null`을 반환합니다.",
|
|
6071
|
-
"examples": "\n##### 예시\n\n소수점 왼쪽으로 숫자를 채움\n\n```arcade\nText(123, '0000') // '0123'\n```\n\n소수점 왼쪽으로 숫자를 제한함\n\n```arcade\nText(123, '00') // '23'\n```\n\n천 단위로 숫자를 나눔\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\n숫자를 소수 둘째 자리로 반올림함\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\n숫자 형식을 통화로 지정\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\n숫자를 소수 둘째 자리로 반올림함\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\n유효 자릿수는 유지하며 천 단위로 나눔\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\n숫자의 형식을 지정하고 양수/음수의 형식을 지정합니다. 음수 하위 패턴이 있으면 음수 접두어 및 접미사를 지정하는 데만 사용됩니다.\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\n100을 곱하고 백분율 형식으로 지정\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\n현재 날짜와 시간의 형식을 지정합니다(예시: 'Tuesday, October 25, 2016 @ 08:43:11')\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n`datetime` 필드에 저장된 날짜는 이미 현지 시간을 나타내지만 Arcade는 UTC로 가정합니다. 현지 시간을 UTC로 오프셋하여 표준 시간대 오프셋을 두 번 적용하지 않도록 합니다.\n\n```arcade\nText(
|
|
6737
|
+
"examples": "\n##### 예시\n\n소수점 왼쪽으로 숫자를 채움\n\n```arcade\nText(123, '0000') // '0123'\n```\n\n소수점 왼쪽으로 숫자를 제한함\n\n```arcade\nText(123, '00') // '23'\n```\n\n천 단위로 숫자를 나눔\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\n숫자를 소수 둘째 자리로 반올림함\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\n숫자 형식을 통화로 지정\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\n숫자를 소수 둘째 자리로 반올림함\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\n유효 자릿수는 유지하며 천 단위로 나눔\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\n숫자의 형식을 지정하고 양수/음수의 형식을 지정합니다. 음수 하위 패턴이 있으면 음수 접두어 및 접미사를 지정하는 데만 사용됩니다.\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\n100을 곱하고 백분율 형식으로 지정\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\n현재 날짜와 시간의 형식을 지정합니다(예시: 'Tuesday, October 25, 2016 @ 08:43:11')\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n`datetime` 필드에 저장된 날짜는 이미 현지 시간을 나타내지만 Arcade는 UTC로 가정합니다. 현지 시간을 UTC로 오프셋하여 표준 시간대 오프셋을 두 번 적용하지 않도록 합니다.\n\n```arcade\nText(startDate, 'ddd, MMM D, Y h:mm:ss A ZZZZ')\n// returns Thu, Sep 14, 2023 10:04:49 AM PDT\n```\n\n",
|
|
6072
6738
|
"completion": {
|
|
6073
6739
|
"label": "Text",
|
|
6074
6740
|
"detail": "Text(value, format?) -> Text",
|