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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +858 -192
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +821 -155
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +829 -163
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +829 -163
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +829 -163
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +829 -163
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +829 -163
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +858 -192
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +853 -187
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +829 -163
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +829 -163
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +858 -192
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +829 -163
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +858 -192
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +829 -163
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +829 -163
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +858 -192
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +821 -155
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +859 -193
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +859 -193
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +829 -163
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +829 -163
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +829 -163
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +829 -163
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +829 -163
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +829 -163
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +829 -163
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +829 -163
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +858 -192
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +829 -163
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +829 -163
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +845 -179
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +829 -163
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +858 -192
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +858 -192
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +858 -192
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +858 -192
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +859 -193
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +859 -193
  41. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +859 -193
  42. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +1 -2
  43. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +1 -2
  44. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +1 -2
  45. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +1 -2
  46. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +1 -2
  47. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +1 -2
  48. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +1 -2
  49. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +1 -2
  50. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +1 -2
  51. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +1 -2
  52. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +1 -2
  53. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +1 -2
  54. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +1 -2
  55. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +1 -2
  56. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +1 -2
  57. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +1 -2
  58. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +1 -2
  59. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +1 -2
  60. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +1 -2
  61. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +1 -2
  62. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +1 -2
  63. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +1 -2
  64. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +1 -2
  65. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +1 -2
  66. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +1 -2
  67. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +1 -2
  68. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +1 -2
  69. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +1 -2
  70. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +1 -2
  71. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +1 -2
  72. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +1 -2
  73. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +1 -2
  74. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +1 -2
  75. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +1 -2
  76. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +1 -2
  77. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +1 -2
  78. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +1 -2
  79. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +1 -2
  80. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +1 -2
  81. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +1 -2
  82. package/dist/arcgis-coding-components/index.esm.js +1 -1
  83. package/dist/arcgis-coding-components/{p-ed254359.js → p-00c0b964.js} +1 -1
  84. package/dist/arcgis-coding-components/{p-616bcc2c.js → p-0f471c2c.js} +1 -1
  85. package/dist/arcgis-coding-components/{p-4d7cdaf4.js → p-2daa5deb.js} +1 -1
  86. package/dist/arcgis-coding-components/{p-b866ffa3.js → p-65933e8a.js} +1 -1
  87. package/dist/arcgis-coding-components/{p-2eee5b07.js → p-92019d78.js} +7 -7
  88. package/dist/arcgis-coding-components/{p-ee4aaf72.js → p-bcd478e3.js} +1 -1
  89. package/dist/arcgis-coding-components/{p-41feaa6e.js → p-be85ec3d.js} +1 -1
  90. package/dist/arcgis-coding-components/{p-63d6d128.js → p-bf83cfac.js} +1 -1
  91. package/dist/arcgis-coding-components/p-dd2d53e7.entry.js +1 -0
  92. package/dist/arcgis-coding-components/{p-c14a46af.js → p-f1b6ba59.js} +1 -1
  93. package/dist/cjs/{arcade-defaults-f77b7bae.js → arcade-defaults-990ceb0a.js} +51 -33
  94. package/dist/cjs/{arcade-mode-4b1d5adc.js → arcade-mode-6a101da0.js} +1 -1
  95. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +40 -10
  96. package/dist/cjs/{cssMode-c21a8b34.js → cssMode-ef738198.js} +1 -1
  97. package/dist/cjs/{html-baddeebf.js → html-e97a8c1e.js} +1 -1
  98. package/dist/cjs/{htmlMode-3ca73779.js → htmlMode-0afb8251.js} +1 -1
  99. package/dist/cjs/index.cjs.js +1 -1
  100. package/dist/cjs/{javascript-4226e8d4.js → javascript-09fbcb7d.js} +2 -2
  101. package/dist/cjs/{jsonMode-4496d6b9.js → jsonMode-9a315af5.js} +1 -1
  102. package/dist/cjs/{tsMode-6fa6f2f6.js → tsMode-000c3471.js} +1 -1
  103. package/dist/cjs/{typescript-5b6bab68.js → typescript-a9f8ce6c.js} +1 -1
  104. package/dist/components/arcade-api.js +2 -1
  105. package/dist/components/arcade-defaults.js +3 -23
  106. package/dist/components/arcade-results.js +40 -10
  107. package/dist/components/arcade-suggestions.js +2 -1
  108. package/dist/components/arcade-variables.js +1 -1
  109. package/dist/components/arcgis-arcade-editor.js +1 -1
  110. package/dist/components/code-editor.js +1 -1
  111. package/dist/components/fields.js +125 -0
  112. package/dist/components/index2.js +282 -32
  113. package/dist/components/utilities.js +2 -334
  114. package/dist/esm/{arcade-defaults-24670a1d.js → arcade-defaults-a8808d6a.js} +52 -33
  115. package/dist/esm/{arcade-mode-dc10ed9f.js → arcade-mode-6c8aff99.js} +1 -1
  116. package/dist/esm/arcgis-arcade-api_6.entry.js +40 -10
  117. package/dist/esm/{cssMode-0ae84348.js → cssMode-e19675cf.js} +1 -1
  118. package/dist/esm/{html-c18864a6.js → html-0e2f7c2f.js} +1 -1
  119. package/dist/esm/{htmlMode-426699f2.js → htmlMode-a4dd6993.js} +1 -1
  120. package/dist/esm/index.js +1 -1
  121. package/dist/esm/{javascript-982f2d73.js → javascript-9d754452.js} +2 -2
  122. package/dist/esm/{jsonMode-170e0a0e.js → jsonMode-cfafe91a.js} +1 -1
  123. package/dist/esm/{tsMode-99d2e8e5.js → tsMode-612386a7.js} +1 -1
  124. package/dist/esm/{typescript-de4f8a27.js → typescript-a17e2ba3.js} +1 -1
  125. package/dist/types/utils/arcade-executor.d.ts +35 -3
  126. package/dist/types/utils/fields.d.ts +10 -0
  127. package/dist/types/utils/profile/types.d.ts +2 -2
  128. package/dist/types/utils/utilities.d.ts +0 -6
  129. package/package.json +8 -8
  130. package/dist/arcgis-coding-components/p-9a6baa15.entry.js +0 -1
@@ -1316,6 +1316,31 @@
1316
1316
  "max": 4
1317
1317
  }
1318
1318
  },
1319
+ {
1320
+ "type": "function",
1321
+ "name": "featuresetbyrelationshipclass",
1322
+ "bundle": "data-access",
1323
+ "sinceVersion": "1.24",
1324
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
1325
+ "description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
1326
+ "examples": "\n##### Contoh\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",
1327
+ "completion": {
1328
+ "label": "FeatureSetByRelationshipClass",
1329
+ "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
1330
+ "insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
1331
+ "insertTextMode": 2,
1332
+ "insertTextFormat": 2,
1333
+ "kind": 3,
1334
+ "documentation": {
1335
+ "kind": "markdown",
1336
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature as a FeatureSet based on the class name of the relationship.\n\n**Parameter**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records. This feature must come from a feature service; feature collections are not supported.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The class name of the relationship according to the feature service associated with the given feature.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**Nilai kembali**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
1337
+ }
1338
+ },
1339
+ "parametersInfo": {
1340
+ "min": 2,
1341
+ "max": 4
1342
+ }
1343
+ },
1319
1344
  {
1320
1345
  "type": "function",
1321
1346
  "name": "featuresetbyrelationshipname",
@@ -4566,6 +4591,31 @@
4566
4591
  "max": 2
4567
4592
  }
4568
4593
  },
4594
+ {
4595
+ "type": "function",
4596
+ "name": "equals",
4597
+ "bundle": "core",
4598
+ "sinceVersion": "1.24",
4599
+ "link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
4600
+ "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.",
4601
+ "examples": "\n##### Contoh\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",
4602
+ "completion": {
4603
+ "label": "Equals",
4604
+ "detail": "Equals(value1, value2) -> Boolean",
4605
+ "insertText": "Equals(${1:value1_}, ${2:value2_})$0",
4606
+ "insertTextMode": 2,
4607
+ "insertTextFormat": 2,
4608
+ "kind": 3,
4609
+ "documentation": {
4610
+ "kind": "markdown",
4611
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates if two values are equal. Object types (i.e. Arrays, Features, Dictionaries, Geometry) will return true only if they are the same object.\n\n**Parameter**\n\n- **value1**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The first input value.\n- **value2**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The second input value.\n\n**Nilai kembali**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4612
+ }
4613
+ },
4614
+ "parametersInfo": {
4615
+ "min": 2,
4616
+ "max": 2
4617
+ }
4618
+ },
4569
4619
  {
4570
4620
  "type": "function",
4571
4621
  "name": "iif",
@@ -5001,7 +5051,7 @@
5001
5051
  "kind": 3,
5002
5052
  "documentation": {
5003
5053
  "kind": "markdown",
5004
- "value": "**[Sejak versi 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMenghasilkan nilai kode hash untuk variabel yang diberikan.\n\n**Parameter**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Variabel yang akan diurai.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5054
+ "value": "**[Sejak versi 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMenghasilkan nilai kode hash untuk variabel yang diberikan.\n\n**Parameter**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| DateOnly \\| Time - Variabel yang akan diurai.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5005
5055
  }
5006
5056
  },
