@arcgis/coding-components 1.0.0-beta.12 → 1.0.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +851 -185
- 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/package.json +3 -3
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
"kind": 3,
|
|
458
458
|
"documentation": {
|
|
459
459
|
"kind": "markdown",
|
|
460
|
-
"value": "**[إصدار متعدد 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nإنشاء قيمة رمز تجزئة للمتغير المحدد.\n\n**المعلمة**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - المتغير المراد تجزئته.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
460
|
+
"value": "**[إصدار متعدد 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nإنشاء قيمة رمز تجزئة للمتغير المحدد.\n\n**المعلمة**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| DateOnly \\| Time - المتغير المراد تجزئته.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
461
461
|
}
|
|
462
462
|
},
|
|
463
463
|
"parametersInfo": {
|
|
@@ -1037,6 +1037,31 @@
|
|
|
1037
1037
|
"max": 2
|
|
1038
1038
|
}
|
|
1039
1039
|
},
|
|
1040
|
+
{
|
|
1041
|
+
"type": "function",
|
|
1042
|
+
"name": "equals",
|
|
1043
|
+
"bundle": "core",
|
|
1044
|
+
"sinceVersion": "1.24",
|
|
1045
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
|
|
1046
|
+
"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.",
|
|
1047
|
+
"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",
|
|
1048
|
+
"completion": {
|
|
1049
|
+
"label": "Equals",
|
|
1050
|
+
"detail": "Equals(value1, value2) -> Boolean",
|
|
1051
|
+
"insertText": "Equals(${1:value1_}, ${2:value2_})$0",
|
|
1052
|
+
"insertTextMode": 2,
|
|
1053
|
+
"insertTextFormat": 2,
|
|
1054
|
+
"kind": 3,
|
|
1055
|
+
"documentation": {
|
|
1056
|
+
"kind": "markdown",
|
|
1057
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates if two values are equal. Object types (i.e. Arrays, Features, Dictionaries, Geometry) will return true only if they are the same object.\n\n**معلمات**\n\n- **value1**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The first input value.\n- **value2**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The second input value.\n\n**إرجاع القيمة**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
"parametersInfo": {
|
|
1061
|
+
"min": 2,
|
|
1062
|
+
"max": 2
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1040
1065
|
{
|
|
1041
1066
|
"type": "function",
|
|
1042
1067
|
"name": "iif",
|
|
@@ -1510,7 +1535,7 @@
|
|
|
1510
1535
|
"bundle": "core",
|
|
1511
1536
|
"link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
|
|
1512
1537
|
"description": "تحول الوسيطة الخاصة بها إلى قيمة نصية وتنسقها اختياريًا. ويُرجع \\\"قيمة فارغة\\\" \\\"null\\\" في حالة الفشل.",
|
|
1513
|
-
"examples": "\n##### أمثلة\n\nتعبئة الرقم إلى يسار الكسر العشري\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nتقييد الرقم إلى يسار الكسر العشري\n\n```arcade\nText(123, '00') // '23'\n```\n\nتجميع الرقم بالآلاف\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nتقريب الرقم إلى خانتين عشريتين\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nتنسيق الرقم كعملة\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nتقريب الرقم إلى خانتين عشريتين\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nالاحتفاظ بالأرقام الهامة وتجميع بالآلاف\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nتنسيق الرقم وتنسيق إيجابي/سلبي - إذا وجد نمط فرعي سلبي، فإنه لا يعمل إلا لتحديد البادئة واللاحقة السلبيتين\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nالضرب في 100 والتنسيق كنسبة مئوية\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nتنسيق التاريخ والوقت في الوقت الحالي. على سبيل المثال \\\"الثلاثاء 25 أكتوبر 2016 في تمام الساعة 08:43:11\\\"\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nالبيانات الخزنة في حقل `datetime` تمثل التوقيت المحلي بالفعل، ولكن Arcade يفترض أنها بالتوقيت العالمي المنسق (UTC). يزيح التوقيت المحلي إلى التوقيت العالمي المنسق (UTC) لتجنب تطبيق إزاحة المنطقة الزمنية مرتين.\n\n```arcade\nText(
|
|
1538
|
+
"examples": "\n##### أمثلة\n\nتعبئة الرقم إلى يسار الكسر العشري\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nتقييد الرقم إلى يسار الكسر العشري\n\n```arcade\nText(123, '00') // '23'\n```\n\nتجميع الرقم بالآلاف\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nتقريب الرقم إلى خانتين عشريتين\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nتنسيق الرقم كعملة\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nتقريب الرقم إلى خانتين عشريتين\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nالاحتفاظ بالأرقام الهامة وتجميع بالآلاف\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nتنسيق الرقم وتنسيق إيجابي/سلبي - إذا وجد نمط فرعي سلبي، فإنه لا يعمل إلا لتحديد البادئة واللاحقة السلبيتين\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nالضرب في 100 والتنسيق كنسبة مئوية\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nتنسيق التاريخ والوقت في الوقت الحالي. على سبيل المثال \\\"الثلاثاء 25 أكتوبر 2016 في تمام الساعة 08:43:11\\\"\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nالبيانات الخزنة في حقل `datetime` تمثل التوقيت المحلي بالفعل، ولكن Arcade يفترض أنها بالتوقيت العالمي المنسق (UTC). يزيح التوقيت المحلي إلى التوقيت العالمي المنسق (UTC) لتجنب تطبيق إزاحة المنطقة الزمنية مرتين.\n\n```arcade\nText(startDate, 'ddd, MMM D, Y h:mm:ss A ZZZZ')\n// returns Thu, Sep 14, 2023 10:04:49 AM PDT\n```\n\n",
|
|
1514
1539
|
"completion": {
|
|
1515
1540
|
"label": "Text",
|
|
1516
1541
|
"detail": "Text(value, format?) -> Text",
|
|
@@ -2107,6 +2132,31 @@
|
|
|
2107
2132
|
"max": 4
|
|
2108
2133
|
}
|
|
2109
2134
|
},
|
|
2135
|
+
{
|
|
2136
|
+
"type": "function",
|
|
2137
|
+
"name": "featuresetbyrelationshipclass",
|
|
2138
|
+
"bundle": "data-access",
|
|
2139
|
+
"sinceVersion": "1.24",
|
|
2140
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
2141
|
+
"description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
|
|
2142
|
+
"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",
|
|
2143
|
+
"completion": {
|
|
2144
|
+
"label": "FeatureSetByRelationshipClass",
|
|
2145
|
+
"detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
|
|
2146
|
+
"insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
|
|
2147
|
+
"insertTextMode": 2,
|
|
2148
|
+
"insertTextFormat": 2,
|
|
2149
|
+
"kind": 3,
|
|
2150
|
+
"documentation": {
|
|
2151
|
+
"kind": "markdown",
|
|
2152
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature as a FeatureSet based on the class name of the relationship.\n\n**معلمات**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records. This feature must come from a feature service; feature collections are not supported.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The class name of the relationship according to the feature service associated with the given feature.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[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**إرجاع القيمة**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
"parametersInfo": {
|
|
2156
|
+
"min": 2,
|
|
2157
|
+
"max": 4
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2110
2160
|
{
|
|
2111
2161
|
"type": "function",
|
|
2112
2162
|
"name": "featuresetbyrelationshipname",
|
|
@@ -2867,29 +2917,54 @@
|
|
|
2867
2917
|
"id": "date_functions",
|
|
2868
2918
|
"title": "دوال التاريخ",
|
|
2869
2919
|
"items": [
|
|
2920
|
+
{
|
|
2921
|
+
"type": "function",
|
|
2922
|
+
"name": "changetimezone",
|
|
2923
|
+
"bundle": "core",
|
|
2924
|
+
"sinceVersion": "1.24",
|
|
2925
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
|
|
2926
|
+
"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`.",
|
|
2927
|
+
"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",
|
|
2928
|
+
"completion": {
|
|
2929
|
+
"label": "ChangeTimeZone",
|
|
2930
|
+
"detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
|
|
2931
|
+
"insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
|
|
2932
|
+
"insertTextMode": 2,
|
|
2933
|
+
"insertTextFormat": 2,
|
|
2934
|
+
"kind": 3,
|
|
2935
|
+
"documentation": {
|
|
2936
|
+
"kind": "markdown",
|
|
2937
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**معلمات**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. \nThe time zone must be one of the following:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2938
|
+
}
|
|
2939
|
+
},
|
|
2940
|
+
"parametersInfo": {
|
|
2941
|
+
"min": 2,
|
|
2942
|
+
"max": 2
|
|
2943
|
+
}
|
|
2944
|
+
},
|
|
2870
2945
|
[
|
|
2871
2946
|
{
|
|
2872
2947
|
"type": "function",
|
|
2873
2948
|
"name": "date",
|
|
2874
2949
|
"bundle": "core",
|
|
2875
2950
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
|
|
2876
|
-
"description": "
|
|
2877
|
-
"examples": "\n##### أمثلة\n\
|
|
2951
|
+
"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.",
|
|
2952
|
+
"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",
|
|
2878
2953
|
"completion": {
|
|
2879
2954
|
"label": "Date",
|
|
2880
|
-
"detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
|
|
2955
|
+
"detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
|
|
2881
2956
|
"insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
|
|
2882
2957
|
"insertTextMode": 2,
|
|
2883
2958
|
"insertTextFormat": 2,
|
|
2884
2959
|
"kind": 3,
|
|
2885
2960
|
"documentation": {
|
|
2886
2961
|
"kind": "markdown",
|
|
2887
|
-
"value": "
|
|
2962
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**معلمات**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2888
2963
|
}
|
|
2889
2964
|
},
|
|
2890
2965
|
"parametersInfo": {
|
|
2891
2966
|
"min": 3,
|
|
2892
|
-
"max":
|
|
2967
|
+
"max": 8
|
|
2893
2968
|
}
|
|
2894
2969
|
},
|
|
2895
2970
|
{
|
|
@@ -2897,8 +2972,8 @@
|
|
|
2897
2972
|
"name": "date",
|
|
2898
2973
|
"bundle": "core",
|
|
2899
2974
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
|
|
2900
|
-
"description": "
|
|
2901
|
-
"examples": "\n#####
|
|
2975
|
+
"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.",
|
|
2976
|
+
"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",
|
|
2902
2977
|
"completion": {
|
|
2903
2978
|
"label": "Date",
|
|
2904
2979
|
"detail": "Date(epoch?) -> Date",
|
|
@@ -2908,7 +2983,7 @@
|
|
|
2908
2983
|
"kind": 3,
|
|
2909
2984
|
"documentation": {
|
|
2910
2985
|
"kind": "markdown",
|
|
2911
|
-
"value": "
|
|
2986
|
+
"value": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.\n\n**المعلمة**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2912
2987
|
}
|
|
2913
2988
|
},
|
|
2914
2989
|
"parametersInfo": {
|
|
@@ -2921,8 +2996,8 @@
|
|
|
2921
2996
|
"name": "date",
|
|
2922
2997
|
"bundle": "core",
|
|
2923
2998
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
|
|
2924
|
-
"description": "
|
|
2925
|
-
"examples": "\n#####
|
|
2999
|
+
"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.",
|
|
3000
|
+
"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",
|
|
2926
3001
|
"completion": {
|
|
2927
3002
|
"label": "Date",
|
|
2928
3003
|
"detail": "Date(timestamp?) -> Date",
|
|
@@ -2932,154 +3007,386 @@
|
|
|
2932
3007
|
"kind": 3,
|
|
2933
3008
|
"documentation": {
|
|
2934
3009
|
"kind": "markdown",
|
|
2935
|
-
"value": "
|
|
3010
|
+
"value": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.\n\n**المعلمة**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - An ISO 8601 text value to be converted into a Date.\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2936
3011
|
}
|
|
2937
3012
|
},
|
|
2938
3013
|
"parametersInfo": {
|
|
2939
3014
|
"min": 0,
|
|
2940
3015
|
"max": 1
|
|
2941
3016
|
}
|
|
2942
|
-
}
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
"type": "function",
|
|
3020
|
+
"name": "date",
|
|
3021
|
+
"bundle": "core",
|
|
3022
|
+
"sinceVersion": "1.24",
|
|
3023
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
|
|
3024
|
+
"description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
|
|
3025
|
+
"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",
|
|
3026
|
+
"completion": {
|
|
3027
|
+
"label": "Date",
|
|
3028
|
+
"detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
|
|
3029
|
+
"insertText": "Date(${1:dateOnlyValue_})$0",
|
|
3030
|
+
"insertTextMode": 2,
|
|
3031
|
+
"insertTextFormat": 2,
|
|
3032
|
+
"kind": 3,
|
|
3033
|
+
"documentation": {
|
|
3034
|
+
"kind": "markdown",
|
|
3035
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**معلمات**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): Time - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
3038
|
+
"parametersInfo": {
|
|
3039
|
+
"min": 1,
|
|
3040
|
+
"max": 3
|
|
2961
3041
|
}
|
|
2962
3042
|
},
|
|
2963
|
-
|
|
2964
|
-
"
|
|
2965
|
-
"
|
|
3043
|
+
{
|
|
3044
|
+
"type": "function",
|
|
3045
|
+
"name": "date",
|
|
3046
|
+
"bundle": "core",
|
|
3047
|
+
"sinceVersion": "1.24",
|
|
3048
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
|
|
3049
|
+
"description": "Creates a copy of the given Date.",
|
|
3050
|
+
"examples": "\n##### مثال\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
|
|
3051
|
+
"completion": {
|
|
3052
|
+
"label": "Date",
|
|
3053
|
+
"detail": "Date(dateValue) -> Date",
|
|
3054
|
+
"insertText": "Date(${1:dateValue_})$0",
|
|
3055
|
+
"insertTextMode": 2,
|
|
3056
|
+
"insertTextFormat": 2,
|
|
3057
|
+
"kind": 3,
|
|
3058
|
+
"documentation": {
|
|
3059
|
+
"kind": "markdown",
|
|
3060
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
3061
|
+
}
|
|
3062
|
+
},
|
|
3063
|
+
"parametersInfo": {
|
|
3064
|
+
"min": 1,
|
|
3065
|
+
"max": 1
|
|
3066
|
+
}
|
|
2966
3067
|
}
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
"
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
"
|
|
2984
|
-
|
|
3068
|
+
],
|
|
3069
|
+
[
|
|
3070
|
+
{
|
|
3071
|
+
"type": "function",
|
|
3072
|
+
"name": "dateadd",
|
|
3073
|
+
"bundle": "core",
|
|
3074
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
|
|
3075
|
+
"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.",
|
|
3076
|
+
"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",
|
|
3077
|
+
"completion": {
|
|
3078
|
+
"label": "DateAdd",
|
|
3079
|
+
"detail": "DateAdd(dateValue, addValue, units?) -> Date",
|
|
3080
|
+
"insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
|
|
3081
|
+
"insertTextMode": 2,
|
|
3082
|
+
"insertTextFormat": 2,
|
|
3083
|
+
"kind": 3,
|
|
3084
|
+
"documentation": {
|
|
3085
|
+
"kind": "markdown",
|
|
3086
|
+
"value": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.\n\n**معلمات**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The input Date to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the Date in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the Date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
3087
|
+
}
|
|
3088
|
+
},
|
|
3089
|
+
"parametersInfo": {
|
|
3090
|
+
"min": 2,
|
|
3091
|
+
"max": 3
|
|
2985
3092
|
}
|
|
2986
3093
|
},
|
|
2987
|
-
|
|
2988
|
-
"
|
|
2989
|
-
"
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
"
|
|
3094
|
+
{
|
|
3095
|
+
"type": "function",
|
|
3096
|
+
"name": "dateadd",
|
|
3097
|
+
"bundle": "core",
|
|
3098
|
+
"sinceVersion": "1.24",
|
|
3099
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
|
|
3100
|
+
"description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
|
|
3101
|
+
"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",
|
|
3102
|
+
"completion": {
|
|
3103
|
+
"label": "DateAdd",
|
|
3104
|
+
"detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
|
|
3105
|
+
"insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
|
|
3106
|
+
"insertTextMode": 2,
|
|
3107
|
+
"insertTextFormat": 2,
|
|
3108
|
+
"kind": 3,
|
|
3109
|
+
"documentation": {
|
|
3110
|
+
"kind": "markdown",
|
|
3111
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.\n\n**معلمات**\n\n- **dateOnlyValue**: DateOnly - The input DateOnly value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the date in the given units. For DateOnly inputs, this value will be rounded down to the nearest day based on a 24-hour interval. If the value to be added is less than 24 hours, then no value will be added to the DateOnly input.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**إرجاع القيمة**: DateOnly"
|
|
3112
|
+
}
|
|
3113
|
+
},
|
|
3114
|
+
"parametersInfo": {
|
|
3115
|
+
"min": 2,
|
|
3116
|
+
"max": 3
|
|
3009
3117
|
}
|
|
3010
3118
|
},
|
|
3011
|
-
|
|
3012
|
-
"
|
|
3013
|
-
"
|
|
3119
|
+
{
|
|
3120
|
+
"type": "function",
|
|
3121
|
+
"name": "dateadd",
|
|
3122
|
+
"bundle": "core",
|
|
3123
|
+
"sinceVersion": "1.24",
|
|
3124
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
|
|
3125
|
+
"description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
|
|
3126
|
+
"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",
|
|
3127
|
+
"completion": {
|
|
3128
|
+
"label": "DateAdd",
|
|
3129
|
+
"detail": "DateAdd(timeValue, addValue, units?) -> Time",
|
|
3130
|
+
"insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
|
|
3131
|
+
"insertTextMode": 2,
|
|
3132
|
+
"insertTextFormat": 2,
|
|
3133
|
+
"kind": 3,
|
|
3134
|
+
"documentation": {
|
|
3135
|
+
"kind": "markdown",
|
|
3136
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a Time value and returns a new Time value.\n\n**معلمات**\n\n- **timeValue**: Time - The input Time value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the time in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`\n\n**إرجاع القيمة**: Time"
|
|
3137
|
+
}
|
|
3138
|
+
},
|
|
3139
|
+
"parametersInfo": {
|
|
3140
|
+
"min": 2,
|
|
3141
|
+
"max": 3
|
|
3142
|
+
}
|
|
3014
3143
|
}
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
"
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
"
|
|
3032
|
-
|
|
3144
|
+
],
|
|
3145
|
+
[
|
|
3146
|
+
{
|
|
3147
|
+
"type": "function",
|
|
3148
|
+
"name": "datediff",
|
|
3149
|
+
"bundle": "core",
|
|
3150
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
3151
|
+
"description": "Subtracts two Dates, and returns the difference in the specified units.",
|
|
3152
|
+
"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",
|
|
3153
|
+
"completion": {
|
|
3154
|
+
"label": "DateDiff",
|
|
3155
|
+
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
3156
|
+
"insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
|
|
3157
|
+
"insertTextMode": 2,
|
|
3158
|
+
"insertTextFormat": 2,
|
|
3159
|
+
"kind": 3,
|
|
3160
|
+
"documentation": {
|
|
3161
|
+
"kind": "markdown",
|
|
3162
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**معلمات**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. \nPossible values: \n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3163
|
+
}
|
|
3164
|
+
},
|
|
3165
|
+
"parametersInfo": {
|
|
3166
|
+
"min": 2,
|
|
3167
|
+
"max": 4
|
|
3033
3168
|
}
|
|
3034
3169
|
},
|
|
3035
|
-
|
|
3036
|
-
"
|
|
3037
|
-
"
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
"
|
|
3056
|
-
"
|
|
3057
|
-
"
|
|
3170
|
+
{
|
|
3171
|
+
"type": "function",
|
|
3172
|
+
"name": "datediff",
|
|
3173
|
+
"bundle": "core",
|
|
3174
|
+
"sinceVersion": "1.24",
|
|
3175
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
|
|
3176
|
+
"description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
|
|
3177
|
+
"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",
|
|
3178
|
+
"completion": {
|
|
3179
|
+
"label": "DateDiff",
|
|
3180
|
+
"detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
|
|
3181
|
+
"insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
|
|
3182
|
+
"insertTextMode": 2,
|
|
3183
|
+
"insertTextFormat": 2,
|
|
3184
|
+
"kind": 3,
|
|
3185
|
+
"documentation": {
|
|
3186
|
+
"kind": "markdown",
|
|
3187
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two DateOnly values, and returns the difference in the specified units.\n\n**معلمات**\n\n- **dateOnly1**: DateOnly - The DateOnly value from which to subtract a second DateOnly value.\n- **dateOnly2**: DateOnly - The DateOnly value to subtract from the first given DateOnly value.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given DateOnly values. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3188
|
+
}
|
|
3189
|
+
},
|
|
3190
|
+
"parametersInfo": {
|
|
3191
|
+
"min": 2,
|
|
3192
|
+
"max": 3
|
|
3058
3193
|
}
|
|
3059
3194
|
},
|
|
3060
|
-
|
|
3061
|
-
"
|
|
3062
|
-
"
|
|
3195
|
+
{
|
|
3196
|
+
"type": "function",
|
|
3197
|
+
"name": "datediff",
|
|
3198
|
+
"bundle": "core",
|
|
3199
|
+
"sinceVersion": "1.24",
|
|
3200
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
|
|
3201
|
+
"description": "Subtracts two Time values, and returns the difference in the specified units.",
|
|
3202
|
+
"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",
|
|
3203
|
+
"completion": {
|
|
3204
|
+
"label": "DateDiff",
|
|
3205
|
+
"detail": "DateDiff(time1, time2, units?) -> Number",
|
|
3206
|
+
"insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
|
|
3207
|
+
"insertTextMode": 2,
|
|
3208
|
+
"insertTextFormat": 2,
|
|
3209
|
+
"kind": 3,
|
|
3210
|
+
"documentation": {
|
|
3211
|
+
"kind": "markdown",
|
|
3212
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two Time values, and returns the difference in the specified units.\n\n**معلمات**\n\n- **time1**: Time - The Time value from which to subtract a second Time value.\n- **time2**: Time - The Time value to subtract from the first given Time value.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Time values. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`. The default value is `milliseconds`.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3213
|
+
}
|
|
3214
|
+
},
|
|
3215
|
+
"parametersInfo": {
|
|
3216
|
+
"min": 2,
|
|
3217
|
+
"max": 3
|
|
3218
|
+
}
|
|
3063
3219
|
}
|
|
3064
|
-
|
|
3065
|
-
|
|
3220
|
+
],
|
|
3221
|
+
[
|
|
3222
|
+
{
|
|
3223
|
+
"type": "function",
|
|
3224
|
+
"name": "dateonly",
|
|
3225
|
+
"bundle": "core",
|
|
3226
|
+
"sinceVersion": "1.24",
|
|
3227
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
|
|
3228
|
+
"description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
|
|
3229
|
+
"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",
|
|
3230
|
+
"completion": {
|
|
3231
|
+
"label": "DateOnly",
|
|
3232
|
+
"detail": "DateOnly() -> DateOnly",
|
|
3233
|
+
"insertText": "DateOnly($0)",
|
|
3234
|
+
"insertTextMode": 2,
|
|
3235
|
+
"insertTextFormat": 2,
|
|
3236
|
+
"kind": 3,
|
|
3237
|
+
"documentation": {
|
|
3238
|
+
"kind": "markdown",
|
|
3239
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value based on the current date in the time zone of the profile's execution context.\n\n**إرجاع القيمة**: DateOnly"
|
|
3240
|
+
}
|
|
3241
|
+
},
|
|
3242
|
+
"parametersInfo": {
|
|
3243
|
+
"min": 0,
|
|
3244
|
+
"max": 0
|
|
3245
|
+
}
|
|
3246
|
+
},
|
|
3247
|
+
{
|
|
3248
|
+
"type": "function",
|
|
3249
|
+
"name": "dateonly",
|
|
3250
|
+
"bundle": "core",
|
|
3251
|
+
"sinceVersion": "1.24",
|
|
3252
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
|
|
3253
|
+
"description": "Creates a DateOnly value from a given date.",
|
|
3254
|
+
"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",
|
|
3255
|
+
"completion": {
|
|
3256
|
+
"label": "DateOnly",
|
|
3257
|
+
"detail": "DateOnly(dateValue) -> DateOnly",
|
|
3258
|
+
"insertText": "DateOnly(${1:dateValue_})$0",
|
|
3259
|
+
"insertTextMode": 2,
|
|
3260
|
+
"insertTextFormat": 2,
|
|
3261
|
+
"kind": 3,
|
|
3262
|
+
"documentation": {
|
|
3263
|
+
"kind": "markdown",
|
|
3264
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**إرجاع القيمة**: DateOnly"
|
|
3265
|
+
}
|
|
3266
|
+
},
|
|
3267
|
+
"parametersInfo": {
|
|
3268
|
+
"min": 1,
|
|
3269
|
+
"max": 1
|
|
3270
|
+
}
|
|
3271
|
+
},
|
|
3272
|
+
{
|
|
3273
|
+
"type": "function",
|
|
3274
|
+
"name": "dateonly",
|
|
3275
|
+
"bundle": "core",
|
|
3276
|
+
"sinceVersion": "1.24",
|
|
3277
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
|
|
3278
|
+
"description": "Creates a DateOnly date with the given Unix epoch number.",
|
|
3279
|
+
"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",
|
|
3280
|
+
"completion": {
|
|
3281
|
+
"label": "DateOnly",
|
|
3282
|
+
"detail": "DateOnly(epoch) -> DateOnly",
|
|
3283
|
+
"insertText": "DateOnly(${1:epoch_})$0",
|
|
3284
|
+
"insertTextMode": 2,
|
|
3285
|
+
"insertTextFormat": 2,
|
|
3286
|
+
"kind": 3,
|
|
3287
|
+
"documentation": {
|
|
3288
|
+
"kind": "markdown",
|
|
3289
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**المعلمة**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**إرجاع القيمة**: DateOnly"
|
|
3290
|
+
}
|
|
3291
|
+
},
|
|
3292
|
+
"parametersInfo": {
|
|
3293
|
+
"min": 1,
|
|
3294
|
+
"max": 1
|
|
3295
|
+
}
|
|
3296
|
+
},
|
|
3297
|
+
{
|
|
3298
|
+
"type": "function",
|
|
3299
|
+
"name": "dateonly",
|
|
3300
|
+
"bundle": "core",
|
|
3301
|
+
"sinceVersion": "1.24",
|
|
3302
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
|
|
3303
|
+
"description": "Creates a DateOnly value from inputs representing the year, month, and day.",
|
|
3304
|
+
"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",
|
|
3305
|
+
"completion": {
|
|
3306
|
+
"label": "DateOnly",
|
|
3307
|
+
"detail": "DateOnly(year, month, day) -> DateOnly",
|
|
3308
|
+
"insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
|
|
3309
|
+
"insertTextMode": 2,
|
|
3310
|
+
"insertTextFormat": 2,
|
|
3311
|
+
"kind": 3,
|
|
3312
|
+
"documentation": {
|
|
3313
|
+
"kind": "markdown",
|
|
3314
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from inputs representing the year, month, and day.\n\n**معلمات**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n\n**إرجاع القيمة**: DateOnly"
|
|
3315
|
+
}
|
|
3316
|
+
},
|
|
3317
|
+
"parametersInfo": {
|
|
3318
|
+
"min": 3,
|
|
3319
|
+
"max": 3
|
|
3320
|
+
}
|
|
3321
|
+
},
|
|
3322
|
+
{
|
|
3323
|
+
"type": "function",
|
|
3324
|
+
"name": "dateonly",
|
|
3325
|
+
"bundle": "core",
|
|
3326
|
+
"sinceVersion": "1.24",
|
|
3327
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
|
|
3328
|
+
"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.",
|
|
3329
|
+
"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",
|
|
3330
|
+
"completion": {
|
|
3331
|
+
"label": "DateOnly",
|
|
3332
|
+
"detail": "DateOnly(dateValue, format?) -> DateOnly",
|
|
3333
|
+
"insertText": "DateOnly(${1:dateValue_})$0",
|
|
3334
|
+
"insertTextMode": 2,
|
|
3335
|
+
"insertTextFormat": 2,
|
|
3336
|
+
"kind": 3,
|
|
3337
|
+
"documentation": {
|
|
3338
|
+
"kind": "markdown",
|
|
3339
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a text input representing an ISO formatted date, or another formatted text with an additional input indicating the date's format.\n\n**معلمات**\n\n- **dateValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value representing a date. This should either be an ISO formatted date or another formatted text representing a date. If this value does not follow ISO format, the `format` parameter must be defined indicating the date's format.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value indicating the format of the `dateValue` input. \nPossible values: \n - `D`: Day of the month, not padded (1 - 31) \n - `DD`: Day of the month, padded (01 - 31) \n - `DDD`: Ordinal day of the year (1 - 365) \n - `d`: Day of the week (1 - 7) \n - `ddd`: Abbreviated day of the week (e.g. Mon) \n - `dddd`: Full day of the week (e.g. Monday) \n - `M`: Month number (1 - 12) \n - `MM`: Month number, padded (01 - 12) \n - `MMM`: Abbreviated month name (e.g. Jan) \n - `MMMM`: Full month name (e.g. January) \n - `Y`: Full year \n - `YY`: Two-digit year \n\n\n**إرجاع القيمة**: DateOnly"
|
|
3340
|
+
}
|
|
3341
|
+
},
|
|
3342
|
+
"parametersInfo": {
|
|
3343
|
+
"min": 1,
|
|
3344
|
+
"max": 2
|
|
3345
|
+
}
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
"type": "function",
|
|
3349
|
+
"name": "dateonly",
|
|
3350
|
+
"bundle": "core",
|
|
3351
|
+
"sinceVersion": "1.24",
|
|
3352
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
|
|
3353
|
+
"description": "Creates a copy of a DateOnly value.",
|
|
3354
|
+
"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",
|
|
3355
|
+
"completion": {
|
|
3356
|
+
"label": "DateOnly",
|
|
3357
|
+
"detail": "DateOnly(dateOnlyValue) -> DateOnly",
|
|
3358
|
+
"insertText": "DateOnly(${1:dateOnlyValue_})$0",
|
|
3359
|
+
"insertTextMode": 2,
|
|
3360
|
+
"insertTextFormat": 2,
|
|
3361
|
+
"kind": 3,
|
|
3362
|
+
"documentation": {
|
|
3363
|
+
"kind": "markdown",
|
|
3364
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**المعلمة**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**إرجاع القيمة**: DateOnly"
|
|
3365
|
+
}
|
|
3366
|
+
},
|
|
3367
|
+
"parametersInfo": {
|
|
3368
|
+
"min": 1,
|
|
3369
|
+
"max": 1
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
],
|
|
3373
|
+
{
|
|
3066
3374
|
"type": "function",
|
|
3067
|
-
"name": "
|
|
3375
|
+
"name": "day",
|
|
3068
3376
|
"bundle": "core",
|
|
3069
|
-
"
|
|
3070
|
-
"
|
|
3071
|
-
"
|
|
3072
|
-
"examples": "\n##### مثال\n\nالحصول على أسبوع التاريخ المحدد بناءً على معيار ISO 8601. إرجاع \\\"1\\\" نظرًا لوجود هذا التاريخ في الأسبوع الأول من العام التالي.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
|
|
3377
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
|
|
3378
|
+
"description": "ترجع تاريخ الشهر من التاريخ المتوفر.",
|
|
3379
|
+
"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",
|
|
3073
3380
|
"completion": {
|
|
3074
|
-
"label": "
|
|
3075
|
-
"detail": "
|
|
3076
|
-
"insertText": "
|
|
3381
|
+
"label": "Day",
|
|
3382
|
+
"detail": "Day(dateValue) -> Number",
|
|
3383
|
+
"insertText": "Day(${1:dateValue_})$0",
|
|
3077
3384
|
"insertTextMode": 2,
|
|
3078
3385
|
"insertTextFormat": 2,
|
|
3079
3386
|
"kind": 3,
|
|
3080
3387
|
"documentation": {
|
|
3081
3388
|
"kind": "markdown",
|
|
3082
|
-
"value": "
|
|
3389
|
+
"value": "ترجع تاريخ الشهر من التاريخ المتوفر.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - قيمة التاريخ من القيمة التي تحصل على تاريخ الشهر.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3083
3390
|
}
|
|
3084
3391
|
},
|
|
3085
3392
|
"parametersInfo": {
|
|
@@ -3087,24 +3394,75 @@
|
|
|
3087
3394
|
"max": 1
|
|
3088
3395
|
}
|
|
3089
3396
|
},
|
|
3397
|
+
[
|
|
3398
|
+
{
|
|
3399
|
+
"type": "function",
|
|
3400
|
+
"name": "hour",
|
|
3401
|
+
"bundle": "core",
|
|
3402
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
|
|
3403
|
+
"description": "Returns the hour of the time in the given date (0-23).",
|
|
3404
|
+
"examples": "\n##### مثال\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
|
|
3405
|
+
"completion": {
|
|
3406
|
+
"label": "Hour",
|
|
3407
|
+
"detail": "Hour(dateValue) -> Number",
|
|
3408
|
+
"insertText": "Hour(${1:dateValue_})$0",
|
|
3409
|
+
"insertTextMode": 2,
|
|
3410
|
+
"insertTextFormat": 2,
|
|
3411
|
+
"kind": 3,
|
|
3412
|
+
"documentation": {
|
|
3413
|
+
"kind": "markdown",
|
|
3414
|
+
"value": "Returns the hour of the time in the given date (0-23).\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the hour of the time.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3415
|
+
}
|
|
3416
|
+
},
|
|
3417
|
+
"parametersInfo": {
|
|
3418
|
+
"min": 1,
|
|
3419
|
+
"max": 1
|
|
3420
|
+
}
|
|
3421
|
+
},
|
|
3422
|
+
{
|
|
3423
|
+
"type": "function",
|
|
3424
|
+
"name": "hour",
|
|
3425
|
+
"bundle": "core",
|
|
3426
|
+
"sinceVersion": "1.24",
|
|
3427
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
|
|
3428
|
+
"description": "Returns the hour of the given time (0-23).",
|
|
3429
|
+
"examples": "\n##### مثال\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
|
|
3430
|
+
"completion": {
|
|
3431
|
+
"label": "Hour",
|
|
3432
|
+
"detail": "Hour(timeValue) -> Number",
|
|
3433
|
+
"insertText": "Hour(${1:timeValue_})$0",
|
|
3434
|
+
"insertTextMode": 2,
|
|
3435
|
+
"insertTextFormat": 2,
|
|
3436
|
+
"kind": 3,
|
|
3437
|
+
"documentation": {
|
|
3438
|
+
"kind": "markdown",
|
|
3439
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**المعلمة**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3440
|
+
}
|
|
3441
|
+
},
|
|
3442
|
+
"parametersInfo": {
|
|
3443
|
+
"min": 1,
|
|
3444
|
+
"max": 1
|
|
3445
|
+
}
|
|
3446
|
+
}
|
|
3447
|
+
],
|
|
3090
3448
|
{
|
|
3091
3449
|
"type": "function",
|
|
3092
|
-
"name": "
|
|
3450
|
+
"name": "isomonth",
|
|
3093
3451
|
"bundle": "core",
|
|
3094
3452
|
"sinceVersion": "1.12",
|
|
3095
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
3096
|
-
"description": "إرجاع
|
|
3097
|
-
"examples": "\n#####
|
|
3453
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
|
|
3454
|
+
"description": "إرجاع شهر التاريخ المحدد بناءً على معيار ISO 8601. تتراوح القيم بين \\\"1\\\" و\\\"12\\\" حيث يكون يناير \\\"1\\\" وديسمبر \\\"12\\\".",
|
|
3455
|
+
"examples": "\n##### أمثلة\n\nالحصول على شهر التاريخ المحدد بناءً على معيار ISO 8601. إرجاع \\\"12\\\"، لشهر ديسمبر.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\nGets the month of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOMonth(DateOnly(1996, 0, 10))\n// returns 1, for January\n```\n\n",
|
|
3098
3456
|
"completion": {
|
|
3099
|
-
"label": "
|
|
3100
|
-
"detail": "
|
|
3101
|
-
"insertText": "
|
|
3457
|
+
"label": "ISOMonth",
|
|
3458
|
+
"detail": "ISOMonth(dateValue) -> Number",
|
|
3459
|
+
"insertText": "ISOMonth(${1:dateValue_})$0",
|
|
3102
3460
|
"insertTextMode": 2,
|
|
3103
3461
|
"insertTextFormat": 2,
|
|
3104
3462
|
"kind": 3,
|
|
3105
3463
|
"documentation": {
|
|
3106
3464
|
"kind": "markdown",
|
|
3107
|
-
"value": "**[إصدار متعدد 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nإرجاع
|
|
3465
|
+
"value": "**[إصدار متعدد 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nإرجاع شهر التاريخ المحدد بناءً على معيار ISO 8601. تتراوح القيم بين \\\"1\\\" و\\\"12\\\" حيث يكون يناير \\\"1\\\" وديسمبر \\\"12\\\".\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - قيمة التاريخ من القيمة التي تحصل منها على الشهر.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3108
3466
|
}
|
|
3109
3467
|
},
|
|
3110
3468
|
"parametersInfo": {
|
|
@@ -3114,22 +3472,22 @@
|
|
|
3114
3472
|
},
|
|
3115
3473
|
{
|
|
3116
3474
|
"type": "function",
|
|
3117
|
-
"name": "
|
|
3475
|
+
"name": "isoweek",
|
|
3118
3476
|
"bundle": "core",
|
|
3119
3477
|
"sinceVersion": "1.12",
|
|
3120
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
3121
|
-
"description": "
|
|
3122
|
-
"examples": "\n#####
|
|
3478
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
|
|
3479
|
+
"description": "إرجاع الأسبوع في سنة التاريخ المحدد بناءً على تقويم تواريخ الأسبوع ISO 8601. تتراوح القيم بين 1 و53 حيث يكون الأسبوع الأول من العام \\\"1\\\" والأسبوع الأخير من العام \\\"52\\\" أو \\\"53\\\"، حسب العام.",
|
|
3480
|
+
"examples": "\n##### أمثلة\n\nالحصول على أسبوع التاريخ المحدد بناءً على معيار ISO 8601. إرجاع \\\"1\\\" نظرًا لوجود هذا التاريخ في الأسبوع الأول من العام التالي.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\nGets the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeek(DateOnly(1996, 11, 10))\n// returns 50\n```\n\n",
|
|
3123
3481
|
"completion": {
|
|
3124
|
-
"label": "
|
|
3125
|
-
"detail": "
|
|
3126
|
-
"insertText": "
|
|
3482
|
+
"label": "ISOWeek",
|
|
3483
|
+
"detail": "ISOWeek(dateValue) -> Number",
|
|
3484
|
+
"insertText": "ISOWeek(${1:dateValue_})$0",
|
|
3127
3485
|
"insertTextMode": 2,
|
|
3128
3486
|
"insertTextFormat": 2,
|
|
3129
3487
|
"kind": 3,
|
|
3130
3488
|
"documentation": {
|
|
3131
3489
|
"kind": "markdown",
|
|
3132
|
-
"value": "**[إصدار متعدد 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n
|
|
3490
|
+
"value": "**[إصدار متعدد 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nإرجاع الأسبوع في سنة التاريخ المحدد بناءً على تقويم تواريخ الأسبوع ISO 8601. تتراوح القيم بين 1 و53 حيث يكون الأسبوع الأول من العام \\\"1\\\" والأسبوع الأخير من العام \\\"52\\\" أو \\\"53\\\"، حسب العام.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - قيمة تاريخ يتم من خلالها الحصول على الأسبوع.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3133
3491
|
}
|
|
3134
3492
|
},
|
|
3135
3493
|
"parametersInfo": {
|
|
@@ -3139,21 +3497,22 @@
|
|
|
3139
3497
|
},
|
|
3140
3498
|
{
|
|
3141
3499
|
"type": "function",
|
|
3142
|
-
"name": "
|
|
3500
|
+
"name": "isoweekday",
|
|
3143
3501
|
"bundle": "core",
|
|
3144
|
-
"
|
|
3145
|
-
"
|
|
3146
|
-
"
|
|
3502
|
+
"sinceVersion": "1.12",
|
|
3503
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
|
|
3504
|
+
"description": "إرجاع يوم الأسبوع في التاريخ المحدد بناءً على معيار ISO 8601. تتراوح القيم بين 1 و7 حيث يكون يوم الاثنين \\\"1\\\" والأحد \\\"7\\\".",
|
|
3505
|
+
"examples": "\n##### أمثلة\n\nإرجاع يوم الأسبوع في التاريخ المحدد بناءً على معيار ISO 8601. إرجاع \\\"3\\\"، ليوم الأربعاء.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
|
|
3147
3506
|
"completion": {
|
|
3148
|
-
"label": "
|
|
3149
|
-
"detail": "
|
|
3150
|
-
"insertText": "
|
|
3507
|
+
"label": "ISOWeekday",
|
|
3508
|
+
"detail": "ISOWeekday(dateValue) -> Number",
|
|
3509
|
+
"insertText": "ISOWeekday(${1:dateValue_})$0",
|
|
3151
3510
|
"insertTextMode": 2,
|
|
3152
3511
|
"insertTextFormat": 2,
|
|
3153
3512
|
"kind": 3,
|
|
3154
3513
|
"documentation": {
|
|
3155
3514
|
"kind": "markdown",
|
|
3156
|
-
"value": "
|
|
3515
|
+
"value": "**[إصدار متعدد 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nإرجاع يوم الأسبوع في التاريخ المحدد بناءً على معيار ISO 8601. تتراوح القيم بين 1 و7 حيث يكون يوم الاثنين \\\"1\\\" والأحد \\\"7\\\".\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - قيمة التاريخ من القيمة التي ترجع يوم الأسبوع.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3157
3516
|
}
|
|
3158
3517
|
},
|
|
3159
3518
|
"parametersInfo": {
|
|
@@ -3163,21 +3522,22 @@
|
|
|
3163
3522
|
},
|
|
3164
3523
|
{
|
|
3165
3524
|
"type": "function",
|
|
3166
|
-
"name": "
|
|
3525
|
+
"name": "isoyear",
|
|
3167
3526
|
"bundle": "core",
|
|
3168
|
-
"
|
|
3169
|
-
"
|
|
3170
|
-
"
|
|
3527
|
+
"sinceVersion": "1.12",
|
|
3528
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
|
|
3529
|
+
"description": "يُرجع سنة التاريخ المحدد بناءً على تقويم تواريخ الأسبوع ISO 8601.",
|
|
3530
|
+
"examples": "\n##### أمثلة\n\nالحصول على سنة التاريخ المحدد بناءً على تقويم تواريخ الأسبوع ISO 8601. إرجاع \\\"1981\\\" نظرًا لوجود هذا التاريخ في الأسبوع الأول من العام التالي.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\nGets the year of the given DateOnly value, based on the ISO 8601 week date calendar.\n\n```arcade\nISOYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
|
|
3171
3531
|
"completion": {
|
|
3172
|
-
"label": "
|
|
3173
|
-
"detail": "
|
|
3174
|
-
"insertText": "
|
|
3532
|
+
"label": "ISOYear",
|
|
3533
|
+
"detail": "ISOYear(dateValue) -> Number",
|
|
3534
|
+
"insertText": "ISOYear(${1:dateValue_})$0",
|
|
3175
3535
|
"insertTextMode": 2,
|
|
3176
3536
|
"insertTextFormat": 2,
|
|
3177
3537
|
"kind": 3,
|
|
3178
3538
|
"documentation": {
|
|
3179
3539
|
"kind": "markdown",
|
|
3180
|
-
"value": "
|
|
3540
|
+
"value": "**[إصدار متعدد 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nيُرجع سنة التاريخ المحدد بناءً على تقويم تواريخ الأسبوع ISO 8601.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - قيمة التاريخ التي تحصل منها على العام.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3181
3541
|
}
|
|
3182
3542
|
},
|
|
3183
3543
|
"parametersInfo": {
|
|
@@ -3185,13 +3545,115 @@
|
|
|
3185
3545
|
"max": 1
|
|
3186
3546
|
}
|
|
3187
3547
|
},
|
|
3548
|
+
[
|
|
3549
|
+
{
|
|
3550
|
+
"type": "function",
|
|
3551
|
+
"name": "millisecond",
|
|
3552
|
+
"bundle": "core",
|
|
3553
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
|
|
3554
|
+
"description": "Returns the millisecond of the time in the date.",
|
|
3555
|
+
"examples": "\n##### مثال\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
|
|
3556
|
+
"completion": {
|
|
3557
|
+
"label": "Millisecond",
|
|
3558
|
+
"detail": "Millisecond(dateValue) -> Number",
|
|
3559
|
+
"insertText": "Millisecond(${1:dateValue_})$0",
|
|
3560
|
+
"insertTextMode": 2,
|
|
3561
|
+
"insertTextFormat": 2,
|
|
3562
|
+
"kind": 3,
|
|
3563
|
+
"documentation": {
|
|
3564
|
+
"kind": "markdown",
|
|
3565
|
+
"value": "Returns the millisecond of the time in the date.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the millisecond of the time.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3566
|
+
}
|
|
3567
|
+
},
|
|
3568
|
+
"parametersInfo": {
|
|
3569
|
+
"min": 1,
|
|
3570
|
+
"max": 1
|
|
3571
|
+
}
|
|
3572
|
+
},
|
|
3573
|
+
{
|
|
3574
|
+
"type": "function",
|
|
3575
|
+
"name": "millisecond",
|
|
3576
|
+
"bundle": "core",
|
|
3577
|
+
"sinceVersion": "1.24",
|
|
3578
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
|
|
3579
|
+
"description": "Returns the millisecond of the given time.",
|
|
3580
|
+
"examples": "\n##### مثال\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
|
|
3581
|
+
"completion": {
|
|
3582
|
+
"label": "Millisecond",
|
|
3583
|
+
"detail": "Millisecond(timeValue) -> Number",
|
|
3584
|
+
"insertText": "Millisecond(${1:timeValue_})$0",
|
|
3585
|
+
"insertTextMode": 2,
|
|
3586
|
+
"insertTextFormat": 2,
|
|
3587
|
+
"kind": 3,
|
|
3588
|
+
"documentation": {
|
|
3589
|
+
"kind": "markdown",
|
|
3590
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**المعلمة**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3591
|
+
}
|
|
3592
|
+
},
|
|
3593
|
+
"parametersInfo": {
|
|
3594
|
+
"min": 1,
|
|
3595
|
+
"max": 1
|
|
3596
|
+
}
|
|
3597
|
+
}
|
|
3598
|
+
],
|
|
3599
|
+
[
|
|
3600
|
+
{
|
|
3601
|
+
"type": "function",
|
|
3602
|
+
"name": "minute",
|
|
3603
|
+
"bundle": "core",
|
|
3604
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
|
|
3605
|
+
"description": "Returns the minute of the time in the given date.",
|
|
3606
|
+
"examples": "\n##### مثال\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
|
|
3607
|
+
"completion": {
|
|
3608
|
+
"label": "Minute",
|
|
3609
|
+
"detail": "Minute(dateValue) -> Number",
|
|
3610
|
+
"insertText": "Minute(${1:dateValue_})$0",
|
|
3611
|
+
"insertTextMode": 2,
|
|
3612
|
+
"insertTextFormat": 2,
|
|
3613
|
+
"kind": 3,
|
|
3614
|
+
"documentation": {
|
|
3615
|
+
"kind": "markdown",
|
|
3616
|
+
"value": "Returns the minute of the time in the given date.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the minute of the time.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3617
|
+
}
|
|
3618
|
+
},
|
|
3619
|
+
"parametersInfo": {
|
|
3620
|
+
"min": 1,
|
|
3621
|
+
"max": 1
|
|
3622
|
+
}
|
|
3623
|
+
},
|
|
3624
|
+
{
|
|
3625
|
+
"type": "function",
|
|
3626
|
+
"name": "minute",
|
|
3627
|
+
"bundle": "core",
|
|
3628
|
+
"sinceVersion": "1.24",
|
|
3629
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
|
|
3630
|
+
"description": "Returns the minute of the given time.",
|
|
3631
|
+
"examples": "\n##### مثال\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
|
|
3632
|
+
"completion": {
|
|
3633
|
+
"label": "Minute",
|
|
3634
|
+
"detail": "Minute(timeValue) -> Number",
|
|
3635
|
+
"insertText": "Minute(${1:timeValue_})$0",
|
|
3636
|
+
"insertTextMode": 2,
|
|
3637
|
+
"insertTextFormat": 2,
|
|
3638
|
+
"kind": 3,
|
|
3639
|
+
"documentation": {
|
|
3640
|
+
"kind": "markdown",
|
|
3641
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**المعلمة**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3642
|
+
}
|
|
3643
|
+
},
|
|
3644
|
+
"parametersInfo": {
|
|
3645
|
+
"min": 1,
|
|
3646
|
+
"max": 1
|
|
3647
|
+
}
|
|
3648
|
+
}
|
|
3649
|
+
],
|
|
3188
3650
|
{
|
|
3189
3651
|
"type": "function",
|
|
3190
3652
|
"name": "month",
|
|
3191
3653
|
"bundle": "core",
|
|
3192
3654
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
|
|
3193
3655
|
"description": "ترجع شهر التاريخ المتوفر. تتراوح القيم من 0-11 حيث يناير هو القيمة `0` وديسمبر هو القيمة `11`.",
|
|
3194
|
-
"examples": "\n#####
|
|
3656
|
+
"examples": "\n##### أمثلة\n\nالحصول على شهر التاريخ المحدد. إرجاع 11 من شهر ديسمبر.\n\n```arcade\nMonth(Date(1980, 11, 31))\n// returns 11\n```\n\nGets the month of the given DateOnly value.\n\n```arcade\nMonth(DateOnly(1996, 0, 31))\n// returns 0, for the month of January\n```\n\n",
|
|
3195
3657
|
"completion": {
|
|
3196
3658
|
"label": "Month",
|
|
3197
3659
|
"detail": "Month(dateValue) -> Number",
|
|
@@ -3201,7 +3663,7 @@
|
|
|
3201
3663
|
"kind": 3,
|
|
3202
3664
|
"documentation": {
|
|
3203
3665
|
"kind": "markdown",
|
|
3204
|
-
"value": "ترجع شهر التاريخ المتوفر. تتراوح القيم من 0-11 حيث يناير هو القيمة `0` وديسمبر هو القيمة `11`.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - قيمة التاريخ من القيمة التي تحصل منها على الشهر.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3666
|
+
"value": "ترجع شهر التاريخ المتوفر. تتراوح القيم من 0-11 حيث يناير هو القيمة `0` وديسمبر هو القيمة `11`.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - قيمة التاريخ من القيمة التي تحصل منها على الشهر.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3205
3667
|
}
|
|
3206
3668
|
},
|
|
3207
3669
|
"parametersInfo": {
|
|
@@ -3233,23 +3695,227 @@
|
|
|
3233
3695
|
"max": 0
|
|
3234
3696
|
}
|
|
3235
3697
|
},
|
|
3698
|
+
[
|
|
3699
|
+
{
|
|
3700
|
+
"type": "function",
|
|
3701
|
+
"name": "second",
|
|
3702
|
+
"bundle": "core",
|
|
3703
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
|
|
3704
|
+
"description": "Returns the second of the time in the date.",
|
|
3705
|
+
"examples": "\n##### مثال\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
|
|
3706
|
+
"completion": {
|
|
3707
|
+
"label": "Second",
|
|
3708
|
+
"detail": "Second(dateValue) -> Number",
|
|
3709
|
+
"insertText": "Second(${1:dateValue_})$0",
|
|
3710
|
+
"insertTextMode": 2,
|
|
3711
|
+
"insertTextFormat": 2,
|
|
3712
|
+
"kind": 3,
|
|
3713
|
+
"documentation": {
|
|
3714
|
+
"kind": "markdown",
|
|
3715
|
+
"value": "Returns the second of the time in the date.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the second of the time.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3716
|
+
}
|
|
3717
|
+
},
|
|
3718
|
+
"parametersInfo": {
|
|
3719
|
+
"min": 1,
|
|
3720
|
+
"max": 1
|
|
3721
|
+
}
|
|
3722
|
+
},
|
|
3723
|
+
{
|
|
3724
|
+
"type": "function",
|
|
3725
|
+
"name": "second",
|
|
3726
|
+
"bundle": "core",
|
|
3727
|
+
"sinceVersion": "1.24",
|
|
3728
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
|
|
3729
|
+
"description": "Returns the second of the given time.",
|
|
3730
|
+
"examples": "\n##### مثال\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
|
|
3731
|
+
"completion": {
|
|
3732
|
+
"label": "Second",
|
|
3733
|
+
"detail": "Second(timeValue) -> Number",
|
|
3734
|
+
"insertText": "Second(${1:timeValue_})$0",
|
|
3735
|
+
"insertTextMode": 2,
|
|
3736
|
+
"insertTextFormat": 2,
|
|
3737
|
+
"kind": 3,
|
|
3738
|
+
"documentation": {
|
|
3739
|
+
"kind": "markdown",
|
|
3740
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**المعلمة**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3741
|
+
}
|
|
3742
|
+
},
|
|
3743
|
+
"parametersInfo": {
|
|
3744
|
+
"min": 1,
|
|
3745
|
+
"max": 1
|
|
3746
|
+
}
|
|
3747
|
+
}
|
|
3748
|
+
],
|
|
3749
|
+
[
|
|
3750
|
+
{
|
|
3751
|
+
"type": "function",
|
|
3752
|
+
"name": "time",
|
|
3753
|
+
"bundle": "core",
|
|
3754
|
+
"sinceVersion": "1.24",
|
|
3755
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
|
|
3756
|
+
"description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
|
|
3757
|
+
"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",
|
|
3758
|
+
"completion": {
|
|
3759
|
+
"label": "Time",
|
|
3760
|
+
"detail": "Time() -> Time",
|
|
3761
|
+
"insertText": "Time($0)",
|
|
3762
|
+
"insertTextMode": 2,
|
|
3763
|
+
"insertTextFormat": 2,
|
|
3764
|
+
"kind": 3,
|
|
3765
|
+
"documentation": {
|
|
3766
|
+
"kind": "markdown",
|
|
3767
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value representing the current time in the time zone of the profile's execution context.\n\n**إرجاع القيمة**: Time"
|
|
3768
|
+
}
|
|
3769
|
+
},
|
|
3770
|
+
"parametersInfo": {
|
|
3771
|
+
"min": 0,
|
|
3772
|
+
"max": 0
|
|
3773
|
+
}
|
|
3774
|
+
},
|
|
3775
|
+
{
|
|
3776
|
+
"type": "function",
|
|
3777
|
+
"name": "time",
|
|
3778
|
+
"bundle": "core",
|
|
3779
|
+
"sinceVersion": "1.24",
|
|
3780
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
|
|
3781
|
+
"description": "Creates a Time value from a given date.",
|
|
3782
|
+
"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",
|
|
3783
|
+
"completion": {
|
|
3784
|
+
"label": "Time",
|
|
3785
|
+
"detail": "Time(dateValue) -> Time",
|
|
3786
|
+
"insertText": "Time(${1:dateValue_})$0",
|
|
3787
|
+
"insertTextMode": 2,
|
|
3788
|
+
"insertTextFormat": 2,
|
|
3789
|
+
"kind": 3,
|
|
3790
|
+
"documentation": {
|
|
3791
|
+
"kind": "markdown",
|
|
3792
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**إرجاع القيمة**: Time"
|
|
3793
|
+
}
|
|
3794
|
+
},
|
|
3795
|
+
"parametersInfo": {
|
|
3796
|
+
"min": 1,
|
|
3797
|
+
"max": 1
|
|
3798
|
+
}
|
|
3799
|
+
},
|
|
3800
|
+
{
|
|
3801
|
+
"type": "function",
|
|
3802
|
+
"name": "time",
|
|
3803
|
+
"bundle": "core",
|
|
3804
|
+
"sinceVersion": "1.24",
|
|
3805
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
|
|
3806
|
+
"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`.",
|
|
3807
|
+
"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",
|
|
3808
|
+
"completion": {
|
|
3809
|
+
"label": "Time",
|
|
3810
|
+
"detail": "Time(numValue) -> Time",
|
|
3811
|
+
"insertText": "Time(${1:numValue_})$0",
|
|
3812
|
+
"insertTextMode": 2,
|
|
3813
|
+
"insertTextFormat": 2,
|
|
3814
|
+
"kind": 3,
|
|
3815
|
+
"documentation": {
|
|
3816
|
+
"kind": "markdown",
|
|
3817
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given number representing milliseconds since midnight. If the input value is larger than 86,400,000 (the maximum number of milliseconds in a day) or less than 0, the function will return `null`.\n\n**المعلمة**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**إرجاع القيمة**: Time"
|
|
3818
|
+
}
|
|
3819
|
+
},
|
|
3820
|
+
"parametersInfo": {
|
|
3821
|
+
"min": 1,
|
|
3822
|
+
"max": 1
|
|
3823
|
+
}
|
|
3824
|
+
},
|
|
3825
|
+
{
|
|
3826
|
+
"type": "function",
|
|
3827
|
+
"name": "time",
|
|
3828
|
+
"bundle": "core",
|
|
3829
|
+
"sinceVersion": "1.24",
|
|
3830
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
|
|
3831
|
+
"description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
|
|
3832
|
+
"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",
|
|
3833
|
+
"completion": {
|
|
3834
|
+
"label": "Time",
|
|
3835
|
+
"detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
|
|
3836
|
+
"insertText": "Time(${1:hours_}, ${2:minutes_})$0",
|
|
3837
|
+
"insertTextMode": 2,
|
|
3838
|
+
"insertTextFormat": 2,
|
|
3839
|
+
"kind": 3,
|
|
3840
|
+
"documentation": {
|
|
3841
|
+
"kind": "markdown",
|
|
3842
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds.\n\n**معلمات**\n\n- **hours**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing hours of the Time value (0-23).\n- **minutes**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the minutes of the Time value (0-59).\n- **seconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the seconds of the Time value (0-59).\n- **milliseconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the milliseconds of the Time value (0-999).\n\n**إرجاع القيمة**: Time"
|
|
3843
|
+
}
|
|
3844
|
+
},
|
|
3845
|
+
"parametersInfo": {
|
|
3846
|
+
"min": 2,
|
|
3847
|
+
"max": 4
|
|
3848
|
+
}
|
|
3849
|
+
},
|
|
3850
|
+
{
|
|
3851
|
+
"type": "function",
|
|
3852
|
+
"name": "time",
|
|
3853
|
+
"bundle": "core",
|
|
3854
|
+
"sinceVersion": "1.24",
|
|
3855
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
|
|
3856
|
+
"description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
|
|
3857
|
+
"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",
|
|
3858
|
+
"completion": {
|
|
3859
|
+
"label": "Time",
|
|
3860
|
+
"detail": "Time(timeValue, format?) -> Time",
|
|
3861
|
+
"insertText": "Time(${1:timeValue_})$0",
|
|
3862
|
+
"insertTextMode": 2,
|
|
3863
|
+
"insertTextFormat": 2,
|
|
3864
|
+
"kind": 3,
|
|
3865
|
+
"documentation": {
|
|
3866
|
+
"kind": "markdown",
|
|
3867
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a text input representing time, with an optional input indicating the text's format.\n\n**معلمات**\n\n- **timeValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value representing a time.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value indicating the format of the `timeValue` input. \nPossible values: \n - `h`: Civilian hours, not padded (0 - 12) \n - `hh`: Civilian hours, padded (00 - 12) \n - `H`: Military hours, not padded (0 - 24) \n - `HH`: Military hours, padded (00 - 24) \n - `m`: Minutes, not padded (0 - 59) \n - `mm`: Minutes, padded (00 - 59) \n - `s`: Seconds, not padded (0 - 59) \n - `ss`: Seconds, padded (00 - 59) \n - `A`: AM/PM \n\n\n**إرجاع القيمة**: Time"
|
|
3868
|
+
}
|
|
3869
|
+
},
|
|
3870
|
+
"parametersInfo": {
|
|
3871
|
+
"min": 1,
|
|
3872
|
+
"max": 2
|
|
3873
|
+
}
|
|
3874
|
+
}
|
|
3875
|
+
],
|
|
3876
|
+
{
|
|
3877
|
+
"type": "function",
|
|
3878
|
+
"name": "timestamp",
|
|
3879
|
+
"bundle": "core",
|
|
3880
|
+
"sinceVersion": "1.1",
|
|
3881
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
|
|
3882
|
+
"description": "ينشيء قيمة تاريخ تمثل التاريخ والوقت الحاليين بالتوقيت العالمي المنسق (UTC).",
|
|
3883
|
+
"examples": "\n##### مثال\n\nينشيء تاريخًا بالتوقيت العالمي المنسق (UTC)\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
|
|
3884
|
+
"completion": {
|
|
3885
|
+
"label": "Timestamp",
|
|
3886
|
+
"detail": "Timestamp() -> Date",
|
|
3887
|
+
"insertText": "Timestamp($0)",
|
|
3888
|
+
"insertTextMode": 2,
|
|
3889
|
+
"insertTextFormat": 2,
|
|
3890
|
+
"kind": 3,
|
|
3891
|
+
"documentation": {
|
|
3892
|
+
"kind": "markdown",
|
|
3893
|
+
"value": "**[إصدار متعدد 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nينشيء قيمة تاريخ تمثل التاريخ والوقت الحاليين بالتوقيت العالمي المنسق (UTC).\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
3894
|
+
}
|
|
3895
|
+
},
|
|
3896
|
+
"parametersInfo": {
|
|
3897
|
+
"min": 0,
|
|
3898
|
+
"max": 0
|
|
3899
|
+
}
|
|
3900
|
+
},
|
|
3236
3901
|
{
|
|
3237
3902
|
"type": "function",
|
|
3238
|
-
"name": "
|
|
3903
|
+
"name": "timezone",
|
|
3239
3904
|
"bundle": "core",
|
|
3240
|
-
"
|
|
3241
|
-
"
|
|
3242
|
-
"
|
|
3905
|
+
"sinceVersion": "1.24",
|
|
3906
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
3907
|
+
"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",
|
|
3908
|
+
"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",
|
|
3243
3909
|
"completion": {
|
|
3244
|
-
"label": "
|
|
3245
|
-
"detail": "
|
|
3246
|
-
"insertText": "
|
|
3910
|
+
"label": "TimeZone",
|
|
3911
|
+
"detail": "TimeZone(dateValue) -> Text",
|
|
3912
|
+
"insertText": "TimeZone(${1:dateValue_})$0",
|
|
3247
3913
|
"insertTextMode": 2,
|
|
3248
3914
|
"insertTextFormat": 2,
|
|
3249
3915
|
"kind": 3,
|
|
3250
3916
|
"documentation": {
|
|
3251
3917
|
"kind": "markdown",
|
|
3252
|
-
"value": "
|
|
3918
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (i.e. `America/New_York`)\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n- `system` - time zone will be based on the client or system's local time zone \n- `UTC`\n- `unknown`\n\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**إرجاع القيمة**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
3253
3919
|
}
|
|
3254
3920
|
},
|
|
3255
3921
|
"parametersInfo": {
|
|
@@ -3259,27 +3925,27 @@
|
|
|
3259
3925
|
},
|
|
3260
3926
|
{
|
|
3261
3927
|
"type": "function",
|
|
3262
|
-
"name": "
|
|
3928
|
+
"name": "timezoneoffset",
|
|
3263
3929
|
"bundle": "core",
|
|
3264
|
-
"sinceVersion": "1.
|
|
3265
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
3266
|
-
"description": "
|
|
3267
|
-
"examples": "\n##### مثال\n\
|
|
3930
|
+
"sinceVersion": "1.24",
|
|
3931
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
|
|
3932
|
+
"description": "Returns the time zone offset in minutes from UTC for the given Date.",
|
|
3933
|
+
"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",
|
|
3268
3934
|
"completion": {
|
|
3269
|
-
"label": "
|
|
3270
|
-
"detail": "
|
|
3271
|
-
"insertText": "
|
|
3935
|
+
"label": "TimeZoneOffset",
|
|
3936
|
+
"detail": "TimeZoneOffset(dateValue) -> Number",
|
|
3937
|
+
"insertText": "TimeZoneOffset(${1:dateValue_})$0",
|
|
3272
3938
|
"insertTextMode": 2,
|
|
3273
3939
|
"insertTextFormat": 2,
|
|
3274
3940
|
"kind": 3,
|
|
3275
3941
|
"documentation": {
|
|
3276
3942
|
"kind": "markdown",
|
|
3277
|
-
"value": "**[إصدار متعدد 1.
|
|
3943
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone offset in minutes from UTC for the given Date.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone offset.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3278
3944
|
}
|
|
3279
3945
|
},
|
|
3280
3946
|
"parametersInfo": {
|
|
3281
|
-
"min":
|
|
3282
|
-
"max":
|
|
3947
|
+
"min": 1,
|
|
3948
|
+
"max": 1
|
|
3283
3949
|
}
|
|
3284
3950
|
},
|
|
3285
3951
|
{
|
|
@@ -3363,7 +4029,7 @@
|
|
|
3363
4029
|
"sinceVersion": "1.14",
|
|
3364
4030
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
|
|
3365
4031
|
"description": "يعمل على إرجاع رقم الأسبوع في سنة التاريخ المحدد. تتراوح القيم بين 0 و53 حيث يكون الأسبوع الأول من العام `0` والأسبوع الأخير من العام هو `51`، `52` أو`53، حسب العام. قد لا يكون طول الأسبوع الأول والأخير سبعة أيام كاملة.",
|
|
3366
|
-
"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",
|
|
4032
|
+
"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",
|
|
3367
4033
|
"completion": {
|
|
3368
4034
|
"label": "Week",
|
|
3369
4035
|
"detail": "Week(dateValue, startDay?) -> Number",
|
|
@@ -3373,7 +4039,7 @@
|
|
|
3373
4039
|
"kind": 3,
|
|
3374
4040
|
"documentation": {
|
|
3375
4041
|
"kind": "markdown",
|
|
3376
|
-
"value": "**[إصدار متعدد 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nيعمل على إرجاع رقم الأسبوع في سنة التاريخ المحدد. تتراوح القيم بين 0 و53 حيث يكون الأسبوع الأول من العام `0` والأسبوع الأخير من العام هو `51`، `52` أو`53، حسب العام. قد لا يكون طول الأسبوع الأول والأخير سبعة أيام كاملة.\n\n**معلمات**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - قيمة تاريخ يتم من خلالها الحصول على الأسبوع.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - رقم يمثل يوم بداية الأسبوع. الأحد = 0؛ الإثنين = 1؛ الثلاثاء = 2؛ الأربعاء = 3؛ الخميس = 4؛ الجمعة = 5؛ السبت = 6. الافتراضي هو \\\"0\\\" (الأحد).\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
4042
|
+
"value": "**[إصدار متعدد 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nيعمل على إرجاع رقم الأسبوع في سنة التاريخ المحدد. تتراوح القيم بين 0 و53 حيث يكون الأسبوع الأول من العام `0` والأسبوع الأخير من العام هو `51`، `52` أو`53، حسب العام. قد لا يكون طول الأسبوع الأول والأخير سبعة أيام كاملة.\n\n**معلمات**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - قيمة تاريخ يتم من خلالها الحصول على الأسبوع.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - رقم يمثل يوم بداية الأسبوع. الأحد = 0؛ الإثنين = 1؛ الثلاثاء = 2؛ الأربعاء = 3؛ الخميس = 4؛ الجمعة = 5؛ السبت = 6. الافتراضي هو \\\"0\\\" (الأحد).\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3377
4043
|
}
|
|
3378
4044
|
},
|
|
3379
4045
|
"parametersInfo": {
|
|
@@ -3387,7 +4053,7 @@
|
|
|
3387
4053
|
"bundle": "core",
|
|
3388
4054
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
|
|
3389
4055
|
"description": "إرجاع يوم الأسبوع في التاريخ المحدد. تتراوح القيم من 0-6 حيث الأحد هو القيمة `0` والسبت هو القيمة `6`.",
|
|
3390
|
-
"examples": "\n#####
|
|
4056
|
+
"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",
|
|
3391
4057
|
"completion": {
|
|
3392
4058
|
"label": "Weekday",
|
|
3393
4059
|
"detail": "Weekday(dateValue) -> Number",
|
|
@@ -3397,7 +4063,7 @@
|
|
|
3397
4063
|
"kind": 3,
|
|
3398
4064
|
"documentation": {
|
|
3399
4065
|
"kind": "markdown",
|
|
3400
|
-
"value": "إرجاع يوم الأسبوع في التاريخ المحدد. تتراوح القيم من 0-6 حيث الأحد هو القيمة `0` والسبت هو القيمة `6`.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - قيمة التاريخ من القيمة التي ترجع يوم الأسبوع.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
4066
|
+
"value": "إرجاع يوم الأسبوع في التاريخ المحدد. تتراوح القيم من 0-6 حيث الأحد هو القيمة `0` والسبت هو القيمة `6`.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - قيمة التاريخ من القيمة التي ترجع يوم الأسبوع.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3401
4067
|
}
|
|
3402
4068
|
},
|
|
3403
4069
|
"parametersInfo": {
|
|
@@ -3411,7 +4077,7 @@
|
|
|
3411
4077
|
"bundle": "core",
|
|
3412
4078
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
|
|
3413
4079
|
"description": "يرجع سنة التاريخ المتوفر.",
|
|
3414
|
-
"examples": "\n#####
|
|
4080
|
+
"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",
|
|
3415
4081
|
"completion": {
|
|
3416
4082
|
"label": "Year",
|
|
3417
4083
|
"detail": "Year(dateValue) -> Number",
|
|
@@ -3421,7 +4087,7 @@
|
|
|
3421
4087
|
"kind": 3,
|
|
3422
4088
|
"documentation": {
|
|
3423
4089
|
"kind": "markdown",
|
|
3424
|
-
"value": "يرجع سنة التاريخ المتوفر.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - قيمة التاريخ التي تحصل منها على العام.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
4090
|
+
"value": "يرجع سنة التاريخ المتوفر.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - قيمة التاريخ التي تحصل منها على العام.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3425
4091
|
}
|
|
3426
4092
|
},
|
|
3427
4093
|
"parametersInfo": {
|