@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
|
@@ -1780,6 +1780,31 @@
|
|
|
1780
1780
|
"max": 2
|
|
1781
1781
|
}
|
|
1782
1782
|
},
|
|
1783
|
+
{
|
|
1784
|
+
"type": "function",
|
|
1785
|
+
"name": "equals",
|
|
1786
|
+
"bundle": "core",
|
|
1787
|
+
"sinceVersion": "1.24",
|
|
1788
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
|
|
1789
|
+
"description": "Indicates if two values are equal. Object types (i.e. Arrays, Features, Dictionaries, Geometry) will return true only if they are the same object.",
|
|
1790
|
+
"examples": "\n##### Παράδειγμα\n\nCompares if two values are equal\n\n```arcade\nEquals(1, \"1\") // returns false\n\nvar testVal = \"test\";\nEquals(testVal, \"test\") // returns true\n\nvar array1 = Array(5);\nvar array2 = Array(5);\nEquals(array1, array2); // returns false\nEquals(array1, array1); // returns true\n```\n\n",
|
|
1791
|
+
"completion": {
|
|
1792
|
+
"label": "Equals",
|
|
1793
|
+
"detail": "Equals(value1, value2) -> Boolean",
|
|
1794
|
+
"insertText": "Equals(${1:value1_}, ${2:value2_})$0",
|
|
1795
|
+
"insertTextMode": 2,
|
|
1796
|
+
"insertTextFormat": 2,
|
|
1797
|
+
"kind": 3,
|
|
1798
|
+
"documentation": {
|
|
1799
|
+
"kind": "markdown",
|
|
1800
|
+
"value": "**[Από την έκδοση 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates if two values are equal. Object types (i.e. Arrays, Features, Dictionaries, Geometry) will return true only if they are the same object.\n\n**Παράμετροι**\n\n- **value1**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The first input value.\n- **value2**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The second input value.\n\n**Τιμή επιστροφής**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"parametersInfo": {
|
|
1804
|
+
"min": 2,
|
|
1805
|
+
"max": 2
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1783
1808
|
{
|
|
1784
1809
|
"type": "function",
|
|
1785
1810
|
"name": "iif",
|
|
@@ -2215,7 +2240,7 @@
|
|
|
2215
2240
|
"kind": 3,
|
|
2216
2241
|
"documentation": {
|
|
2217
2242
|
"kind": "markdown",
|
|
2218
|
-
"value": "**[Από την έκδοση 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nΔημιουργείται μια τιμή κωδικού κατακερματισμού για την καθορισμένη μεταβλητή.\n\n**Παράμετρος**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Η μεταβλητή που θα κατακερματιστεί.\n\n**Τιμή επιστροφής**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2243
|
+
"value": "**[Από την έκδοση 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nΔημιουργείται μια τιμή κωδικού κατακερματισμού για την καθορισμένη μεταβλητή.\n\n**Παράμετρος**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| DateOnly \\| Time - Η μεταβλητή που θα κατακερματιστεί.\n\n**Τιμή επιστροφής**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2219
2244
|
}
|
|
2220
2245
|
},
|
|
2221
2246
|
"parametersInfo": {
|
|
@@ -3179,6 +3204,31 @@
|
|
|
3179
3204
|
"max": 4
|
|
3180
3205
|
}
|
|
3181
3206
|
},
|
|
3207
|
+
{
|
|
3208
|
+
"type": "function",
|
|
3209
|
+
"name": "featuresetbyrelationshipclass",
|
|
3210
|
+
"bundle": "data-access",
|
|
3211
|
+
"sinceVersion": "1.24",
|
|
3212
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
3213
|
+
"description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
|
|
3214
|
+
"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",
|
|
3215
|
+
"completion": {
|
|
3216
|
+
"label": "FeatureSetByRelationshipClass",
|
|
3217
|
+
"detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
|
|
3218
|
+
"insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
|
|
3219
|
+
"insertTextMode": 2,
|
|
3220
|
+
"insertTextFormat": 2,
|
|
3221
|
+
"kind": 3,
|
|
3222
|
+
"documentation": {
|
|
3223
|
+
"kind": "markdown",
|
|
3224
|
+
"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)"
|
|
3225
|
+
}
|
|
3226
|
+
},
|
|
3227
|
+
"parametersInfo": {
|
|
3228
|
+
"min": 2,
|
|
3229
|
+
"max": 4
|
|
3230
|
+
}
|
|
3231
|
+
},
|
|
3182
3232
|
{
|
|
3183
3233
|
"type": "function",
|
|
3184
3234
|
"name": "featuresetbyrelationshipname",
|
|
@@ -3994,29 +4044,54 @@
|
|
|
3994
4044
|
"id": "date_functions",
|
|
3995
4045
|
"title": "Συναρτήσεις ημερομηνίας",
|
|
3996
4046
|
"items": [
|
|
4047
|
+
{
|
|
4048
|
+
"type": "function",
|
|
4049
|
+
"name": "changetimezone",
|
|
4050
|
+
"bundle": "core",
|
|
4051
|
+
"sinceVersion": "1.24",
|
|
4052
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
|
|
4053
|
+
"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`.",
|
|
4054
|
+
"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",
|
|
4055
|
+
"completion": {
|
|
4056
|
+
"label": "ChangeTimeZone",
|
|
4057
|
+
"detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
|
|
4058
|
+
"insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
|
|
4059
|
+
"insertTextMode": 2,
|
|
4060
|
+
"insertTextFormat": 2,
|
|
4061
|
+
"kind": 3,
|
|
4062
|
+
"documentation": {
|
|
4063
|
+
"kind": "markdown",
|
|
4064
|
+
"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)"
|
|
4065
|
+
}
|
|
4066
|
+
},
|
|
4067
|
+
"parametersInfo": {
|
|
4068
|
+
"min": 2,
|
|
4069
|
+
"max": 2
|
|
4070
|
+
}
|
|
4071
|
+
},
|
|
3997
4072
|
[
|
|
3998
4073
|
{
|
|
3999
4074
|
"type": "function",
|
|
4000
4075
|
"name": "date",
|
|
4001
4076
|
"bundle": "core",
|
|
4002
4077
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
|
|
4003
|
-
"description": "
|
|
4004
|
-
"examples": "\n##### Παραδείγματα\n\
|
|
4078
|
+
"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.",
|
|
4079
|
+
"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",
|
|
4005
4080
|
"completion": {
|
|
4006
4081
|
"label": "Date",
|
|
4007
|
-
"detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
|
|
4082
|
+
"detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
|
|
4008
4083
|
"insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
|
|
4009
4084
|
"insertTextMode": 2,
|
|
4010
4085
|
"insertTextFormat": 2,
|
|
4011
4086
|
"kind": 3,
|
|
4012
4087
|
"documentation": {
|
|
4013
4088
|
"kind": "markdown",
|
|
4014
|
-
"value": "
|
|
4089
|
+
"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)"
|
|
4015
4090
|
}
|
|
4016
4091
|
},
|
|
4017
4092
|
"parametersInfo": {
|
|
4018
4093
|
"min": 3,
|
|
4019
|
-
"max":
|
|
4094
|
+
"max": 8
|
|
4020
4095
|
}
|
|
4021
4096
|
},
|
|
4022
4097
|
{
|
|
@@ -4024,8 +4099,8 @@
|
|
|
4024
4099
|
"name": "date",
|
|
4025
4100
|
"bundle": "core",
|
|
4026
4101
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
|
|
4027
|
-
"description": "
|
|
4028
|
-
"examples": "\n#####
|
|
4102
|
+
"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.",
|
|
4103
|
+
"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",
|
|
4029
4104
|
"completion": {
|
|
4030
4105
|
"label": "Date",
|
|
4031
4106
|
"detail": "Date(epoch?) -> Date",
|
|
@@ -4035,7 +4110,7 @@
|
|
|
4035
4110
|
"kind": 3,
|
|
4036
4111
|
"documentation": {
|
|
4037
4112
|
"kind": "markdown",
|
|
4038
|
-
"value": "
|
|
4113
|
+
"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)"
|
|
4039
4114
|
}
|
|
4040
4115
|
},
|
|
4041
4116
|
"parametersInfo": {
|
|
@@ -4048,8 +4123,8 @@
|
|
|
4048
4123
|
"name": "date",
|
|
4049
4124
|
"bundle": "core",
|
|
4050
4125
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
|
|
4051
|
-
"description": "
|
|
4052
|
-
"examples": "\n#####
|
|
4126
|
+
"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.",
|
|
4127
|
+
"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",
|
|
4053
4128
|
"completion": {
|
|
4054
4129
|
"label": "Date",
|
|
4055
4130
|
"detail": "Date(timestamp?) -> Date",
|
|
@@ -4059,154 +4134,386 @@
|
|
|
4059
4134
|
"kind": 3,
|
|
4060
4135
|
"documentation": {
|
|
4061
4136
|
"kind": "markdown",
|
|
4062
|
-
"value": "
|
|
4137
|
+
"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)"
|
|
4063
4138
|
}
|
|
4064
4139
|
},
|
|
4065
4140
|
"parametersInfo": {
|
|
4066
4141
|
"min": 0,
|
|
4067
4142
|
"max": 1
|
|
4068
4143
|
}
|
|
4069
|
-
}
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4144
|
+
},
|
|
4145
|
+
{
|
|
4146
|
+
"type": "function",
|
|
4147
|
+
"name": "date",
|
|
4148
|
+
"bundle": "core",
|
|
4149
|
+
"sinceVersion": "1.24",
|
|
4150
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
|
|
4151
|
+
"description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
|
|
4152
|
+
"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",
|
|
4153
|
+
"completion": {
|
|
4154
|
+
"label": "Date",
|
|
4155
|
+
"detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
|
|
4156
|
+
"insertText": "Date(${1:dateOnlyValue_})$0",
|
|
4157
|
+
"insertTextMode": 2,
|
|
4158
|
+
"insertTextFormat": 2,
|
|
4159
|
+
"kind": 3,
|
|
4160
|
+
"documentation": {
|
|
4161
|
+
"kind": "markdown",
|
|
4162
|
+
"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)"
|
|
4163
|
+
}
|
|
4164
|
+
},
|
|
4165
|
+
"parametersInfo": {
|
|
4166
|
+
"min": 1,
|
|
4167
|
+
"max": 3
|
|
4088
4168
|
}
|
|
4089
4169
|
},
|
|
4090
|
-
|
|
4091
|
-
"
|
|
4092
|
-
"
|
|
4170
|
+
{
|
|
4171
|
+
"type": "function",
|
|
4172
|
+
"name": "date",
|
|
4173
|
+
"bundle": "core",
|
|
4174
|
+
"sinceVersion": "1.24",
|
|
4175
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
|
|
4176
|
+
"description": "Creates a copy of the given Date.",
|
|
4177
|
+
"examples": "\n##### Παράδειγμα\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
|
|
4178
|
+
"completion": {
|
|
4179
|
+
"label": "Date",
|
|
4180
|
+
"detail": "Date(dateValue) -> Date",
|
|
4181
|
+
"insertText": "Date(${1:dateValue_})$0",
|
|
4182
|
+
"insertTextMode": 2,
|
|
4183
|
+
"insertTextFormat": 2,
|
|
4184
|
+
"kind": 3,
|
|
4185
|
+
"documentation": {
|
|
4186
|
+
"kind": "markdown",
|
|
4187
|
+
"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)"
|
|
4188
|
+
}
|
|
4189
|
+
},
|
|
4190
|
+
"parametersInfo": {
|
|
4191
|
+
"min": 1,
|
|
4192
|
+
"max": 1
|
|
4193
|
+
}
|
|
4093
4194
|
}
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
"
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
"
|
|
4111
|
-
|
|
4195
|
+
],
|
|
4196
|
+
[
|
|
4197
|
+
{
|
|
4198
|
+
"type": "function",
|
|
4199
|
+
"name": "dateadd",
|
|
4200
|
+
"bundle": "core",
|
|
4201
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
|
|
4202
|
+
"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.",
|
|
4203
|
+
"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",
|
|
4204
|
+
"completion": {
|
|
4205
|
+
"label": "DateAdd",
|
|
4206
|
+
"detail": "DateAdd(dateValue, addValue, units?) -> Date",
|
|
4207
|
+
"insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
|
|
4208
|
+
"insertTextMode": 2,
|
|
4209
|
+
"insertTextFormat": 2,
|
|
4210
|
+
"kind": 3,
|
|
4211
|
+
"documentation": {
|
|
4212
|
+
"kind": "markdown",
|
|
4213
|
+
"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)"
|
|
4214
|
+
}
|
|
4215
|
+
},
|
|
4216
|
+
"parametersInfo": {
|
|
4217
|
+
"min": 2,
|
|
4218
|
+
"max": 3
|
|
4112
4219
|
}
|
|
4113
4220
|
},
|
|
4114
|
-
|
|
4115
|
-
"
|
|
4116
|
-
"
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
"
|
|
4221
|
+
{
|
|
4222
|
+
"type": "function",
|
|
4223
|
+
"name": "dateadd",
|
|
4224
|
+
"bundle": "core",
|
|
4225
|
+
"sinceVersion": "1.24",
|
|
4226
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
|
|
4227
|
+
"description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
|
|
4228
|
+
"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",
|
|
4229
|
+
"completion": {
|
|
4230
|
+
"label": "DateAdd",
|
|
4231
|
+
"detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
|
|
4232
|
+
"insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
|
|
4233
|
+
"insertTextMode": 2,
|
|
4234
|
+
"insertTextFormat": 2,
|
|
4235
|
+
"kind": 3,
|
|
4236
|
+
"documentation": {
|
|
4237
|
+
"kind": "markdown",
|
|
4238
|
+
"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"
|
|
4239
|
+
}
|
|
4240
|
+
},
|
|
4241
|
+
"parametersInfo": {
|
|
4242
|
+
"min": 2,
|
|
4243
|
+
"max": 3
|
|
4136
4244
|
}
|
|
4137
4245
|
},
|
|
4138
|
-
|
|
4139
|
-
"
|
|
4140
|
-
"
|
|
4246
|
+
{
|
|
4247
|
+
"type": "function",
|
|
4248
|
+
"name": "dateadd",
|
|
4249
|
+
"bundle": "core",
|
|
4250
|
+
"sinceVersion": "1.24",
|
|
4251
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
|
|
4252
|
+
"description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
|
|
4253
|
+
"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",
|
|
4254
|
+
"completion": {
|
|
4255
|
+
"label": "DateAdd",
|
|
4256
|
+
"detail": "DateAdd(timeValue, addValue, units?) -> Time",
|
|
4257
|
+
"insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
|
|
4258
|
+
"insertTextMode": 2,
|
|
4259
|
+
"insertTextFormat": 2,
|
|
4260
|
+
"kind": 3,
|
|
4261
|
+
"documentation": {
|
|
4262
|
+
"kind": "markdown",
|
|
4263
|
+
"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"
|
|
4264
|
+
}
|
|
4265
|
+
},
|
|
4266
|
+
"parametersInfo": {
|
|
4267
|
+
"min": 2,
|
|
4268
|
+
"max": 3
|
|
4269
|
+
}
|
|
4141
4270
|
}
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
"
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
"
|
|
4159
|
-
|
|
4271
|
+
],
|
|
4272
|
+
[
|
|
4273
|
+
{
|
|
4274
|
+
"type": "function",
|
|
4275
|
+
"name": "datediff",
|
|
4276
|
+
"bundle": "core",
|
|
4277
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
4278
|
+
"description": "Subtracts two Dates, and returns the difference in the specified units.",
|
|
4279
|
+
"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",
|
|
4280
|
+
"completion": {
|
|
4281
|
+
"label": "DateDiff",
|
|
4282
|
+
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
4283
|
+
"insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
|
|
4284
|
+
"insertTextMode": 2,
|
|
4285
|
+
"insertTextFormat": 2,
|
|
4286
|
+
"kind": 3,
|
|
4287
|
+
"documentation": {
|
|
4288
|
+
"kind": "markdown",
|
|
4289
|
+
"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)"
|
|
4290
|
+
}
|
|
4291
|
+
},
|
|
4292
|
+
"parametersInfo": {
|
|
4293
|
+
"min": 2,
|
|
4294
|
+
"max": 4
|
|
4160
4295
|
}
|
|
4161
4296
|
},
|
|
4162
|
-
|
|
4163
|
-
"
|
|
4164
|
-
"
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
"
|
|
4183
|
-
"
|
|
4184
|
-
"
|
|
4297
|
+
{
|
|
4298
|
+
"type": "function",
|
|
4299
|
+
"name": "datediff",
|
|
4300
|
+
"bundle": "core",
|
|
4301
|
+
"sinceVersion": "1.24",
|
|
4302
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
|
|
4303
|
+
"description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
|
|
4304
|
+
"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",
|
|
4305
|
+
"completion": {
|
|
4306
|
+
"label": "DateDiff",
|
|
4307
|
+
"detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
|
|
4308
|
+
"insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
|
|
4309
|
+
"insertTextMode": 2,
|
|
4310
|
+
"insertTextFormat": 2,
|
|
4311
|
+
"kind": 3,
|
|
4312
|
+
"documentation": {
|
|
4313
|
+
"kind": "markdown",
|
|
4314
|
+
"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)"
|
|
4315
|
+
}
|
|
4316
|
+
},
|
|
4317
|
+
"parametersInfo": {
|
|
4318
|
+
"min": 2,
|
|
4319
|
+
"max": 3
|
|
4185
4320
|
}
|
|
4186
4321
|
},
|
|
4187
|
-
|
|
4188
|
-
"
|
|
4189
|
-
"
|
|
4322
|
+
{
|
|
4323
|
+
"type": "function",
|
|
4324
|
+
"name": "datediff",
|
|
4325
|
+
"bundle": "core",
|
|
4326
|
+
"sinceVersion": "1.24",
|
|
4327
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
|
|
4328
|
+
"description": "Subtracts two Time values, and returns the difference in the specified units.",
|
|
4329
|
+
"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",
|
|
4330
|
+
"completion": {
|
|
4331
|
+
"label": "DateDiff",
|
|
4332
|
+
"detail": "DateDiff(time1, time2, units?) -> Number",
|
|
4333
|
+
"insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
|
|
4334
|
+
"insertTextMode": 2,
|
|
4335
|
+
"insertTextFormat": 2,
|
|
4336
|
+
"kind": 3,
|
|
4337
|
+
"documentation": {
|
|
4338
|
+
"kind": "markdown",
|
|
4339
|
+
"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)"
|
|
4340
|
+
}
|
|
4341
|
+
},
|
|
4342
|
+
"parametersInfo": {
|
|
4343
|
+
"min": 2,
|
|
4344
|
+
"max": 3
|
|
4345
|
+
}
|
|
4190
4346
|
}
|
|
4191
|
-
|
|
4192
|
-
|
|
4347
|
+
],
|
|
4348
|
+
[
|
|
4349
|
+
{
|
|
4350
|
+
"type": "function",
|
|
4351
|
+
"name": "dateonly",
|
|
4352
|
+
"bundle": "core",
|
|
4353
|
+
"sinceVersion": "1.24",
|
|
4354
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
|
|
4355
|
+
"description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
|
|
4356
|
+
"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",
|
|
4357
|
+
"completion": {
|
|
4358
|
+
"label": "DateOnly",
|
|
4359
|
+
"detail": "DateOnly() -> DateOnly",
|
|
4360
|
+
"insertText": "DateOnly($0)",
|
|
4361
|
+
"insertTextMode": 2,
|
|
4362
|
+
"insertTextFormat": 2,
|
|
4363
|
+
"kind": 3,
|
|
4364
|
+
"documentation": {
|
|
4365
|
+
"kind": "markdown",
|
|
4366
|
+
"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"
|
|
4367
|
+
}
|
|
4368
|
+
},
|
|
4369
|
+
"parametersInfo": {
|
|
4370
|
+
"min": 0,
|
|
4371
|
+
"max": 0
|
|
4372
|
+
}
|
|
4373
|
+
},
|
|
4374
|
+
{
|
|
4375
|
+
"type": "function",
|
|
4376
|
+
"name": "dateonly",
|
|
4377
|
+
"bundle": "core",
|
|
4378
|
+
"sinceVersion": "1.24",
|
|
4379
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
|
|
4380
|
+
"description": "Creates a DateOnly value from a given date.",
|
|
4381
|
+
"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",
|
|
4382
|
+
"completion": {
|
|
4383
|
+
"label": "DateOnly",
|
|
4384
|
+
"detail": "DateOnly(dateValue) -> DateOnly",
|
|
4385
|
+
"insertText": "DateOnly(${1:dateValue_})$0",
|
|
4386
|
+
"insertTextMode": 2,
|
|
4387
|
+
"insertTextFormat": 2,
|
|
4388
|
+
"kind": 3,
|
|
4389
|
+
"documentation": {
|
|
4390
|
+
"kind": "markdown",
|
|
4391
|
+
"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"
|
|
4392
|
+
}
|
|
4393
|
+
},
|
|
4394
|
+
"parametersInfo": {
|
|
4395
|
+
"min": 1,
|
|
4396
|
+
"max": 1
|
|
4397
|
+
}
|
|
4398
|
+
},
|
|
4399
|
+
{
|
|
4400
|
+
"type": "function",
|
|
4401
|
+
"name": "dateonly",
|
|
4402
|
+
"bundle": "core",
|
|
4403
|
+
"sinceVersion": "1.24",
|
|
4404
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
|
|
4405
|
+
"description": "Creates a DateOnly date with the given Unix epoch number.",
|
|
4406
|
+
"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",
|
|
4407
|
+
"completion": {
|
|
4408
|
+
"label": "DateOnly",
|
|
4409
|
+
"detail": "DateOnly(epoch) -> DateOnly",
|
|
4410
|
+
"insertText": "DateOnly(${1:epoch_})$0",
|
|
4411
|
+
"insertTextMode": 2,
|
|
4412
|
+
"insertTextFormat": 2,
|
|
4413
|
+
"kind": 3,
|
|
4414
|
+
"documentation": {
|
|
4415
|
+
"kind": "markdown",
|
|
4416
|
+
"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"
|
|
4417
|
+
}
|
|
4418
|
+
},
|
|
4419
|
+
"parametersInfo": {
|
|
4420
|
+
"min": 1,
|
|
4421
|
+
"max": 1
|
|
4422
|
+
}
|
|
4423
|
+
},
|
|
4424
|
+
{
|
|
4425
|
+
"type": "function",
|
|
4426
|
+
"name": "dateonly",
|
|
4427
|
+
"bundle": "core",
|
|
4428
|
+
"sinceVersion": "1.24",
|
|
4429
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
|
|
4430
|
+
"description": "Creates a DateOnly value from inputs representing the year, month, and day.",
|
|
4431
|
+
"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",
|
|
4432
|
+
"completion": {
|
|
4433
|
+
"label": "DateOnly",
|
|
4434
|
+
"detail": "DateOnly(year, month, day) -> DateOnly",
|
|
4435
|
+
"insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
|
|
4436
|
+
"insertTextMode": 2,
|
|
4437
|
+
"insertTextFormat": 2,
|
|
4438
|
+
"kind": 3,
|
|
4439
|
+
"documentation": {
|
|
4440
|
+
"kind": "markdown",
|
|
4441
|
+
"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"
|
|
4442
|
+
}
|
|
4443
|
+
},
|
|
4444
|
+
"parametersInfo": {
|
|
4445
|
+
"min": 3,
|
|
4446
|
+
"max": 3
|
|
4447
|
+
}
|
|
4448
|
+
},
|
|
4449
|
+
{
|
|
4450
|
+
"type": "function",
|
|
4451
|
+
"name": "dateonly",
|
|
4452
|
+
"bundle": "core",
|
|
4453
|
+
"sinceVersion": "1.24",
|
|
4454
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
|
|
4455
|
+
"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.",
|
|
4456
|
+
"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",
|
|
4457
|
+
"completion": {
|
|
4458
|
+
"label": "DateOnly",
|
|
4459
|
+
"detail": "DateOnly(dateValue, format?) -> DateOnly",
|
|
4460
|
+
"insertText": "DateOnly(${1:dateValue_})$0",
|
|
4461
|
+
"insertTextMode": 2,
|
|
4462
|
+
"insertTextFormat": 2,
|
|
4463
|
+
"kind": 3,
|
|
4464
|
+
"documentation": {
|
|
4465
|
+
"kind": "markdown",
|
|
4466
|
+
"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"
|
|
4467
|
+
}
|
|
4468
|
+
},
|
|
4469
|
+
"parametersInfo": {
|
|
4470
|
+
"min": 1,
|
|
4471
|
+
"max": 2
|
|
4472
|
+
}
|
|
4473
|
+
},
|
|
4474
|
+
{
|
|
4475
|
+
"type": "function",
|
|
4476
|
+
"name": "dateonly",
|
|
4477
|
+
"bundle": "core",
|
|
4478
|
+
"sinceVersion": "1.24",
|
|
4479
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
|
|
4480
|
+
"description": "Creates a copy of a DateOnly value.",
|
|
4481
|
+
"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",
|
|
4482
|
+
"completion": {
|
|
4483
|
+
"label": "DateOnly",
|
|
4484
|
+
"detail": "DateOnly(dateOnlyValue) -> DateOnly",
|
|
4485
|
+
"insertText": "DateOnly(${1:dateOnlyValue_})$0",
|
|
4486
|
+
"insertTextMode": 2,
|
|
4487
|
+
"insertTextFormat": 2,
|
|
4488
|
+
"kind": 3,
|
|
4489
|
+
"documentation": {
|
|
4490
|
+
"kind": "markdown",
|
|
4491
|
+
"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"
|
|
4492
|
+
}
|
|
4493
|
+
},
|
|
4494
|
+
"parametersInfo": {
|
|
4495
|
+
"min": 1,
|
|
4496
|
+
"max": 1
|
|
4497
|
+
}
|
|
4498
|
+
}
|
|
4499
|
+
],
|
|
4500
|
+
{
|
|
4193
4501
|
"type": "function",
|
|
4194
|
-
"name": "
|
|
4502
|
+
"name": "day",
|
|
4195
4503
|
"bundle": "core",
|
|
4196
|
-
"
|
|
4197
|
-
"
|
|
4198
|
-
"
|
|
4199
|
-
"examples": "\n##### Παράδειγμα\n\nΛαμβάνεται η εβδομάδα της καθορισμένης ημερομηνίας με βάση το πρότυπο ISO 8601. Επιστρέφεται η τιμή «1» επειδή η εν λόγω ημερομηνία περιλαμβάνεται στην πρώτη εβδομάδα του επόμενου έτους.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
|
|
4504
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
|
|
4505
|
+
"description": "Επιστρέφει την ημέρα του μήνα της δεδομένης ημερομηνίας.",
|
|
4506
|
+
"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",
|
|
4200
4507
|
"completion": {
|
|
4201
|
-
"label": "
|
|
4202
|
-
"detail": "
|
|
4203
|
-
"insertText": "
|
|
4508
|
+
"label": "Day",
|
|
4509
|
+
"detail": "Day(dateValue) -> Number",
|
|
4510
|
+
"insertText": "Day(${1:dateValue_})$0",
|
|
4204
4511
|
"insertTextMode": 2,
|
|
4205
4512
|
"insertTextFormat": 2,
|
|
4206
4513
|
"kind": 3,
|
|
4207
4514
|
"documentation": {
|
|
4208
4515
|
"kind": "markdown",
|
|
4209
|
-
"value": "
|
|
4516
|
+
"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)"
|
|
4210
4517
|
}
|
|
4211
4518
|
},
|
|
4212
4519
|
"parametersInfo": {
|
|
@@ -4214,24 +4521,75 @@
|
|
|
4214
4521
|
"max": 1
|
|
4215
4522
|
}
|
|
4216
4523
|
},
|
|
4524
|
+
[
|
|
4525
|
+
{
|
|
4526
|
+
"type": "function",
|
|
4527
|
+
"name": "hour",
|
|
4528
|
+
"bundle": "core",
|
|
4529
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
|
|
4530
|
+
"description": "Returns the hour of the time in the given date (0-23).",
|
|
4531
|
+
"examples": "\n##### Παράδειγμα\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
|
|
4532
|
+
"completion": {
|
|
4533
|
+
"label": "Hour",
|
|
4534
|
+
"detail": "Hour(dateValue) -> Number",
|
|
4535
|
+
"insertText": "Hour(${1:dateValue_})$0",
|
|
4536
|
+
"insertTextMode": 2,
|
|
4537
|
+
"insertTextFormat": 2,
|
|
4538
|
+
"kind": 3,
|
|
4539
|
+
"documentation": {
|
|
4540
|
+
"kind": "markdown",
|
|
4541
|
+
"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)"
|
|
4542
|
+
}
|
|
4543
|
+
},
|
|
4544
|
+
"parametersInfo": {
|
|
4545
|
+
"min": 1,
|
|
4546
|
+
"max": 1
|
|
4547
|
+
}
|
|
4548
|
+
},
|
|
4549
|
+
{
|
|
4550
|
+
"type": "function",
|
|
4551
|
+
"name": "hour",
|
|
4552
|
+
"bundle": "core",
|
|
4553
|
+
"sinceVersion": "1.24",
|
|
4554
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
|
|
4555
|
+
"description": "Returns the hour of the given time (0-23).",
|
|
4556
|
+
"examples": "\n##### Παράδειγμα\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
|
|
4557
|
+
"completion": {
|
|
4558
|
+
"label": "Hour",
|
|
4559
|
+
"detail": "Hour(timeValue) -> Number",
|
|
4560
|
+
"insertText": "Hour(${1:timeValue_})$0",
|
|
4561
|
+
"insertTextMode": 2,
|
|
4562
|
+
"insertTextFormat": 2,
|
|
4563
|
+
"kind": 3,
|
|
4564
|
+
"documentation": {
|
|
4565
|
+
"kind": "markdown",
|
|
4566
|
+
"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)"
|
|
4567
|
+
}
|
|
4568
|
+
},
|
|
4569
|
+
"parametersInfo": {
|
|
4570
|
+
"min": 1,
|
|
4571
|
+
"max": 1
|
|
4572
|
+
}
|
|
4573
|
+
}
|
|
4574
|
+
],
|
|
4217
4575
|
{
|
|
4218
4576
|
"type": "function",
|
|
4219
|
-
"name": "
|
|
4577
|
+
"name": "isomonth",
|
|
4220
4578
|
"bundle": "core",
|
|
4221
4579
|
"sinceVersion": "1.12",
|
|
4222
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
4223
|
-
"description": "Επιστρέφεται
|
|
4224
|
-
"examples": "\n#####
|
|
4580
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
|
|
4581
|
+
"description": "Επιστρέφεται ο μήνας της καθορισμένης ημερομηνίας με βάση το πρότυπο ISO 8601. Το εύρος τιμών είναι 1-12, όπου ο Ιανουάριος έχει την τιμή «1» και ο Δεκέμβριος την τιμή «12».",
|
|
4582
|
+
"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",
|
|
4225
4583
|
"completion": {
|
|
4226
|
-
"label": "
|
|
4227
|
-
"detail": "
|
|
4228
|
-
"insertText": "
|
|
4584
|
+
"label": "ISOMonth",
|
|
4585
|
+
"detail": "ISOMonth(dateValue) -> Number",
|
|
4586
|
+
"insertText": "ISOMonth(${1:dateValue_})$0",
|
|
4229
4587
|
"insertTextMode": 2,
|
|
4230
4588
|
"insertTextFormat": 2,
|
|
4231
4589
|
"kind": 3,
|
|
4232
4590
|
"documentation": {
|
|
4233
4591
|
"kind": "markdown",
|
|
4234
|
-
"value": "**[Από την έκδοση 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nΕπιστρέφεται
|
|
4592
|
+
"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)"
|
|
4235
4593
|
}
|
|
4236
4594
|
},
|
|
4237
4595
|
"parametersInfo": {
|
|
@@ -4241,22 +4599,22 @@
|
|
|
4241
4599
|
},
|
|
4242
4600
|
{
|
|
4243
4601
|
"type": "function",
|
|
4244
|
-
"name": "
|
|
4602
|
+
"name": "isoweek",
|
|
4245
4603
|
"bundle": "core",
|
|
4246
4604
|
"sinceVersion": "1.12",
|
|
4247
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
4248
|
-
"description": "Επιστρέφεται
|
|
4249
|
-
"examples": "\n#####
|
|
4605
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
|
|
4606
|
+
"description": "Επιστρέφεται η εβδομάδα του έτους της καθορισμένης ημερομηνίας με βάση το εβδομαδιαίο ημερολόγιο κατά ISO 8601. Το εύρος τιμών είναι 1-53, όπου η πρώτη εβδομάδα του έτους η πρώτη εβδομάδα του έτους έχει την τιμή «1» και η τελευταία εβδομάδα του έτους την τιμή «52» ή «53» ανάλογα με το έτος.",
|
|
4607
|
+
"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",
|
|
4250
4608
|
"completion": {
|
|
4251
|
-
"label": "
|
|
4252
|
-
"detail": "
|
|
4253
|
-
"insertText": "
|
|
4609
|
+
"label": "ISOWeek",
|
|
4610
|
+
"detail": "ISOWeek(dateValue) -> Number",
|
|
4611
|
+
"insertText": "ISOWeek(${1:dateValue_})$0",
|
|
4254
4612
|
"insertTextMode": 2,
|
|
4255
4613
|
"insertTextFormat": 2,
|
|
4256
4614
|
"kind": 3,
|
|
4257
4615
|
"documentation": {
|
|
4258
4616
|
"kind": "markdown",
|
|
4259
|
-
"value": "**[Από την έκδοση 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nΕπιστρέφεται
|
|
4617
|
+
"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)"
|
|
4260
4618
|
}
|
|
4261
4619
|
},
|
|
4262
4620
|
"parametersInfo": {
|
|
@@ -4266,21 +4624,22 @@
|
|
|
4266
4624
|
},
|
|
4267
4625
|
{
|
|
4268
4626
|
"type": "function",
|
|
4269
|
-
"name": "
|
|
4627
|
+
"name": "isoweekday",
|
|
4270
4628
|
"bundle": "core",
|
|
4271
|
-
"
|
|
4272
|
-
"
|
|
4273
|
-
"
|
|
4629
|
+
"sinceVersion": "1.12",
|
|
4630
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
|
|
4631
|
+
"description": "Επιστρέφεται η ημέρα της εβδομάδας της καθορισμένης ημερομηνίας με βάση το πρότυπο ISO 8601. Το εύρος τιμών είναι 1-7, όπου η Δευτέρα έχει την τιμή «1» και η Κυριακή την τιμή «7».",
|
|
4632
|
+
"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",
|
|
4274
4633
|
"completion": {
|
|
4275
|
-
"label": "
|
|
4276
|
-
"detail": "
|
|
4277
|
-
"insertText": "
|
|
4634
|
+
"label": "ISOWeekday",
|
|
4635
|
+
"detail": "ISOWeekday(dateValue) -> Number",
|
|
4636
|
+
"insertText": "ISOWeekday(${1:dateValue_})$0",
|
|
4278
4637
|
"insertTextMode": 2,
|
|
4279
4638
|
"insertTextFormat": 2,
|
|
4280
4639
|
"kind": 3,
|
|
4281
4640
|
"documentation": {
|
|
4282
4641
|
"kind": "markdown",
|
|
4283
|
-
"value": "
|
|
4642
|
+
"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)"
|
|
4284
4643
|
}
|
|
4285
4644
|
},
|
|
4286
4645
|
"parametersInfo": {
|
|
@@ -4290,21 +4649,22 @@
|
|
|
4290
4649
|
},
|
|
4291
4650
|
{
|
|
4292
4651
|
"type": "function",
|
|
4293
|
-
"name": "
|
|
4652
|
+
"name": "isoyear",
|
|
4294
4653
|
"bundle": "core",
|
|
4295
|
-
"
|
|
4296
|
-
"
|
|
4297
|
-
"
|
|
4654
|
+
"sinceVersion": "1.12",
|
|
4655
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
|
|
4656
|
+
"description": "Επιστρέφεται το έτος της καθορισμένης ημερομηνίας με βάση το εβδομαδιαίο ημερολόγιο κατά ISO 8601.",
|
|
4657
|
+
"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",
|
|
4298
4658
|
"completion": {
|
|
4299
|
-
"label": "
|
|
4300
|
-
"detail": "
|
|
4301
|
-
"insertText": "
|
|
4659
|
+
"label": "ISOYear",
|
|
4660
|
+
"detail": "ISOYear(dateValue) -> Number",
|
|
4661
|
+
"insertText": "ISOYear(${1:dateValue_})$0",
|
|
4302
4662
|
"insertTextMode": 2,
|
|
4303
4663
|
"insertTextFormat": 2,
|
|
4304
4664
|
"kind": 3,
|
|
4305
4665
|
"documentation": {
|
|
4306
4666
|
"kind": "markdown",
|
|
4307
|
-
"value": "
|
|
4667
|
+
"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)"
|
|
4308
4668
|
}
|
|
4309
4669
|
},
|
|
4310
4670
|
"parametersInfo": {
|
|
@@ -4312,13 +4672,115 @@
|
|
|
4312
4672
|
"max": 1
|
|
4313
4673
|
}
|
|
4314
4674
|
},
|
|
4675
|
+
[
|
|
4676
|
+
{
|
|
4677
|
+
"type": "function",
|
|
4678
|
+
"name": "millisecond",
|
|
4679
|
+
"bundle": "core",
|
|
4680
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
|
|
4681
|
+
"description": "Returns the millisecond of the time in the date.",
|
|
4682
|
+
"examples": "\n##### Παράδειγμα\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
|
|
4683
|
+
"completion": {
|
|
4684
|
+
"label": "Millisecond",
|
|
4685
|
+
"detail": "Millisecond(dateValue) -> Number",
|
|
4686
|
+
"insertText": "Millisecond(${1:dateValue_})$0",
|
|
4687
|
+
"insertTextMode": 2,
|
|
4688
|
+
"insertTextFormat": 2,
|
|
4689
|
+
"kind": 3,
|
|
4690
|
+
"documentation": {
|
|
4691
|
+
"kind": "markdown",
|
|
4692
|
+
"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)"
|
|
4693
|
+
}
|
|
4694
|
+
},
|
|
4695
|
+
"parametersInfo": {
|
|
4696
|
+
"min": 1,
|
|
4697
|
+
"max": 1
|
|
4698
|
+
}
|
|
4699
|
+
},
|
|
4700
|
+
{
|
|
4701
|
+
"type": "function",
|
|
4702
|
+
"name": "millisecond",
|
|
4703
|
+
"bundle": "core",
|
|
4704
|
+
"sinceVersion": "1.24",
|
|
4705
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
|
|
4706
|
+
"description": "Returns the millisecond of the given time.",
|
|
4707
|
+
"examples": "\n##### Παράδειγμα\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
|
|
4708
|
+
"completion": {
|
|
4709
|
+
"label": "Millisecond",
|
|
4710
|
+
"detail": "Millisecond(timeValue) -> Number",
|
|
4711
|
+
"insertText": "Millisecond(${1:timeValue_})$0",
|
|
4712
|
+
"insertTextMode": 2,
|
|
4713
|
+
"insertTextFormat": 2,
|
|
4714
|
+
"kind": 3,
|
|
4715
|
+
"documentation": {
|
|
4716
|
+
"kind": "markdown",
|
|
4717
|
+
"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)"
|
|
4718
|
+
}
|
|
4719
|
+
},
|
|
4720
|
+
"parametersInfo": {
|
|
4721
|
+
"min": 1,
|
|
4722
|
+
"max": 1
|
|
4723
|
+
}
|
|
4724
|
+
}
|
|
4725
|
+
],
|
|
4726
|
+
[
|
|
4727
|
+
{
|
|
4728
|
+
"type": "function",
|
|
4729
|
+
"name": "minute",
|
|
4730
|
+
"bundle": "core",
|
|
4731
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
|
|
4732
|
+
"description": "Returns the minute of the time in the given date.",
|
|
4733
|
+
"examples": "\n##### Παράδειγμα\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
|
|
4734
|
+
"completion": {
|
|
4735
|
+
"label": "Minute",
|
|
4736
|
+
"detail": "Minute(dateValue) -> Number",
|
|
4737
|
+
"insertText": "Minute(${1:dateValue_})$0",
|
|
4738
|
+
"insertTextMode": 2,
|
|
4739
|
+
"insertTextFormat": 2,
|
|
4740
|
+
"kind": 3,
|
|
4741
|
+
"documentation": {
|
|
4742
|
+
"kind": "markdown",
|
|
4743
|
+
"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)"
|
|
4744
|
+
}
|
|
4745
|
+
},
|
|
4746
|
+
"parametersInfo": {
|
|
4747
|
+
"min": 1,
|
|
4748
|
+
"max": 1
|
|
4749
|
+
}
|
|
4750
|
+
},
|
|
4751
|
+
{
|
|
4752
|
+
"type": "function",
|
|
4753
|
+
"name": "minute",
|
|
4754
|
+
"bundle": "core",
|
|
4755
|
+
"sinceVersion": "1.24",
|
|
4756
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
|
|
4757
|
+
"description": "Returns the minute of the given time.",
|
|
4758
|
+
"examples": "\n##### Παράδειγμα\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
|
|
4759
|
+
"completion": {
|
|
4760
|
+
"label": "Minute",
|
|
4761
|
+
"detail": "Minute(timeValue) -> Number",
|
|
4762
|
+
"insertText": "Minute(${1:timeValue_})$0",
|
|
4763
|
+
"insertTextMode": 2,
|
|
4764
|
+
"insertTextFormat": 2,
|
|
4765
|
+
"kind": 3,
|
|
4766
|
+
"documentation": {
|
|
4767
|
+
"kind": "markdown",
|
|
4768
|
+
"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)"
|
|
4769
|
+
}
|
|
4770
|
+
},
|
|
4771
|
+
"parametersInfo": {
|
|
4772
|
+
"min": 1,
|
|
4773
|
+
"max": 1
|
|
4774
|
+
}
|
|
4775
|
+
}
|
|
4776
|
+
],
|
|
4315
4777
|
{
|
|
4316
4778
|
"type": "function",
|
|
4317
4779
|
"name": "month",
|
|
4318
4780
|
"bundle": "core",
|
|
4319
4781
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
|
|
4320
4782
|
"description": "Επιστρέφει το μήνα της καθορισμένης ημερομηνίας. Το εύρος τιμών είναι 0-11, όπου ο Ιανουάριος έχει την τιμή `0` και ο Δεκέμβριος την τιμή `11`.",
|
|
4321
|
-
"examples": "\n#####
|
|
4783
|
+
"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",
|
|
4322
4784
|
"completion": {
|
|
4323
4785
|
"label": "Month",
|
|
4324
4786
|
"detail": "Month(dateValue) -> Number",
|
|
@@ -4328,7 +4790,7 @@
|
|
|
4328
4790
|
"kind": 3,
|
|
4329
4791
|
"documentation": {
|
|
4330
4792
|
"kind": "markdown",
|
|
4331
|
-
"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)"
|
|
4793
|
+
"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)"
|
|
4332
4794
|
}
|
|
4333
4795
|
},
|
|
4334
4796
|
"parametersInfo": {
|
|
@@ -4360,23 +4822,227 @@
|
|
|
4360
4822
|
"max": 0
|
|
4361
4823
|
}
|
|
4362
4824
|
},
|
|
4825
|
+
[
|
|
4826
|
+
{
|
|
4827
|
+
"type": "function",
|
|
4828
|
+
"name": "second",
|
|
4829
|
+
"bundle": "core",
|
|
4830
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
|
|
4831
|
+
"description": "Returns the second of the time in the date.",
|
|
4832
|
+
"examples": "\n##### Παράδειγμα\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
|
|
4833
|
+
"completion": {
|
|
4834
|
+
"label": "Second",
|
|
4835
|
+
"detail": "Second(dateValue) -> Number",
|
|
4836
|
+
"insertText": "Second(${1:dateValue_})$0",
|
|
4837
|
+
"insertTextMode": 2,
|
|
4838
|
+
"insertTextFormat": 2,
|
|
4839
|
+
"kind": 3,
|
|
4840
|
+
"documentation": {
|
|
4841
|
+
"kind": "markdown",
|
|
4842
|
+
"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)"
|
|
4843
|
+
}
|
|
4844
|
+
},
|
|
4845
|
+
"parametersInfo": {
|
|
4846
|
+
"min": 1,
|
|
4847
|
+
"max": 1
|
|
4848
|
+
}
|
|
4849
|
+
},
|
|
4850
|
+
{
|
|
4851
|
+
"type": "function",
|
|
4852
|
+
"name": "second",
|
|
4853
|
+
"bundle": "core",
|
|
4854
|
+
"sinceVersion": "1.24",
|
|
4855
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
|
|
4856
|
+
"description": "Returns the second of the given time.",
|
|
4857
|
+
"examples": "\n##### Παράδειγμα\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
|
|
4858
|
+
"completion": {
|
|
4859
|
+
"label": "Second",
|
|
4860
|
+
"detail": "Second(timeValue) -> Number",
|
|
4861
|
+
"insertText": "Second(${1:timeValue_})$0",
|
|
4862
|
+
"insertTextMode": 2,
|
|
4863
|
+
"insertTextFormat": 2,
|
|
4864
|
+
"kind": 3,
|
|
4865
|
+
"documentation": {
|
|
4866
|
+
"kind": "markdown",
|
|
4867
|
+
"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)"
|
|
4868
|
+
}
|
|
4869
|
+
},
|
|
4870
|
+
"parametersInfo": {
|
|
4871
|
+
"min": 1,
|
|
4872
|
+
"max": 1
|
|
4873
|
+
}
|
|
4874
|
+
}
|
|
4875
|
+
],
|
|
4876
|
+
[
|
|
4877
|
+
{
|
|
4878
|
+
"type": "function",
|
|
4879
|
+
"name": "time",
|
|
4880
|
+
"bundle": "core",
|
|
4881
|
+
"sinceVersion": "1.24",
|
|
4882
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
|
|
4883
|
+
"description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
|
|
4884
|
+
"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",
|
|
4885
|
+
"completion": {
|
|
4886
|
+
"label": "Time",
|
|
4887
|
+
"detail": "Time() -> Time",
|
|
4888
|
+
"insertText": "Time($0)",
|
|
4889
|
+
"insertTextMode": 2,
|
|
4890
|
+
"insertTextFormat": 2,
|
|
4891
|
+
"kind": 3,
|
|
4892
|
+
"documentation": {
|
|
4893
|
+
"kind": "markdown",
|
|
4894
|
+
"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"
|
|
4895
|
+
}
|
|
4896
|
+
},
|
|
4897
|
+
"parametersInfo": {
|
|
4898
|
+
"min": 0,
|
|
4899
|
+
"max": 0
|
|
4900
|
+
}
|
|
4901
|
+
},
|
|
4902
|
+
{
|
|
4903
|
+
"type": "function",
|
|
4904
|
+
"name": "time",
|
|
4905
|
+
"bundle": "core",
|
|
4906
|
+
"sinceVersion": "1.24",
|
|
4907
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
|
|
4908
|
+
"description": "Creates a Time value from a given date.",
|
|
4909
|
+
"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",
|
|
4910
|
+
"completion": {
|
|
4911
|
+
"label": "Time",
|
|
4912
|
+
"detail": "Time(dateValue) -> Time",
|
|
4913
|
+
"insertText": "Time(${1:dateValue_})$0",
|
|
4914
|
+
"insertTextMode": 2,
|
|
4915
|
+
"insertTextFormat": 2,
|
|
4916
|
+
"kind": 3,
|
|
4917
|
+
"documentation": {
|
|
4918
|
+
"kind": "markdown",
|
|
4919
|
+
"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"
|
|
4920
|
+
}
|
|
4921
|
+
},
|
|
4922
|
+
"parametersInfo": {
|
|
4923
|
+
"min": 1,
|
|
4924
|
+
"max": 1
|
|
4925
|
+
}
|
|
4926
|
+
},
|
|
4927
|
+
{
|
|
4928
|
+
"type": "function",
|
|
4929
|
+
"name": "time",
|
|
4930
|
+
"bundle": "core",
|
|
4931
|
+
"sinceVersion": "1.24",
|
|
4932
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
|
|
4933
|
+
"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`.",
|
|
4934
|
+
"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",
|
|
4935
|
+
"completion": {
|
|
4936
|
+
"label": "Time",
|
|
4937
|
+
"detail": "Time(numValue) -> Time",
|
|
4938
|
+
"insertText": "Time(${1:numValue_})$0",
|
|
4939
|
+
"insertTextMode": 2,
|
|
4940
|
+
"insertTextFormat": 2,
|
|
4941
|
+
"kind": 3,
|
|
4942
|
+
"documentation": {
|
|
4943
|
+
"kind": "markdown",
|
|
4944
|
+
"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"
|
|
4945
|
+
}
|
|
4946
|
+
},
|
|
4947
|
+
"parametersInfo": {
|
|
4948
|
+
"min": 1,
|
|
4949
|
+
"max": 1
|
|
4950
|
+
}
|
|
4951
|
+
},
|
|
4952
|
+
{
|
|
4953
|
+
"type": "function",
|
|
4954
|
+
"name": "time",
|
|
4955
|
+
"bundle": "core",
|
|
4956
|
+
"sinceVersion": "1.24",
|
|
4957
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
|
|
4958
|
+
"description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
|
|
4959
|
+
"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",
|
|
4960
|
+
"completion": {
|
|
4961
|
+
"label": "Time",
|
|
4962
|
+
"detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
|
|
4963
|
+
"insertText": "Time(${1:hours_}, ${2:minutes_})$0",
|
|
4964
|
+
"insertTextMode": 2,
|
|
4965
|
+
"insertTextFormat": 2,
|
|
4966
|
+
"kind": 3,
|
|
4967
|
+
"documentation": {
|
|
4968
|
+
"kind": "markdown",
|
|
4969
|
+
"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"
|
|
4970
|
+
}
|
|
4971
|
+
},
|
|
4972
|
+
"parametersInfo": {
|
|
4973
|
+
"min": 2,
|
|
4974
|
+
"max": 4
|
|
4975
|
+
}
|
|
4976
|
+
},
|
|
4977
|
+
{
|
|
4978
|
+
"type": "function",
|
|
4979
|
+
"name": "time",
|
|
4980
|
+
"bundle": "core",
|
|
4981
|
+
"sinceVersion": "1.24",
|
|
4982
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
|
|
4983
|
+
"description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
|
|
4984
|
+
"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",
|
|
4985
|
+
"completion": {
|
|
4986
|
+
"label": "Time",
|
|
4987
|
+
"detail": "Time(timeValue, format?) -> Time",
|
|
4988
|
+
"insertText": "Time(${1:timeValue_})$0",
|
|
4989
|
+
"insertTextMode": 2,
|
|
4990
|
+
"insertTextFormat": 2,
|
|
4991
|
+
"kind": 3,
|
|
4992
|
+
"documentation": {
|
|
4993
|
+
"kind": "markdown",
|
|
4994
|
+
"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"
|
|
4995
|
+
}
|
|
4996
|
+
},
|
|
4997
|
+
"parametersInfo": {
|
|
4998
|
+
"min": 1,
|
|
4999
|
+
"max": 2
|
|
5000
|
+
}
|
|
5001
|
+
}
|
|
5002
|
+
],
|
|
5003
|
+
{
|
|
5004
|
+
"type": "function",
|
|
5005
|
+
"name": "timestamp",
|
|
5006
|
+
"bundle": "core",
|
|
5007
|
+
"sinceVersion": "1.1",
|
|
5008
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
|
|
5009
|
+
"description": "Δημιουργεί μια τιμή ημερομηνίας που αντιπροσωπεύει την τρέχουσα ημερομηνία και ώρα σε UTC.",
|
|
5010
|
+
"examples": "\n##### Παράδειγμα\n\nΔημιουργεί μια ημερομηνία σε ώρα UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
|
|
5011
|
+
"completion": {
|
|
5012
|
+
"label": "Timestamp",
|
|
5013
|
+
"detail": "Timestamp() -> Date",
|
|
5014
|
+
"insertText": "Timestamp($0)",
|
|
5015
|
+
"insertTextMode": 2,
|
|
5016
|
+
"insertTextFormat": 2,
|
|
5017
|
+
"kind": 3,
|
|
5018
|
+
"documentation": {
|
|
5019
|
+
"kind": "markdown",
|
|
5020
|
+
"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)"
|
|
5021
|
+
}
|
|
5022
|
+
},
|
|
5023
|
+
"parametersInfo": {
|
|
5024
|
+
"min": 0,
|
|
5025
|
+
"max": 0
|
|
5026
|
+
}
|
|
5027
|
+
},
|
|
4363
5028
|
{
|
|
4364
5029
|
"type": "function",
|
|
4365
|
-
"name": "
|
|
5030
|
+
"name": "timezone",
|
|
4366
5031
|
"bundle": "core",
|
|
4367
|
-
"
|
|
4368
|
-
"
|
|
4369
|
-
"
|
|
5032
|
+
"sinceVersion": "1.24",
|
|
5033
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
5034
|
+
"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",
|
|
5035
|
+
"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",
|
|
4370
5036
|
"completion": {
|
|
4371
|
-
"label": "
|
|
4372
|
-
"detail": "
|
|
4373
|
-
"insertText": "
|
|
5037
|
+
"label": "TimeZone",
|
|
5038
|
+
"detail": "TimeZone(dateValue) -> Text",
|
|
5039
|
+
"insertText": "TimeZone(${1:dateValue_})$0",
|
|
4374
5040
|
"insertTextMode": 2,
|
|
4375
5041
|
"insertTextFormat": 2,
|
|
4376
5042
|
"kind": 3,
|
|
4377
5043
|
"documentation": {
|
|
4378
5044
|
"kind": "markdown",
|
|
4379
|
-
"value": "
|
|
5045
|
+
"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)"
|
|
4380
5046
|
}
|
|
4381
5047
|
},
|
|
4382
5048
|
"parametersInfo": {
|
|
@@ -4386,27 +5052,27 @@
|
|
|
4386
5052
|
},
|
|
4387
5053
|
{
|
|
4388
5054
|
"type": "function",
|
|
4389
|
-
"name": "
|
|
5055
|
+
"name": "timezoneoffset",
|
|
4390
5056
|
"bundle": "core",
|
|
4391
|
-
"sinceVersion": "1.
|
|
4392
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
4393
|
-
"description": "
|
|
4394
|
-
"examples": "\n##### Παράδειγμα\n\
|
|
5057
|
+
"sinceVersion": "1.24",
|
|
5058
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
|
|
5059
|
+
"description": "Returns the time zone offset in minutes from UTC for the given Date.",
|
|
5060
|
+
"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",
|
|
4395
5061
|
"completion": {
|
|
4396
|
-
"label": "
|
|
4397
|
-
"detail": "
|
|
4398
|
-
"insertText": "
|
|
5062
|
+
"label": "TimeZoneOffset",
|
|
5063
|
+
"detail": "TimeZoneOffset(dateValue) -> Number",
|
|
5064
|
+
"insertText": "TimeZoneOffset(${1:dateValue_})$0",
|
|
4399
5065
|
"insertTextMode": 2,
|
|
4400
5066
|
"insertTextFormat": 2,
|
|
4401
5067
|
"kind": 3,
|
|
4402
5068
|
"documentation": {
|
|
4403
5069
|
"kind": "markdown",
|
|
4404
|
-
"value": "**[Από την έκδοση 1.
|
|
5070
|
+
"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)"
|
|
4405
5071
|
}
|
|
4406
5072
|
},
|
|
4407
5073
|
"parametersInfo": {
|
|
4408
|
-
"min":
|
|
4409
|
-
"max":
|
|
5074
|
+
"min": 1,
|
|
5075
|
+
"max": 1
|
|
4410
5076
|
}
|
|
4411
5077
|
},
|
|
4412
5078
|
{
|
|
@@ -4490,7 +5156,7 @@
|
|
|
4490
5156
|
"sinceVersion": "1.14",
|
|
4491
5157
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
|
|
4492
5158
|
"description": "Επιστρέφει τον αριθμό της εβδομάδας του έτους της δεδομένης ημερομηνίας. Οι τιμές κυμαίνονται από 0-53 όπου η πρώτη εβδομάδα του έτους είναι `0` και η τελευταία εβδομάδα του έτους είναι `51`, `52` ή `53`, ανάλογα με το έτος. Η πρώτη και η τελευταία εβδομάδα μπορεί να μην έχουν πλήρη διάρκεια επτά ημερών.",
|
|
4493
|
-
"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",
|
|
5159
|
+
"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",
|
|
4494
5160
|
"completion": {
|
|
4495
5161
|
"label": "Week",
|
|
4496
5162
|
"detail": "Week(dateValue, startDay?) -> Number",
|
|
@@ -4500,7 +5166,7 @@
|
|
|
4500
5166
|
"kind": 3,
|
|
4501
5167
|
"documentation": {
|
|
4502
5168
|
"kind": "markdown",
|
|
4503
|
-
"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)"
|
|
5169
|
+
"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)"
|
|
4504
5170
|
}
|
|
4505
5171
|
},
|
|
4506
5172
|
"parametersInfo": {
|
|
@@ -4514,7 +5180,7 @@
|
|
|
4514
5180
|
"bundle": "core",
|
|
4515
5181
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
|
|
4516
5182
|
"description": "Επιστρέφεται η ημέρα της εβδομάδας της καθορισμένης ημερομηνίας. Το εύρος τιμών είναι 0-6, όπου η Κυριακή έχει την τιμή `0` και το Σάββατο την τιμή `6`.",
|
|
4517
|
-
"examples": "\n#####
|
|
5183
|
+
"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",
|
|
4518
5184
|
"completion": {
|
|
4519
5185
|
"label": "Weekday",
|
|
4520
5186
|
"detail": "Weekday(dateValue) -> Number",
|
|
@@ -4524,7 +5190,7 @@
|
|
|
4524
5190
|
"kind": 3,
|
|
4525
5191
|
"documentation": {
|
|
4526
5192
|
"kind": "markdown",
|
|
4527
|
-
"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)"
|
|
5193
|
+
"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)"
|
|
4528
5194
|
}
|
|
4529
5195
|
},
|
|
4530
5196
|
"parametersInfo": {
|
|
@@ -4538,7 +5204,7 @@
|
|
|
4538
5204
|
"bundle": "core",
|
|
4539
5205
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
|
|
4540
5206
|
"description": "Επιστρέφει το έτος της δεδομένης ημερομηνίας.",
|
|
4541
|
-
"examples": "\n#####
|
|
5207
|
+
"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",
|
|
4542
5208
|
"completion": {
|
|
4543
5209
|
"label": "Year",
|
|
4544
5210
|
"detail": "Year(dateValue) -> Number",
|
|
@@ -4548,7 +5214,7 @@
|
|
|
4548
5214
|
"kind": 3,
|
|
4549
5215
|
"documentation": {
|
|
4550
5216
|
"kind": "markdown",
|
|
4551
|
-
"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)"
|
|
5217
|
+
"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)"
|
|
4552
5218
|
}
|
|
4553
5219
|
},
|
|
4554
5220
|
"parametersInfo": {
|
|
@@ -5314,7 +5980,7 @@
|
|
|
5314
5980
|
"bundle": "core",
|
|
5315
5981
|
"link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
|
|
5316
5982
|
"description": "Μετατρέπει το όρισμά του σε τιμή κειμένου και το μορφοποιεί προαιρετικά. Επιστρέφει τη τιμή `null` εάν αποτύχει.",
|
|
5317
|
-
"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(
|
|
5983
|
+
"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",
|
|
5318
5984
|
"completion": {
|
|
5319
5985
|
"label": "Text",
|
|
5320
5986
|
"detail": "Text(value, format?) -> Text",
|