5007
5057
  "parametersInfo": {
@@ -5617,29 +5667,54 @@
5617
5667
  "id": "date_functions",
5618
5668
  "title": "Fungsi tanggal",
5619
5669
  "items": [
5670
+ {
5671
+ "type": "function",
5672
+ "name": "changetimezone",
5673
+ "bundle": "core",
5674
+ "sinceVersion": "1.24",
5675
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
5676
+ "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`.",
5677
+ "examples": "\n##### Contoh\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",
5678
+ "completion": {
5679
+ "label": "ChangeTimeZone",
5680
+ "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
5681
+ "insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
5682
+ "insertTextMode": 2,
5683
+ "insertTextFormat": 2,
5684
+ "kind": 3,
5685
+ "documentation": {
5686
+ "kind": "markdown",
5687
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. \nThe time zone must be one of the following:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5688
+ }
5689
+ },
5690
+ "parametersInfo": {
5691
+ "min": 2,
5692
+ "max": 2
5693
+ }
5694
+ },
5620
5695
  [
5621
5696
  {
5622
5697
  "type": "function",
5623
5698
  "name": "date",
5624
5699
  "bundle": "core",
5625
5700
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
5626
- "description": "Buat objek Tanggal dari set parameter. Secara default, tanggal dibuat berdasarkan waktu klien atau sistem setempat.",
5627
- "examples": "\n##### Contoh\n\nBuat tanggal yang mencerminkan waktu yang diberikan dalam waktu setempat dari sistem Arcade dijalankan\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nBuat tanggal yang mencerminkan waktu saat ini dalam waktu setempat dari sistem Arcade dijalankan\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
5701
+ "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.",
5702
+ "examples": "\n##### Contoh\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",
5628
5703
  "completion": {
5629
5704
  "label": "Date",
5630
- "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
5705
+ "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
5631
5706
  "insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
5632
5707
  "insertTextMode": 2,
5633
5708
  "insertTextFormat": 2,
5634
5709
  "kind": 3,
5635
5710
  "documentation": {
5636
5711
  "kind": "markdown",
5637
- "value": "Buat objek Tanggal dari set parameter. Secara default, tanggal dibuat berdasarkan waktu klien atau sistem setempat.\n\n**Parameter**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Angka yang mewakili satu tahun.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Bulan (0-11) di mana `0` adalah Januari dan `11` adalah Desember.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Hari dalam bulan (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jam dalam hari (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Menit dalam jam (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Detik dalam menit (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Milidetik dari detik (0-999).\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5712
+ "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parameter**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5638
5713
  }
5639
5714
  },
5640
5715
  "parametersInfo": {
5641
5716
  "min": 3,
5642
- "max": 7
5717
+ "max": 8
5643
5718
  }
5644
5719
  },
5645
5720
  {
@@ -5647,8 +5722,8 @@
5647
5722
  "name": "date",
5648
5723
  "bundle": "core",
5649
5724
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
5650
- "description": "Buat tanggal dengan nomor Epoch Unix dalam zona waktu klien atau sistem setempat.",
5651
- "examples": "\n##### Contoh\n\nMilidetik sejak 1 Januari 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n",
5725
+ "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.",
5726
+ "examples": "\n##### Contoh\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",
5652
5727
  "completion": {
5653
5728
  "label": "Date",
5654
5729
  "detail": "Date(epoch?) -> Date",
@@ -5658,7 +5733,7 @@
5658
5733
  "kind": 3,
5659
5734
  "documentation": {
5660
5735
  "kind": "markdown",
5661
- "value": "Buat tanggal dengan nomor Epoch Unix dalam zona waktu klien atau sistem setempat.\n\n**Parameter**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jumlah milidetik sejak 1 Januari 1970 UTC.\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5736
+ "value": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.\n\n**Parameter**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5662
5737
  }
5663
5738
  },
5664
5739
  "parametersInfo": {
@@ -5671,8 +5746,8 @@
5671
5746
  "name": "date",
5672
5747
  "bundle": "core",
5673
5748
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
5674
- "description": "Konversi nilai teks ISO 8601 ke objek Tanggal pada zona waktu klien atau sistem setempat.",
5675
- "examples": "\n##### Contoh\n\nNilai text ISO 8601\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\n",
5749
+ "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.",
5750
+ "examples": "\n##### Contoh\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",
5676
5751
  "completion": {
5677
5752
  "label": "Date",
5678
5753
  "detail": "Date(timestamp?) -> Date",
@@ -5682,154 +5757,386 @@
5682
5757
  "kind": 3,
5683
5758
  "documentation": {
5684
5759
  "kind": "markdown",
5685
- "value": "Konversi nilai teks ISO 8601 ke objek Tanggal pada zona waktu klien atau sistem setempat.\n\n**Parameter**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Nilai teks ISO 8601 yang akan dikonversi menjadi tanggal.\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5760
+ "value": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.\n\n**Parameter**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - An ISO 8601 text value to be converted into a Date.\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5686
5761
  }
5687
5762
  },
5688
5763
  "parametersInfo": {
5689
5764
  "min": 0,
5690
5765
  "max": 1
5691
5766
  }
5692
- }
5693
- ],
5694
- {
5695
- "type": "function",
5696
- "name": "dateadd",
5697
- "bundle": "core",
5698
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd",
5699
- "description": "Menambahkan sejumlah waktu dalam unit tertentu ke suatu tanggal untuk menghasilkan tanggal baru.",
5700
- "examples": "\n##### Contoh\n\nMenambahkan 7 hari ke dalam tanggal dalam kolom yang disediakan\n\n```arcade\nvar startDate = Date($feature.dateField);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n```\n\n",
5701
- "completion": {
5702
- "label": "DateAdd",
5703
- "detail": "DateAdd(dateValue, addValue, units?) -> Date",
5704
- "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
5705
- "insertTextMode": 2,
5706
- "insertTextFormat": 2,
5707
- "kind": 3,
5708
- "documentation": {
5709
- "kind": "markdown",
5710
- "value": "Menambahkan sejumlah waktu dalam unit tertentu ke suatu tanggal untuk menghasilkan tanggal baru.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Tanggal input yang akan ditambahkan dengan waktu.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Nilai yang akan ditambahkan ke dalam tanggal dalam satuan tertentu.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Unit angka yang akan ditambahkan ke tanggal. Defaultnya adalah 'milliseconds`. Jenis unit yang didukung meliputi `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5767
+ },
5768
+ {
5769
+ "type": "function",
5770
+ "name": "date",
5771
+ "bundle": "core",
5772
+ "sinceVersion": "1.24",
5773
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
5774
+ "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
5775
+ "examples": "\n##### Contoh\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",
5776
+ "completion": {
5777
+ "label": "Date",
5778
+ "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
5779
+ "insertText": "Date(${1:dateOnlyValue_})$0",
5780
+ "insertTextMode": 2,
5781
+ "insertTextFormat": 2,
5782
+ "kind": 3,
5783
+ "documentation": {
5784
+ "kind": "markdown",
5785
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parameter**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): Time - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5786
+ }
5787
+ },
5788
+ "parametersInfo": {
5789
+ "min": 1,
5790
+ "max": 3
5711
5791
  }
5712
5792
  },
5713
- "parametersInfo": {
5714
- "min": 2,
5715
- "max": 3
5793
+ {
5794
+ "type": "function",
5795
+ "name": "date",
5796
+ "bundle": "core",
5797
+ "sinceVersion": "1.24",
5798
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
5799
+ "description": "Creates a copy of the given Date.",
5800
+ "examples": "\n##### Contoh\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
5801
+ "completion": {
5802
+ "label": "Date",
5803
+ "detail": "Date(dateValue) -> Date",
5804
+ "insertText": "Date(${1:dateValue_})$0",
5805
+ "insertTextMode": 2,
5806
+ "insertTextFormat": 2,
5807
+ "kind": 3,
5808
+ "documentation": {
5809
+ "kind": "markdown",
5810
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5811
+ }
5812
+ },
5813
+ "parametersInfo": {
5814
+ "min": 1,
5815
+ "max": 1
5816
+ }
5716
5817
  }
5717
- },
5718
- {
5719
- "type": "function",
5720
- "name": "datediff",
5721
- "bundle": "core",
5722
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff",
5723
- "description": "Mengurangi dua tanggal, dan menghasilkan perbedaan dalam unit yang ditentukan.",
5724
- "examples": "\n##### Contoh\n\nMengurangi dua tanggal dan menghasilkan umur\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n",
5725
- "completion": {
5726
- "label": "DateDiff",
5727
- "detail": "DateDiff(date1, date2, units?) -> Number",
5728
- "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
5729
- "insertTextMode": 2,
5730
- "insertTextFormat": 2,
5731
- "kind": 3,
5732
- "documentation": {
5733
- "kind": "markdown",
5734
- "value": "Mengurangi dua tanggal, dan menghasilkan perbedaan dalam unit yang ditentukan.\n\n**Parameter**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang akan dikurangi menjadi tanggal kedua.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang akan dikurangi dari tanggal tertentu pertama.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Unit yang akan menampilkan perbedaan dua tanggal yang ditentukan. Jenis unit yang didukung meliputi `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. Nilai defaultnya adalah `milliseconds`.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5818
+ ],
5819
+ [
5820
+ {
5821
+ "type": "function",
5822
+ "name": "dateadd",
5823
+ "bundle": "core",
5824
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
5825
+ "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.",
5826
+ "examples": "\n##### Contoh\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",
5827
+ "completion": {
5828
+ "label": "DateAdd",
5829
+ "detail": "DateAdd(dateValue, addValue, units?) -> Date",
5830
+ "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
5831
+ "insertTextMode": 2,
5832
+ "insertTextFormat": 2,
5833
+ "kind": 3,
5834
+ "documentation": {
5835
+ "kind": "markdown",
5836
+ "value": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The input Date to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the Date in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the Date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5837
+ }
5838
+ },
5839
+ "parametersInfo": {
5840
+ "min": 2,
5841
+ "max": 3
5735
5842
  }
5736
5843
  },
5737
- "parametersInfo": {
5738
- "min": 2,
5739
- "max": 3
5740
- }
5741
- },
5742
- {
5743
- "type": "function",
5744
- "name": "day",
5745
- "bundle": "core",
5746
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
5747
- "description": "Mengembalikan hari dalam bulan dari tanggal tertentu.",
5748
- "examples": "\n##### Contoh\n\nMendapatkan hari dalam bulan dari tanggal saat ini\n\n```arcade\nDay(Now())\n```\n\n",
5749
- "completion": {
5750
- "label": "Day",
5751
- "detail": "Day(dateValue) -> Number",
5752
- "insertText": "Day(${1:dateValue_})$0",
5753
- "insertTextMode": 2,
5754
- "insertTextFormat": 2,
5755
- "kind": 3,
5756
- "documentation": {
5757
- "kind": "markdown",
5758
- "value": "Mengembalikan hari dalam bulan dari tanggal tertentu.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan hari dalam bulan.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5844
+ {
5845
+ "type": "function",
5846
+ "name": "dateadd",
5847
+ "bundle": "core",
5848
+ "sinceVersion": "1.24",
5849
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
5850
+ "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
5851
+ "examples": "\n##### Contoh\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",
5852
+ "completion": {
5853
+ "label": "DateAdd",
5854
+ "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
5855
+ "insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
5856
+ "insertTextMode": 2,
5857
+ "insertTextFormat": 2,
5858
+ "kind": 3,
5859
+ "documentation": {
5860
+ "kind": "markdown",
5861
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.\n\n**Parameter**\n\n- **dateOnlyValue**: DateOnly - The input DateOnly value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the date in the given units. For DateOnly inputs, this value will be rounded down to the nearest day based on a 24-hour interval. If the value to be added is less than 24 hours, then no value will be added to the DateOnly input.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**Nilai kembali**: DateOnly"
5862
+ }
5863
+ },
5864
+ "parametersInfo": {
5865
+ "min": 2,
5866
+ "max": 3
5759
5867
  }
5760
5868
  },
5761
- "parametersInfo": {
5762
- "min": 1,
5763
- "max": 1
5869
+ {
5870
+ "type": "function",
5871
+ "name": "dateadd",
5872
+ "bundle": "core",
5873
+ "sinceVersion": "1.24",
5874
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
5875
+ "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
5876
+ "examples": "\n##### Contoh\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",
5877
+ "completion": {
5878
+ "label": "DateAdd",
5879
+ "detail": "DateAdd(timeValue, addValue, units?) -> Time",
5880
+ "insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
5881
+ "insertTextMode": 2,
5882
+ "insertTextFormat": 2,
5883
+ "kind": 3,
5884
+ "documentation": {
5885
+ "kind": "markdown",
5886
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a Time value and returns a new Time value.\n\n**Parameter**\n\n- **timeValue**: Time - The input Time value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the time in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`\n\n**Nilai kembali**: Time"
5887
+ }
5888
+ },
5889
+ "parametersInfo": {
5890
+ "min": 2,
5891
+ "max": 3
5892
+ }
5764
5893
  }
5765
- },
5766
- {
5767
- "type": "function",
5768
- "name": "hour",
5769
- "bundle": "core",
5770
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour",
5771
- "description": "Mengembalikan jam dari waktu pada tanggal tertentu (0-23).",
5772
- "examples": "\n##### Contoh\n\nMendapatkan jam dari waktu saat ini\n\n```arcade\nHour(Now())\n```\n\n",
5773
- "completion": {
5774
- "label": "Hour",
5775
- "detail": "Hour(dateValue) -> Number",
5776
- "insertText": "Hour(${1:dateValue_})$0",
5777
- "insertTextMode": 2,
5778
- "insertTextFormat": 2,
5779
- "kind": 3,
5780
- "documentation": {
5781
- "kind": "markdown",
5782
- "value": "Mengembalikan jam dari waktu pada tanggal tertentu (0-23).\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan jam dari waktu.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5894
+ ],
5895
+ [
5896
+ {
5897
+ "type": "function",
5898
+ "name": "datediff",
5899
+ "bundle": "core",
5900
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
5901
+ "description": "Subtracts two Dates, and returns the difference in the specified units.",
5902
+ "examples": "\n##### Contoh\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",
5903
+ "completion": {
5904
+ "label": "DateDiff",
5905
+ "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
5906
+ "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
5907
+ "insertTextMode": 2,
5908
+ "insertTextFormat": 2,
5909
+ "kind": 3,
5910
+ "documentation": {
5911
+ "kind": "markdown",
5912
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parameter**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. \nPossible values: \n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5913
+ }
5914
+ },
5915
+ "parametersInfo": {
5916
+ "min": 2,
5917
+ "max": 4
5783
5918
  }
5784
5919
  },
5785
- "parametersInfo": {
5786
- "min": 1,
5787
- "max": 1
5788
- }
5789
- },
5790
- {
5791
- "type": "function",
5792
- "name": "isomonth",
5793
- "bundle": "core",
5794
- "sinceVersion": "1.12",
5795
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
5796
- "description": "Mengembalikan bulan dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Nilai berkisar dari 1-12 dengan Januari adalah `1` dan Desember adalah `12`.",
5797
- "examples": "\n##### Contoh\n\nMendapatkan bulan dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Mengembalikan `12`, untuk bulan Desember.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n",
5798
- "completion": {
5799
- "label": "ISOMonth",
5800
- "detail": "ISOMonth(dateValue) -> Number",
5801
- "insertText": "ISOMonth(${1:dateValue_})$0",
5802
- "insertTextMode": 2,
5803
- "insertTextFormat": 2,
5804
- "kind": 3,
5805
- "documentation": {
5806
- "kind": "markdown",
5807
- "value": "**[Sejak versi 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan bulan dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Nilai berkisar dari 1-12 dengan Januari adalah `1` dan Desember adalah `12`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan bulan.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5920
+ {
5921
+ "type": "function",
5922
+ "name": "datediff",
5923
+ "bundle": "core",
5924
+ "sinceVersion": "1.24",
5925
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
5926
+ "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
5927
+ "examples": "\n##### Contoh\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",
5928
+ "completion": {
5929
+ "label": "DateDiff",
5930
+ "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
5931
+ "insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
5932
+ "insertTextMode": 2,
5933
+ "insertTextFormat": 2,
5934
+ "kind": 3,
5935
+ "documentation": {
5936
+ "kind": "markdown",
5937
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two DateOnly values, and returns the difference in the specified units.\n\n**Parameter**\n\n- **dateOnly1**: DateOnly - The DateOnly value from which to subtract a second DateOnly value.\n- **dateOnly2**: DateOnly - The DateOnly value to subtract from the first given DateOnly value.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given DateOnly values. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5938
+ }
5939
+ },
5940
+ "parametersInfo": {
5941
+ "min": 2,
5942
+ "max": 3
5808
5943
  }
5809
5944
  },
5810
- "parametersInfo": {
5811
- "min": 1,
5812
- "max": 1
5945
+ {
5946
+ "type": "function",
5947
+ "name": "datediff",
5948
+ "bundle": "core",
5949
+ "sinceVersion": "1.24",
5950
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
5951
+ "description": "Subtracts two Time values, and returns the difference in the specified units.",
5952
+ "examples": "\n##### Contoh\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",
5953
+ "completion": {
5954
+ "label": "DateDiff",
5955
+ "detail": "DateDiff(time1, time2, units?) -> Number",
5956
+ "insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
5957
+ "insertTextMode": 2,
5958
+ "insertTextFormat": 2,
5959
+ "kind": 3,
5960
+ "documentation": {
5961
+ "kind": "markdown",
5962
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two Time values, and returns the difference in the specified units.\n\n**Parameter**\n\n- **time1**: Time - The Time value from which to subtract a second Time value.\n- **time2**: Time - The Time value to subtract from the first given Time value.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Time values. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`. The default value is `milliseconds`.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5963
+ }
5964
+ },
5965
+ "parametersInfo": {
5966
+ "min": 2,
5967
+ "max": 3
5968
+ }
5813
5969
  }
5814
- },
5815
- {
5970
+ ],
5971
+ [
5972
+ {
5973
+ "type": "function",
5974
+ "name": "dateonly",
5975
+ "bundle": "core",
5976
+ "sinceVersion": "1.24",
5977
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
5978
+ "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
5979
+ "examples": "\n##### Contoh\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
5980
+ "completion": {
5981
+ "label": "DateOnly",
5982
+ "detail": "DateOnly() -> DateOnly",
5983
+ "insertText": "DateOnly($0)",
5984
+ "insertTextMode": 2,
5985
+ "insertTextFormat": 2,
5986
+ "kind": 3,
5987
+ "documentation": {
5988
+ "kind": "markdown",
5989
+ "value": "**[Sejak versi 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**Nilai kembali**: DateOnly"
5990
+ }
5991
+ },
5992
+ "parametersInfo": {
5993
+ "min": 0,
5994
+ "max": 0
5995
+ }
5996
+ },
5997
+ {
5998
+ "type": "function",
5999
+ "name": "dateonly",
6000
+ "bundle": "core",
6001
+ "sinceVersion": "1.24",
6002
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
6003
+ "description": "Creates a DateOnly value from a given date.",
6004
+ "examples": "\n##### Contoh\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",
6005
+ "completion": {
6006
+ "label": "DateOnly",
6007
+ "detail": "DateOnly(dateValue) -> DateOnly",
6008
+ "insertText": "DateOnly(${1:dateValue_})$0",
6009
+ "insertTextMode": 2,
6010
+ "insertTextFormat": 2,
6011
+ "kind": 3,
6012
+ "documentation": {
6013
+ "kind": "markdown",
6014
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**Nilai kembali**: DateOnly"
6015
+ }
6016
+ },
6017
+ "parametersInfo": {
6018
+ "min": 1,
6019
+ "max": 1
6020
+ }
6021
+ },
6022
+ {
6023
+ "type": "function",
6024
+ "name": "dateonly",
6025
+ "bundle": "core",
6026
+ "sinceVersion": "1.24",
6027
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
6028
+ "description": "Creates a DateOnly date with the given Unix epoch number.",
6029
+ "examples": "\n##### Contoh\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",
6030
+ "completion": {
6031
+ "label": "DateOnly",
6032
+ "detail": "DateOnly(epoch) -> DateOnly",
6033
+ "insertText": "DateOnly(${1:epoch_})$0",
6034
+ "insertTextMode": 2,
6035
+ "insertTextFormat": 2,
6036
+ "kind": 3,
6037
+ "documentation": {
6038
+ "kind": "markdown",
6039
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**Parameter**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Nilai kembali**: DateOnly"
6040
+ }
6041
+ },
6042
+ "parametersInfo": {
6043
+ "min": 1,
6044
+ "max": 1
6045
+ }
6046
+ },
6047
+ {
6048
+ "type": "function",
6049
+ "name": "dateonly",
6050
+ "bundle": "core",
6051
+ "sinceVersion": "1.24",
6052
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
6053
+ "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
6054
+ "examples": "\n##### Contoh\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",
6055
+ "completion": {
6056
+ "label": "DateOnly",
6057
+ "detail": "DateOnly(year, month, day) -> DateOnly",
6058
+ "insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
6059
+ "insertTextMode": 2,
6060
+ "insertTextFormat": 2,
6061
+ "kind": 3,
6062
+ "documentation": {
6063
+ "kind": "markdown",
6064
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from inputs representing the year, month, and day.\n\n**Parameter**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n\n**Nilai kembali**: DateOnly"
6065
+ }
6066
+ },
6067
+ "parametersInfo": {
6068
+ "min": 3,
6069
+ "max": 3
6070
+ }
6071
+ },
6072
+ {
6073
+ "type": "function",
6074
+ "name": "dateonly",
6075
+ "bundle": "core",
6076
+ "sinceVersion": "1.24",
6077
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
6078
+ "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.",
6079
+ "examples": "\n##### Contoh\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",
6080
+ "completion": {
6081
+ "label": "DateOnly",
6082
+ "detail": "DateOnly(dateValue, format?) -> DateOnly",
6083
+ "insertText": "DateOnly(${1:dateValue_})$0",
6084
+ "insertTextMode": 2,
6085
+ "insertTextFormat": 2,
6086
+ "kind": 3,
6087
+ "documentation": {
6088
+ "kind": "markdown",
6089
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a text input representing an ISO formatted date, or another formatted text with an additional input indicating the date's format.\n\n**Parameter**\n\n- **dateValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value representing a date. This should either be an ISO formatted date or another formatted text representing a date. If this value does not follow ISO format, the `format` parameter must be defined indicating the date's format.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value indicating the format of the `dateValue` input. \nPossible values: \n - `D`: Day of the month, not padded (1 - 31) \n - `DD`: Day of the month, padded (01 - 31) \n - `DDD`: Ordinal day of the year (1 - 365) \n - `d`: Day of the week (1 - 7) \n - `ddd`: Abbreviated day of the week (e.g. Mon) \n - `dddd`: Full day of the week (e.g. Monday) \n - `M`: Month number (1 - 12) \n - `MM`: Month number, padded (01 - 12) \n - `MMM`: Abbreviated month name (e.g. Jan) \n - `MMMM`: Full month name (e.g. January) \n - `Y`: Full year \n - `YY`: Two-digit year \n\n\n**Nilai kembali**: DateOnly"
6090
+ }
6091
+ },
6092
+ "parametersInfo": {
6093
+ "min": 1,
6094
+ "max": 2
6095
+ }
6096
+ },
6097
+ {
6098
+ "type": "function",
6099
+ "name": "dateonly",
6100
+ "bundle": "core",
6101
+ "sinceVersion": "1.24",
6102
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
6103
+ "description": "Creates a copy of a DateOnly value.",
6104
+ "examples": "\n##### Contoh\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",
6105
+ "completion": {
6106
+ "label": "DateOnly",
6107
+ "detail": "DateOnly(dateOnlyValue) -> DateOnly",
6108
+ "insertText": "DateOnly(${1:dateOnlyValue_})$0",
6109
+ "insertTextMode": 2,
6110
+ "insertTextFormat": 2,
6111
+ "kind": 3,
6112
+ "documentation": {
6113
+ "kind": "markdown",
6114
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**Parameter**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**Nilai kembali**: DateOnly"
6115
+ }
6116
+ },
6117
+ "parametersInfo": {
6118
+ "min": 1,
6119
+ "max": 1
6120
+ }
6121
+ }
6122
+ ],
6123
+ {
5816
6124
  "type": "function",
5817
- "name": "isoweek",
6125
+ "name": "day",
5818
6126
  "bundle": "core",
5819
- "sinceVersion": "1.12",
5820
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
5821
- "description": "Mengembalikan minggu dalam tahun pada tanggal yang ditentukan berdasarkan kalender tanggal minggu ISO 8601. Nilai berkisar dari 1-53, minggu pertama dalam setahun adalah `1` dan minggu terakhir dalam setahun adalah` 52` atau `53`, tergantung tahunnya.",
5822
- "examples": "\n##### Contoh\n\nMendapatkan minggu dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Mengembalikan `1`, karena tanggal ini disertakan dalam minggu pertama tahun berikutnya.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
6127
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
6128
+ "description": "Mengembalikan hari dalam bulan dari tanggal tertentu.",
6129
+ "examples": "\n##### Contoh\n\nMendapatkan hari dalam bulan dari tanggal saat ini\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",
5823
6130
  "completion": {
5824
- "label": "ISOWeek",
5825
- "detail": "ISOWeek(dateValue) -> Number",
5826
- "insertText": "ISOWeek(${1:dateValue_})$0",
6131
+ "label": "Day",
6132
+ "detail": "Day(dateValue) -> Number",
6133
+ "insertText": "Day(${1:dateValue_})$0",
5827
6134
  "insertTextMode": 2,
5828
6135
  "insertTextFormat": 2,
5829
6136
  "kind": 3,
5830
6137
  "documentation": {
5831
6138
  "kind": "markdown",
5832
- "value": "**[Sejak versi 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan minggu dalam tahun pada tanggal yang ditentukan berdasarkan kalender tanggal minggu ISO 8601. Nilai berkisar dari 1-53, minggu pertama dalam setahun adalah `1` dan minggu terakhir dalam setahun adalah` 52` atau `53`, tergantung tahunnya.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan minggu.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6139
+ "value": "Mengembalikan hari dalam bulan dari tanggal tertentu.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Nilai tanggal yang diambil untuk mendapatkan hari dalam bulan.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5833
6140
  }
5834
6141
  },
5835
6142
  "parametersInfo": {
@@ -5837,24 +6144,75 @@
5837
6144
  "max": 1
5838
6145
  }
5839
6146
  },
6147
+ [
6148
+ {
6149
+ "type": "function",
6150
+ "name": "hour",
6151
+ "bundle": "core",
6152
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
6153
+ "description": "Returns the hour of the time in the given date (0-23).",
6154
+ "examples": "\n##### Contoh\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
6155
+ "completion": {
6156
+ "label": "Hour",
6157
+ "detail": "Hour(dateValue) -> Number",
6158
+ "insertText": "Hour(${1:dateValue_})$0",
6159
+ "insertTextMode": 2,
6160
+ "insertTextFormat": 2,
6161
+ "kind": 3,
6162
+ "documentation": {
6163
+ "kind": "markdown",
6164
+ "value": "Returns the hour of the time in the given date (0-23).\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the hour of the time.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6165
+ }
6166
+ },
6167
+ "parametersInfo": {
6168
+ "min": 1,
6169
+ "max": 1
6170
+ }
6171
+ },
6172
+ {
6173
+ "type": "function",
6174
+ "name": "hour",
6175
+ "bundle": "core",
6176
+ "sinceVersion": "1.24",
6177
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
6178
+ "description": "Returns the hour of the given time (0-23).",
6179
+ "examples": "\n##### Contoh\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
6180
+ "completion": {
6181
+ "label": "Hour",
6182
+ "detail": "Hour(timeValue) -> Number",
6183
+ "insertText": "Hour(${1:timeValue_})$0",
6184
+ "insertTextMode": 2,
6185
+ "insertTextFormat": 2,
6186
+ "kind": 3,
6187
+ "documentation": {
6188
+ "kind": "markdown",
6189
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**Parameter**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6190
+ }
6191
+ },
6192
+ "parametersInfo": {
6193
+ "min": 1,
6194
+ "max": 1
6195
+ }
6196
+ }
6197
+ ],
5840
6198
  {
5841
6199
  "type": "function",
5842
- "name": "isoweekday",
6200
+ "name": "isomonth",
5843
6201
  "bundle": "core",
5844
6202
  "sinceVersion": "1.12",
5845
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
5846
- "description": "Mengembalikan hari dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Nilai berkisar dari 1-7 dengan Senin adalah `1` dan Minggu adalah `7`.",
5847
- "examples": "\n##### Contoh\n\nMengembalikan hari dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Mengembalikan `3`, untuk Rabu.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n",
6203
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
6204
+ "description": "Mengembalikan bulan dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Nilai berkisar dari 1-12 dengan Januari adalah `1` dan Desember adalah `12`.",
6205
+ "examples": "\n##### Contoh\n\nMendapatkan bulan dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Mengembalikan `12`, untuk bulan Desember.\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",
5848
6206
  "completion": {
5849
- "label": "ISOWeekday",
5850
- "detail": "ISOWeekday(dateValue) -> Number",
5851
- "insertText": "ISOWeekday(${1:dateValue_})$0",
6207
+ "label": "ISOMonth",
6208
+ "detail": "ISOMonth(dateValue) -> Number",
6209
+ "insertText": "ISOMonth(${1:dateValue_})$0",
5852
6210
  "insertTextMode": 2,
5853
6211
  "insertTextFormat": 2,
5854
6212
  "kind": 3,
5855
6213
  "documentation": {
5856
6214
  "kind": "markdown",
5857
- "value": "**[Sejak versi 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan hari dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Nilai berkisar dari 1-7 dengan Senin adalah `1` dan Minggu adalah `7`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang akan ditampilkan harinya.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6215
+ "value": "**[Sejak versi 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan bulan dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Nilai berkisar dari 1-12 dengan Januari adalah `1` dan Desember adalah `12`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Nilai tanggal yang diambil untuk mendapatkan bulan.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5858
6216
  }
5859
6217
  },
5860
6218
  "parametersInfo": {
@@ -5864,22 +6222,22 @@
5864
6222
  },
5865
6223
  {
5866
6224
  "type": "function",
5867
- "name": "isoyear",
6225
+ "name": "isoweek",
5868
6226
  "bundle": "core",
5869
6227
  "sinceVersion": "1.12",
5870
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
5871
- "description": "Mengembalikan tahun dalam tanggal yang ditentukan berdasarkan kalender tanggal minggu ISO 8601.",
5872
- "examples": "\n##### Contoh\n\nMendapatkan tahun dalam tanggal yang ditentukan berdasarkan kalender tanggal minggu ISO 8601. Mengembalikan `1981`, karena tanggal ini disertakan dalam minggu pertama tahun berikutnya.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n",
6228
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
6229
+ "description": "Mengembalikan minggu dalam tahun pada tanggal yang ditentukan berdasarkan kalender tanggal minggu ISO 8601. Nilai berkisar dari 1-53, minggu pertama dalam setahun adalah `1` dan minggu terakhir dalam setahun adalah` 52` atau `53`, tergantung tahunnya.",
6230
+ "examples": "\n##### Contoh\n\nMendapatkan minggu dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Mengembalikan `1`, karena tanggal ini disertakan dalam minggu pertama tahun berikutnya.\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",
5873
6231
  "completion": {
5874
- "label": "ISOYear",
5875
- "detail": "ISOYear(dateValue) -> Number",
5876
- "insertText": "ISOYear(${1:dateValue_})$0",
6232
+ "label": "ISOWeek",
6233
+ "detail": "ISOWeek(dateValue) -> Number",
6234
+ "insertText": "ISOWeek(${1:dateValue_})$0",
5877
6235
  "insertTextMode": 2,
5878
6236
  "insertTextFormat": 2,
5879
6237
  "kind": 3,
5880
6238
  "documentation": {
5881
6239
  "kind": "markdown",
5882
- "value": "**[Sejak versi 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan tahun dalam tanggal yang ditentukan berdasarkan kalender tanggal minggu ISO 8601.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan tahun.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6240
+ "value": "**[Sejak versi 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan minggu dalam tahun pada tanggal yang ditentukan berdasarkan kalender tanggal minggu ISO 8601. Nilai berkisar dari 1-53, minggu pertama dalam setahun adalah `1` dan minggu terakhir dalam setahun adalah` 52` atau `53`, tergantung tahunnya.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Nilai tanggal yang diambil untuk mendapatkan minggu.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5883
6241
  }
5884
6242
  },
5885
6243
  "parametersInfo": {
@@ -5889,21 +6247,22 @@
5889
6247
  },
5890
6248
  {
5891
6249
  "type": "function",
5892
- "name": "millisecond",
6250
+ "name": "isoweekday",
5893
6251
  "bundle": "core",
5894
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
5895
- "description": "Mengembalikan milidetik dari waktu dalam tanggal.",
5896
- "examples": "\n##### Contoh\n\nMendapatkan milidetik dari waktu saat ini\n\n```arcade\nMillisecond(Now())\n```\n\n",
6252
+ "sinceVersion": "1.12",
6253
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
6254
+ "description": "Mengembalikan hari dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Nilai berkisar dari 1-7 dengan Senin adalah `1` dan Minggu adalah `7`.",
6255
+ "examples": "\n##### Contoh\n\nMengembalikan hari dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Mengembalikan `3`, untuk Rabu.\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",
5897
6256
  "completion": {
5898
- "label": "Millisecond",
5899
- "detail": "Millisecond(dateValue) -> Number",
5900
- "insertText": "Millisecond(${1:dateValue_})$0",
6257
+ "label": "ISOWeekday",
6258
+ "detail": "ISOWeekday(dateValue) -> Number",
6259
+ "insertText": "ISOWeekday(${1:dateValue_})$0",
5901
6260
  "insertTextMode": 2,
5902
6261
  "insertTextFormat": 2,
5903
6262
  "kind": 3,
5904
6263
  "documentation": {
5905
6264
  "kind": "markdown",
5906
- "value": "Mengembalikan milidetik dari waktu dalam tanggal.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan milidetik dari waktu.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6265
+ "value": "**[Sejak versi 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan hari dari tanggal yang ditentukan, berdasarkan standar ISO 8601. Nilai berkisar dari 1-7 dengan Senin adalah `1` dan Minggu adalah `7`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Nilai tanggal yang akan ditampilkan harinya.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5907
6266
  }
5908
6267
  },
5909
6268
  "parametersInfo": {
@@ -5913,21 +6272,22 @@
5913
6272
  },
5914
6273
  {
5915
6274
  "type": "function",
5916
- "name": "minute",
6275
+ "name": "isoyear",
5917
6276
  "bundle": "core",
5918
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
5919
- "description": "Mengembalikan menit dari waktu dalam tanggal tertentu.",
5920
- "examples": "\n##### Contoh\n\nMendapatkan menit dari waktu saat ini\n\n```arcade\nMinute(Now())\n```\n\n",
6277
+ "sinceVersion": "1.12",
6278
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
6279
+ "description": "Mengembalikan tahun dalam tanggal yang ditentukan berdasarkan kalender tanggal minggu ISO 8601.",
6280
+ "examples": "\n##### Contoh\n\nMendapatkan tahun dalam tanggal yang ditentukan berdasarkan kalender tanggal minggu ISO 8601. Mengembalikan `1981`, karena tanggal ini disertakan dalam minggu pertama tahun berikutnya.\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",
5921
6281
  "completion": {
5922
- "label": "Minute",
5923
- "detail": "Minute(dateValue) -> Number",
5924
- "insertText": "Minute(${1:dateValue_})$0",
6282
+ "label": "ISOYear",
6283
+ "detail": "ISOYear(dateValue) -> Number",
6284
+ "insertText": "ISOYear(${1:dateValue_})$0",
5925
6285
  "insertTextMode": 2,
5926
6286
  "insertTextFormat": 2,
5927
6287
  "kind": 3,
5928
6288
  "documentation": {
5929
6289
  "kind": "markdown",
5930
- "value": "Mengembalikan menit dari waktu dalam tanggal tertentu.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan menit dari waktu.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6290
+ "value": "**[Sejak versi 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan tahun dalam tanggal yang ditentukan berdasarkan kalender tanggal minggu ISO 8601.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Nilai tanggal yang diambil untuk mendapatkan tahun.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5931
6291
  }
5932
6292
  },
5933
6293
  "parametersInfo": {
@@ -5935,13 +6295,115 @@
5935
6295
  "max": 1
5936
6296
  }
5937
6297
  },
6298
+ [
6299
+ {
6300
+ "type": "function",
6301
+ "name": "millisecond",
6302
+ "bundle": "core",
6303
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
6304
+ "description": "Returns the millisecond of the time in the date.",
6305
+ "examples": "\n##### Contoh\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
6306
+ "completion": {
6307
+ "label": "Millisecond",
6308
+ "detail": "Millisecond(dateValue) -> Number",
6309
+ "insertText": "Millisecond(${1:dateValue_})$0",
6310
+ "insertTextMode": 2,
6311
+ "insertTextFormat": 2,
6312
+ "kind": 3,
6313
+ "documentation": {
6314
+ "kind": "markdown",
6315
+ "value": "Returns the millisecond of the time in the date.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the millisecond of the time.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6316
+ }
6317
+ },
6318
+ "parametersInfo": {
6319
+ "min": 1,
6320
+ "max": 1
6321
+ }
6322
+ },
6323
+ {
6324
+ "type": "function",
6325
+ "name": "millisecond",
6326
+ "bundle": "core",
6327
+ "sinceVersion": "1.24",
6328
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
6329
+ "description": "Returns the millisecond of the given time.",
6330
+ "examples": "\n##### Contoh\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
6331
+ "completion": {
6332
+ "label": "Millisecond",
6333
+ "detail": "Millisecond(timeValue) -> Number",
6334
+ "insertText": "Millisecond(${1:timeValue_})$0",
6335
+ "insertTextMode": 2,
6336
+ "insertTextFormat": 2,
6337
+ "kind": 3,
6338
+ "documentation": {
6339
+ "kind": "markdown",
6340
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**Parameter**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6341
+ }
6342
+ },
6343
+ "parametersInfo": {
6344
+ "min": 1,
6345
+ "max": 1
6346
+ }
6347
+ }
6348
+ ],
6349
+ [
6350
+ {
6351
+ "type": "function",
6352
+ "name": "minute",
6353
+ "bundle": "core",
6354
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
6355
+ "description": "Returns the minute of the time in the given date.",
6356
+ "examples": "\n##### Contoh\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
6357
+ "completion": {
6358
+ "label": "Minute",
6359
+ "detail": "Minute(dateValue) -> Number",
6360
+ "insertText": "Minute(${1:dateValue_})$0",
6361
+ "insertTextMode": 2,
6362
+ "insertTextFormat": 2,
6363
+ "kind": 3,
6364
+ "documentation": {
6365
+ "kind": "markdown",
6366
+ "value": "Returns the minute of the time in the given date.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the minute of the time.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6367
+ }
6368
+ },
6369
+ "parametersInfo": {
6370
+ "min": 1,
6371
+ "max": 1
6372
+ }
6373
+ },
6374
+ {
6375
+ "type": "function",
6376
+ "name": "minute",
6377
+ "bundle": "core",
6378
+ "sinceVersion": "1.24",
6379
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
6380
+ "description": "Returns the minute of the given time.",
6381
+ "examples": "\n##### Contoh\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
6382
+ "completion": {
6383
+ "label": "Minute",
6384
+ "detail": "Minute(timeValue) -> Number",
6385
+ "insertText": "Minute(${1:timeValue_})$0",
6386
+ "insertTextMode": 2,
6387
+ "insertTextFormat": 2,
6388
+ "kind": 3,
6389
+ "documentation": {
6390
+ "kind": "markdown",
6391
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**Parameter**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6392
+ }
6393
+ },
6394
+ "parametersInfo": {
6395
+ "min": 1,
6396
+ "max": 1
6397
+ }
6398
+ }
6399
+ ],
5938
6400
  {
5939
6401
  "type": "function",
5940
6402
  "name": "month",
5941
6403
  "bundle": "core",
5942
6404
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
5943
6405
  "description": "Mengembalikan bulan dari tanggal yang ditentukan. Nilai berkisar dari 0-11 dengan Januari adalah `0` dan Desember adalah `11`.",
5944
- "examples": "\n##### Contoh\n\nMendapatkan bulan dari Tanggal yang ditentukan. Mengembalikan 11, untuk bulan Desember.\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
6406
+ "examples": "\n##### Contoh\n\nMendapatkan bulan dari Tanggal yang ditentukan. Mengembalikan 11, untuk bulan Desember.\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",
5945
6407
  "completion": {
5946
6408
  "label": "Month",
5947
6409
  "detail": "Month(dateValue) -> Number",
@@ -5951,7 +6413,7 @@
5951
6413
  "kind": 3,
5952
6414
  "documentation": {
5953
6415
  "kind": "markdown",
5954
- "value": "Mengembalikan bulan dari tanggal yang ditentukan. Nilai berkisar dari 0-11 dengan Januari adalah `0` dan Desember adalah `11`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan bulan.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6416
+ "value": "Mengembalikan bulan dari tanggal yang ditentukan. Nilai berkisar dari 0-11 dengan Januari adalah `0` dan Desember adalah `11`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Nilai tanggal yang diambil untuk mendapatkan bulan.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5955
6417
  }
5956
6418
  },
5957
6419
  "parametersInfo": {
@@ -5983,23 +6445,227 @@
5983
6445
  "max": 0
5984
6446
  }
5985
6447
  },
6448
+ [
6449
+ {
6450
+ "type": "function",
6451
+ "name": "second",
6452
+ "bundle": "core",
6453
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
6454
+ "description": "Returns the second of the time in the date.",
6455
+ "examples": "\n##### Contoh\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
6456
+ "completion": {
6457
+ "label": "Second",
6458
+ "detail": "Second(dateValue) -> Number",
6459
+ "insertText": "Second(${1:dateValue_})$0",
6460
+ "insertTextMode": 2,
6461
+ "insertTextFormat": 2,
6462
+ "kind": 3,
6463
+ "documentation": {
6464
+ "kind": "markdown",
6465
+ "value": "Returns the second of the time in the date.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the second of the time.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6466
+ }
6467
+ },
6468
+ "parametersInfo": {
6469
+ "min": 1,
6470
+ "max": 1
6471
+ }
6472
+ },
6473
+ {
6474
+ "type": "function",
6475
+ "name": "second",
6476
+ "bundle": "core",
6477
+ "sinceVersion": "1.24",
6478
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
6479
+ "description": "Returns the second of the given time.",
6480
+ "examples": "\n##### Contoh\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
6481
+ "completion": {
6482
+ "label": "Second",
6483
+ "detail": "Second(timeValue) -> Number",
6484
+ "insertText": "Second(${1:timeValue_})$0",
6485
+ "insertTextMode": 2,
6486
+ "insertTextFormat": 2,
6487
+ "kind": 3,
6488
+ "documentation": {
6489
+ "kind": "markdown",
6490
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**Parameter**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6491
+ }
6492
+ },
6493
+ "parametersInfo": {
6494
+ "min": 1,
6495
+ "max": 1
6496
+ }
6497
+ }
6498
+ ],
6499
+ [
6500
+ {
6501
+ "type": "function",
6502
+ "name": "time",
6503
+ "bundle": "core",
6504
+ "sinceVersion": "1.24",
6505
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
6506
+ "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
6507
+ "examples": "\n##### Contoh\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",
6508
+ "completion": {
6509
+ "label": "Time",
6510
+ "detail": "Time() -> Time",
6511
+ "insertText": "Time($0)",
6512
+ "insertTextMode": 2,
6513
+ "insertTextFormat": 2,
6514
+ "kind": 3,
6515
+ "documentation": {
6516
+ "kind": "markdown",
6517
+ "value": "**[Sejak versi 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**Nilai kembali**: Time"
6518
+ }
6519
+ },
6520
+ "parametersInfo": {
6521
+ "min": 0,
6522
+ "max": 0
6523
+ }
6524
+ },
6525
+ {
6526
+ "type": "function",
6527
+ "name": "time",
6528
+ "bundle": "core",
6529
+ "sinceVersion": "1.24",
6530
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
6531
+ "description": "Creates a Time value from a given date.",
6532
+ "examples": "\n##### Contoh\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",
6533
+ "completion": {
6534
+ "label": "Time",
6535
+ "detail": "Time(dateValue) -> Time",
6536
+ "insertText": "Time(${1:dateValue_})$0",
6537
+ "insertTextMode": 2,
6538
+ "insertTextFormat": 2,
6539
+ "kind": 3,
6540
+ "documentation": {
6541
+ "kind": "markdown",
6542
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**Nilai kembali**: Time"
6543
+ }
6544
+ },
6545
+ "parametersInfo": {
6546
+ "min": 1,
6547
+ "max": 1
6548
+ }
6549
+ },
6550
+ {
6551
+ "type": "function",
6552
+ "name": "time",
6553
+ "bundle": "core",
6554
+ "sinceVersion": "1.24",
6555
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
6556
+ "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`.",
6557
+ "examples": "\n##### Contoh\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",
6558
+ "completion": {
6559
+ "label": "Time",
6560
+ "detail": "Time(numValue) -> Time",
6561
+ "insertText": "Time(${1:numValue_})$0",
6562
+ "insertTextMode": 2,
6563
+ "insertTextFormat": 2,
6564
+ "kind": 3,
6565
+ "documentation": {
6566
+ "kind": "markdown",
6567
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given number representing milliseconds since midnight. If the input value is larger than 86,400,000 (the maximum number of milliseconds in a day) or less than 0, the function will return `null`.\n\n**Parameter**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**Nilai kembali**: Time"
6568
+ }
6569
+ },
6570
+ "parametersInfo": {
6571
+ "min": 1,
6572
+ "max": 1
6573
+ }
6574
+ },
6575
+ {
6576
+ "type": "function",
6577
+ "name": "time",
6578
+ "bundle": "core",
6579
+ "sinceVersion": "1.24",
6580
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
6581
+ "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
6582
+ "examples": "\n##### Contoh\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",
6583
+ "completion": {
6584
+ "label": "Time",
6585
+ "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
6586
+ "insertText": "Time(${1:hours_}, ${2:minutes_})$0",
6587
+ "insertTextMode": 2,
6588
+ "insertTextFormat": 2,
6589
+ "kind": 3,
6590
+ "documentation": {
6591
+ "kind": "markdown",
6592
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds.\n\n**Parameter**\n\n- **hours**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing hours of the Time value (0-23).\n- **minutes**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the minutes of the Time value (0-59).\n- **seconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the seconds of the Time value (0-59).\n- **milliseconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the milliseconds of the Time value (0-999).\n\n**Nilai kembali**: Time"
6593
+ }
6594
+ },
6595
+ "parametersInfo": {
6596
+ "min": 2,
6597
+ "max": 4
6598
+ }
6599
+ },
6600
+ {
6601
+ "type": "function",
6602
+ "name": "time",
6603
+ "bundle": "core",
6604
+ "sinceVersion": "1.24",
6605
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
6606
+ "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
6607
+ "examples": "\n##### Contoh\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",
6608
+ "completion": {
6609
+ "label": "Time",
6610
+ "detail": "Time(timeValue, format?) -> Time",
6611
+ "insertText": "Time(${1:timeValue_})$0",
6612
+ "insertTextMode": 2,
6613
+ "insertTextFormat": 2,
6614
+ "kind": 3,
6615
+ "documentation": {
6616
+ "kind": "markdown",
6617
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a text input representing time, with an optional input indicating the text's format.\n\n**Parameter**\n\n- **timeValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value representing a time.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value indicating the format of the `timeValue` input. \nPossible values: \n - `h`: Civilian hours, not padded (0 - 12) \n - `hh`: Civilian hours, padded (00 - 12) \n - `H`: Military hours, not padded (0 - 24) \n - `HH`: Military hours, padded (00 - 24) \n - `m`: Minutes, not padded (0 - 59) \n - `mm`: Minutes, padded (00 - 59) \n - `s`: Seconds, not padded (0 - 59) \n - `ss`: Seconds, padded (00 - 59) \n - `A`: AM/PM \n\n\n**Nilai kembali**: Time"
6618
+ }
6619
+ },
6620
+ "parametersInfo": {
6621
+ "min": 1,
6622
+ "max": 2
6623
+ }
6624
+ }
6625
+ ],
6626
+ {
6627
+ "type": "function",
6628
+ "name": "timestamp",
6629
+ "bundle": "core",
6630
+ "sinceVersion": "1.1",
6631
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
6632
+ "description": "Buat nilai tanggal yang mencerminkan tanggal dan waktu saat ini dalam waktu UTC.",
6633
+ "examples": "\n##### Contoh\n\nBuat tanggal dalam waktu UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
6634
+ "completion": {
6635
+ "label": "Timestamp",
6636
+ "detail": "Timestamp() -> Date",
6637
+ "insertText": "Timestamp($0)",
6638
+ "insertTextMode": 2,
6639
+ "insertTextFormat": 2,
6640
+ "kind": 3,
6641
+ "documentation": {
6642
+ "kind": "markdown",
6643
+ "value": "**[Sejak versi 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nBuat nilai tanggal yang mencerminkan tanggal dan waktu saat ini dalam waktu UTC.\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
6644
+ }
6645
+ },
6646
+ "parametersInfo": {
6647
+ "min": 0,
6648
+ "max": 0
6649
+ }
6650
+ },
5986
6651
  {
5987
6652
  "type": "function",
5988
- "name": "second",
6653
+ "name": "timezone",
5989
6654
  "bundle": "core",
5990
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second",
5991
- "description": "Mengembalikan detik dari waktu dalam tanggal.",
5992
- "examples": "\n##### Contoh\n\nMendapatkan detik dari waktu saat ini\n\n```arcade\nSecond(Now())\n```\n\n",
6655
+ "sinceVersion": "1.24",
6656
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
6657
+ "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",
6658
+ "examples": "\n##### Contoh\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",
5993
6659
  "completion": {
5994
- "label": "Second",
5995
- "detail": "Second(dateValue) -> Number",
5996
- "insertText": "Second(${1:dateValue_})$0",
6660
+ "label": "TimeZone",
6661
+ "detail": "TimeZone(dateValue) -> Text",
6662
+ "insertText": "TimeZone(${1:dateValue_})$0",
5997
6663
  "insertTextMode": 2,
5998
6664
  "insertTextFormat": 2,
5999
6665
  "kind": 3,
6000
6666
  "documentation": {
6001
6667
  "kind": "markdown",
6002
- "value": "Mengembalikan detik dari waktu dalam tanggal.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan detik dari waktu.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6668
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (i.e. `America/New_York`)\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n- `system` - time zone will be based on the client or system's local time zone \n- `UTC`\n- `unknown`\n\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Nilai kembali**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
6003
6669
  }
6004
6670
  },
6005
6671
  "parametersInfo": {
@@ -6009,27 +6675,27 @@
6009
6675
  },
6010
6676
  {
6011
6677
  "type": "function",
6012
- "name": "timestamp",
6678
+ "name": "timezoneoffset",
6013
6679
  "bundle": "core",
6014
- "sinceVersion": "1.1",
6015
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
6016
- "description": "Buat nilai tanggal yang mencerminkan tanggal dan waktu saat ini dalam waktu UTC.",
6017
- "examples": "\n##### Contoh\n\nBuat tanggal dalam waktu UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
6680
+ "sinceVersion": "1.24",
6681
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
6682
+ "description": "Returns the time zone offset in minutes from UTC for the given Date.",
6683
+ "examples": "\n##### Contoh\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",
6018
6684
  "completion": {
6019
- "label": "Timestamp",
6020
- "detail": "Timestamp() -> Date",
6021
- "insertText": "Timestamp($0)",
6685
+ "label": "TimeZoneOffset",
6686
+ "detail": "TimeZoneOffset(dateValue) -> Number",
6687
+ "insertText": "TimeZoneOffset(${1:dateValue_})$0",
6022
6688
  "insertTextMode": 2,
6023
6689
  "insertTextFormat": 2,
6024
6690
  "kind": 3,
6025
6691
  "documentation": {
6026
6692
  "kind": "markdown",
6027
- "value": "**[Sejak versi 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nBuat nilai tanggal yang mencerminkan tanggal dan waktu saat ini dalam waktu UTC.\n\n**Nilai kembali**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
6693
+ "value": "**[Sejak versi 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone offset in minutes from UTC for the given Date.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone offset.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6028
6694
  }
6029
6695
  },
6030
6696
  "parametersInfo": {
6031
- "min": 0,
6032
- "max": 0
6697
+ "min": 1,
6698
+ "max": 1
6033
6699
  }
6034
6700
  },
6035
6701
  {
@@ -6113,7 +6779,7 @@
6113
6779
  "sinceVersion": "1.14",
6114
6780
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
6115
6781
  "description": "Mengembalikan jumlah minggu dalam tahun dari tanggal yang ditentukan. Nilai berkisar dari 0-53, minggu pertama dalam setahun adalah `0` dan minggu terakhir dalam setahun adalah `51`, `52`, or `53`, tergantung tahunnya. Minggu pertama dan terakhir mungkin tidak berlangsung selama tujuh hari penuh.",
6116
- "examples": "\n##### Contoh\n\nGunakan awal minggu default (Minggu)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nAtur awal minggu hingga Kamis\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nAtur awal minggu hingga Jumat\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",
6782
+ "examples": "\n##### Contoh\n\nGunakan awal minggu default (Minggu)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nAtur awal minggu hingga Kamis\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nAtur awal minggu hingga Jumat\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",
6117
6783
  "completion": {
6118
6784
  "label": "Week",
6119
6785
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -6123,7 +6789,7 @@
6123
6789
  "kind": 3,
6124
6790
  "documentation": {
6125
6791
  "kind": "markdown",
6126
- "value": "**[Sejak versi 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan jumlah minggu dalam tahun dari tanggal yang ditentukan. Nilai berkisar dari 0-53, minggu pertama dalam setahun adalah `0` dan minggu terakhir dalam setahun adalah `51`, `52`, or `53`, tergantung tahunnya. Minggu pertama dan terakhir mungkin tidak berlangsung selama tujuh hari penuh.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan minggu.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Angka yang mewakili hari awal dalam seminggu. Minggu = 0; Senin = 1; Selasa = 2; Rabu = 3; Kamis = 4; Jumat = 5; Sabtu = 6. Defaultnya adalah `0` (Minggu).\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6792
+ "value": "**[Sejak versi 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan jumlah minggu dalam tahun dari tanggal yang ditentukan. Nilai berkisar dari 0-53, minggu pertama dalam setahun adalah `0` dan minggu terakhir dalam setahun adalah `51`, `52`, or `53`, tergantung tahunnya. Minggu pertama dan terakhir mungkin tidak berlangsung selama tujuh hari penuh.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Nilai tanggal yang diambil untuk mendapatkan minggu.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Angka yang mewakili hari awal dalam seminggu. Minggu = 0; Senin = 1; Selasa = 2; Rabu = 3; Kamis = 4; Jumat = 5; Sabtu = 6. Defaultnya adalah `0` (Minggu).\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6127
6793
  }
6128
6794
  },
6129
6795
  "parametersInfo": {
@@ -6137,7 +6803,7 @@
6137
6803
  "bundle": "core",
6138
6804
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
6139
6805
  "description": "Menghasilkan hari dengan tanggal yang telah ditentukan. Nilai berkisar dari 0-6 dengan Minggu adalah `0` dan Sabtu adalah `6`.",
6140
- "examples": "\n##### Contoh\n\nMenghasilkan hari dengan tanggal yang telah ditentukan. Mengembalikan `3`, untuk Rabu.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
6806
+ "examples": "\n##### Contoh\n\nMenghasilkan hari dengan tanggal yang telah ditentukan. Mengembalikan `3`, untuk Rabu.\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",
6141
6807
  "completion": {
6142
6808
  "label": "Weekday",
6143
6809
  "detail": "Weekday(dateValue) -> Number",
@@ -6147,7 +6813,7 @@
6147
6813
  "kind": 3,
6148
6814
  "documentation": {
6149
6815
  "kind": "markdown",
6150
- "value": "Menghasilkan hari dengan tanggal yang telah ditentukan. Nilai berkisar dari 0-6 dengan Minggu adalah `0` dan Sabtu adalah `6`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang akan ditampilkan harinya.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6816
+ "value": "Menghasilkan hari dengan tanggal yang telah ditentukan. Nilai berkisar dari 0-6 dengan Minggu adalah `0` dan Sabtu adalah `6`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Nilai tanggal yang akan ditampilkan harinya.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6151
6817
  }
6152
6818
  },
6153
6819
  "parametersInfo": {
@@ -6161,7 +6827,7 @@
6161
6827
  "bundle": "core",
6162
6828
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
6163
6829
  "description": "Mengembalikan tahun dari tanggal tertentu.",
6164
- "examples": "\n##### Contoh\n\nMendapatkan tahun dari tanggal saat ini\n\n```arcade\nYear(Now())\n```\n\n",
6830
+ "examples": "\n##### Contoh\n\nMendapatkan tahun dari tanggal saat ini\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",
6165
6831
  "completion": {
6166
6832
  "label": "Year",
6167
6833
  "detail": "Year(dateValue) -> Number",
@@ -6171,7 +6837,7 @@
6171
6837
  "kind": 3,
6172
6838
  "documentation": {
6173
6839
  "kind": "markdown",
6174
- "value": "Mengembalikan tahun dari tanggal tertentu.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Nilai tanggal yang diambil untuk mendapatkan tahun.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6840
+ "value": "Mengembalikan tahun dari tanggal tertentu.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Nilai tanggal yang diambil untuk mendapatkan tahun.\n\n**Nilai kembali**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6175
6841
  }
6176
6842
  },
6177
6843
  "parametersInfo": {
@@ -6531,7 +7197,7 @@
6531
7197
  "bundle": "core",
6532
7198
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
6533
7199
  "description": "Mengonversi argumennya menjadi nilai teks dan memformatnya secara opsional. Menampilkan `null` jika gagal.",
6534
- "examples": "\n##### Contoh\n\nIsi angka ke kiri desimal\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nBatasi angka ke kiri desimal\n\n```arcade\nText(123, '00') // '23'\n```\n\nKelompokkan angka berdasarkan ribuan\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nBulatkan angka ke dua tempat desimal\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormat nomor sebagai mata uang\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nBulatkan angka ke dua tempat desimal\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nPertahankan digit signifikan dan kelompokkan berdasarkan ribuan\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormat angka dan format positif/negatif - jika terdapat subpola negatif, subpola tersebut hanya berfungsi untuk menentukan prefiks dan sufiks negatif\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nKalikan dengan 100 dan format sebagai persentase\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormat tanggal dan waktu saat ini. mis 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nTanggal yang disimpan di kolom `datetime` sudah mewakili waktu lokal, tetapi Arcade menganggapnya sebagai UTC. Menyeimbangkan waktu lokal ke UTC guna menghindari penerapan offset zona waktu dua kali.\n\n```arcade\nText(ToUTC($feature.datetime), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n",
7200
+ "examples": "\n##### Contoh\n\nIsi angka ke kiri desimal\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nBatasi angka ke kiri desimal\n\n```arcade\nText(123, '00') // '23'\n```\n\nKelompokkan angka berdasarkan ribuan\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nBulatkan angka ke dua tempat desimal\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormat nomor sebagai mata uang\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nBulatkan angka ke dua tempat desimal\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nPertahankan digit signifikan dan kelompokkan berdasarkan ribuan\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormat angka dan format positif/negatif - jika terdapat subpola negatif, subpola tersebut hanya berfungsi untuk menentukan prefiks dan sufiks negatif\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nKalikan dengan 100 dan format sebagai persentase\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormat tanggal dan waktu saat ini. mis 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nTanggal yang disimpan di kolom `datetime` sudah mewakili waktu lokal, tetapi Arcade menganggapnya sebagai UTC. Menyeimbangkan waktu lokal ke UTC guna menghindari penerapan offset zona waktu dua kali.\n\n```arcade\nText(startDate, 'ddd, MMM D, Y h:mm:ss A ZZZZ')\n// returns Thu, Sep 14, 2023 10:04:49 AM PDT\n```\n\n",
6535
7201
  "completion": {
6536
7202
  "label": "Text",
6537
7203
  "detail": "Text(value, format?) -> Text",