@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
@@ -574,6 +574,31 @@
574
574
  "max": 4
575
575
  }
576
576
  },
577
+ {
578
+ "type": "function",
579
+ "name": "featuresetbyrelationshipclass",
580
+ "bundle": "data-access",
581
+ "sinceVersion": "1.24",
582
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
583
+ "description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
584
+ "examples": "\n##### 例\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
585
+ "completion": {
586
+ "label": "FeatureSetByRelationshipClass",
587
+ "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
588
+ "insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
589
+ "insertTextMode": 2,
590
+ "insertTextFormat": 2,
591
+ "kind": 3,
592
+ "documentation": {
593
+ "kind": "markdown",
594
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature as a FeatureSet based on the class name of the relationship.\n\n**パラメーター**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records. This feature must come from a feature service; feature collections are not supported.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The class name of the relationship according to the feature service associated with the given feature.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
595
+ }
596
+ },
597
+ "parametersInfo": {
598
+ "min": 2,
599
+ "max": 4
600
+ }
601
+ },
577
602
  {
578
603
  "type": "function",
579
604
  "name": "featuresetbyrelationshipname",
@@ -3368,7 +3393,7 @@
3368
3393
  "bundle": "core",
3369
3394
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
3370
3395
  "description": "引数をテキスト値に変換し、必要に応じてそのテキスト値を書式設定します。 これに失敗すると、`null` を返します。",
3371
- "examples": "\n##### 例\n\n数値を小数点以上にゼロ埋めする\n\n```arcade\nText(123, '0000') // '0123'\n```\n\n数値を小数点以上に制限する\n\n```arcade\nText(123, '00') // '23'\n```\n\n数値を千単位で区切る\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\n数値を小数点以下第 2 位に丸める\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\n数値を通貨として書式設定\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\n数値を小数点以下第 2 位に丸める\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\n有効桁数を維持して、千単位で区切る\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\n数値の書式設定で、正/負の書式を設定します。つまり、負のサブパターンが存在する場合、負の接頭辞と接尾辞を指定するだけです\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\n100 で乗算して、パーセントとして書式設定する\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\n現在の日付と時刻を書式設定します (例: 'Tuesday, October 25, 2016 @ 08:43:11')。\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n`datetime` フィールドに格納された日付は現地時間を表していますが、Arcade ではその日付が UTC であると見なされます。 タイムゾーンのオフセットが 2 回適用されるのを防ぐために、現地時間を UTC にオフセットしてください。\n\n```arcade\nText(ToUTC($feature.datetime), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n",
3396
+ "examples": "\n##### 例\n\n数値を小数点以上にゼロ埋めする\n\n```arcade\nText(123, '0000') // '0123'\n```\n\n数値を小数点以上に制限する\n\n```arcade\nText(123, '00') // '23'\n```\n\n数値を千単位で区切る\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\n数値を小数点以下第 2 位に丸める\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\n数値を通貨として書式設定\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\n数値を小数点以下第 2 位に丸める\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\n有効桁数を維持して、千単位で区切る\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\n数値の書式設定で、正/負の書式を設定します。つまり、負のサブパターンが存在する場合、負の接頭辞と接尾辞を指定するだけです\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\n100 で乗算して、パーセントとして書式設定する\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\n現在の日付と時刻を書式設定します (例: 'Tuesday, October 25, 2016 @ 08:43:11')。\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n`datetime` フィールドに格納された日付は現地時間を表していますが、Arcade ではその日付が UTC であると見なされます。 タイムゾーンのオフセットが 2 回適用されるのを防ぐために、現地時間を UTC にオフセットしてください。\n\n```arcade\nText(startDate, 'ddd, MMM D, Y h:mm:ss A ZZZZ')\n// returns Thu, Sep 14, 2023 10:04:49 AM PDT\n```\n\n",
3372
3397
  "completion": {
3373
3398
  "label": "Text",
3374
3399
  "detail": "Text(value, format?) -> Text",
@@ -4772,7 +4797,7 @@
4772
4797
  "kind": 3,
4773
4798
  "documentation": {
4774
4799
  "kind": "markdown",
4775
- "value": "**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n所定の変数のハッシュ コード値を生成します。\n\n**パラメーター**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - ハッシュ化する変数です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4800
+ "value": "**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n所定の変数のハッシュ コード値を生成します。\n\n**パラメーター**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| DateOnly \\| Time - ハッシュ化する変数です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4776
4801
  }
4777
4802
  },
4778
4803
  "parametersInfo": {
@@ -5280,29 +5305,54 @@
5280
5305
  "id": "date_functions",
5281
5306
  "title": "日付関数",
5282
5307
  "items": [
5308
+ {
5309
+ "type": "function",
5310
+ "name": "changetimezone",
5311
+ "bundle": "core",
5312
+ "sinceVersion": "1.24",
5313
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
5314
+ "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`.",
5315
+ "examples": "\n##### 例\n\nChanges the given Date's time zone from `America/New_York` to `America/Los_Angeles`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"America/New_York\")\nChangeTimeZone(inputDate, \"America/Los_Angeles\");\n// returns a Date representing Nov 11, 2011, 5:00:00 AM PST\n```\n\nAssigns a Date with an `unknown` time zone to a time offset of `+07:00`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"unknown\")\nChangeTimeZone(inputDate, \"+07:00\");\n// returns a Date representing Nov 11, 2011, 8:00:00 AM +07:00\n```\n\n",
5316
+ "completion": {
5317
+ "label": "ChangeTimeZone",
5318
+ "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
5319
+ "insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
5320
+ "insertTextMode": 2,
5321
+ "insertTextFormat": 2,
5322
+ "kind": 3,
5323
+ "documentation": {
5324
+ "kind": "markdown",
5325
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. \nThe time zone must be one of the following:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5326
+ }
5327
+ },
5328
+ "parametersInfo": {
5329
+ "min": 2,
5330
+ "max": 2
5331
+ }
5332
+ },
5283
5333
  [
5284
5334
  {
5285
5335
  "type": "function",
5286
5336
  "name": "date",
5287
5337
  "bundle": "core",
5288
5338
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
5289
- "description": "日付オブジェクトを一連のパラメーターから作成します。 デフォルトでは、日付がクライアントまたはシステムの現地時間で作成されます。",
5290
- "examples": "\n##### 例\n\n指定された時間を表す日付を、Arcade が実行されているシステムの現地時間で作成します\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\n現在の時間を表す日付を、Arcade が実行されているシステムの現地時間で作成します\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
5339
+ "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.",
5340
+ "examples": "\n##### 例\n\nCreates a Date representing the given time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nCreates a Date with time defined in a specific time zone\n\n```arcade\nDate(1990, 10, 2, 2, 23, 0, 0, \"America/New_York\");\n // Date represents Nov 2, 1990, 2:23:00 AM EST\n```\n\n",
5291
5341
  "completion": {
5292
5342
  "label": "Date",
5293
- "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
5343
+ "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
5294
5344
  "insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
5295
5345
  "insertTextMode": 2,
5296
5346
  "insertTextFormat": 2,
5297
5347
  "kind": 3,
5298
5348
  "documentation": {
5299
5349
  "kind": "markdown",
5300
- "value": "日付オブジェクトを一連のパラメーターから作成します。 デフォルトでは、日付がクライアントまたはシステムの現地時間で作成されます。\n\n**パラメーター**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 年を表す数値です。\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - month (0-11) では、`0` 1 月、`11` 12 月を示します。\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 1 月の日付 (1-31) です。\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 1 日の時刻 (0-23) です。\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - (0-59) です。\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - (0-59) です。\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ミリ秒 (0-999) です。\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5350
+ "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**パラメーター**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5301
5351
  }
5302
5352
  },
5303
5353
  "parametersInfo": {
5304
5354
  "min": 3,
5305
- "max": 7
5355
+ "max": 8
5306
5356
  }
5307
5357
  },
5308
5358
  {
@@ -5310,8 +5360,8 @@
5310
5360
  "name": "date",
5311
5361
  "bundle": "core",
5312
5362
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
5313
- "description": "UNIX のエポック数が指定された日付をクライアントまたはシステムのローカル タイム ゾーンで作成します。",
5314
- "examples": "\n##### 例\n\n1970 1 1 日からの経過ミリ秒数\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n",
5363
+ "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.",
5364
+ "examples": "\n##### 例\n\nMilliseconds since January 1, 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\nCreates a Date representing the current time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
5315
5365
  "completion": {
5316
5366
  "label": "Date",
5317
5367
  "detail": "Date(epoch?) -> Date",
@@ -5321,7 +5371,7 @@
5321
5371
  "kind": 3,
5322
5372
  "documentation": {
5323
5373
  "kind": "markdown",
5324
- "value": "UNIX のエポック数が指定された日付をクライアントまたはシステムのローカル タイム ゾーンで作成します。\n\n**パラメーター**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - UTC 1970 1 1 日からの経過ミリ秒数です。\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5374
+ "value": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.\n\n**パラメーター**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5325
5375
  }
5326
5376
  },
5327
5377
  "parametersInfo": {
@@ -5334,8 +5384,8 @@
5334
5384
  "name": "date",
5335
5385
  "bundle": "core",
5336
5386
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
5337
- "description": "ISO 8601 テキスト値をクライアントまたはシステムのローカル タイム ゾーンで日付オブジェクトに変換します。",
5338
- "examples": "\n##### 例\n\nISO 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",
5387
+ "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.",
5388
+ "examples": "\n##### 例\n\nCreates a Date from an ISO 8601 text value with a known time offset\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\nCreates a Date from an ISO 8601 text value with an unknown time offset\n\n```arcade\nDate('2016-10-20T17:41:37') // 'Thu Oct 20 2016 5:41:37 PM PDT'\n```\n\n",
5339
5389
  "completion": {
5340
5390
  "label": "Date",
5341
5391
  "detail": "Date(timestamp?) -> Date",
@@ -5345,154 +5395,386 @@
5345
5395
  "kind": 3,
5346
5396
  "documentation": {
5347
5397
  "kind": "markdown",
5348
- "value": "ISO 8601 テキスト値をクライアントまたはシステムのローカル タイム ゾーンで日付オブジェクトに変換します。\n\n**パラメーター**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日付に変換される ISO 8601 テキスト値です。\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5398
+ "value": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.\n\n**パラメーター**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - An ISO 8601 text value to be converted into a Date.\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5349
5399
  }
5350
5400
  },
5351
5401
  "parametersInfo": {
5352
5402
  "min": 0,
5353
5403
  "max": 1
5354
5404
  }
5405
+ },
5406
+ {
5407
+ "type": "function",
5408
+ "name": "date",
5409
+ "bundle": "core",
5410
+ "sinceVersion": "1.24",
5411
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
5412
+ "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
5413
+ "examples": "\n##### 例\n\nCreates a Date from a DateOnly and time type\n\n```arcade\nDate(DateOnly(2022,10,11), Time(\"11:20 am\"))\n// returns a Date representing Nov 11, 2022, 11:20:00 AM in an unknown time zone\n```\n\n",
5414
+ "completion": {
5415
+ "label": "Date",
5416
+ "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
5417
+ "insertText": "Date(${1:dateOnlyValue_})$0",
5418
+ "insertTextMode": 2,
5419
+ "insertTextFormat": 2,
5420
+ "kind": 3,
5421
+ "documentation": {
5422
+ "kind": "markdown",
5423
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**パラメーター**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): Time - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5424
+ }
5425
+ },
5426
+ "parametersInfo": {
5427
+ "min": 1,
5428
+ "max": 3
5429
+ }
5430
+ },
5431
+ {
5432
+ "type": "function",
5433
+ "name": "date",
5434
+ "bundle": "core",
5435
+ "sinceVersion": "1.24",
5436
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
5437
+ "description": "Creates a copy of the given Date.",
5438
+ "examples": "\n##### 例\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
5439
+ "completion": {
5440
+ "label": "Date",
5441
+ "detail": "Date(dateValue) -> Date",
5442
+ "insertText": "Date(${1:dateValue_})$0",
5443
+ "insertTextMode": 2,
5444
+ "insertTextFormat": 2,
5445
+ "kind": 3,
5446
+ "documentation": {
5447
+ "kind": "markdown",
5448
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5449
+ }
5450
+ },
5451
+ "parametersInfo": {
5452
+ "min": 1,
5453
+ "max": 1
5454
+ }
5355
5455
  }
5356
5456
  ],
5357
- {
5358
- "type": "function",
5359
- "name": "dateadd",
5360
- "bundle": "core",
5361
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd",
5362
- "description": "指定された時間を所定の単位で日付に追加して、新しい日付を返します。",
5363
- "examples": "\n##### 例\n\n指定されたフィールドの日付に 7 日を追加\n\n```arcade\nvar startDate = Date($feature.dateField);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n```\n\n",
5364
- "completion": {
5365
- "label": "DateAdd",
5366
- "detail": "DateAdd(dateValue, addValue, units?) -> Date",
5367
- "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
5368
- "insertTextMode": 2,
5369
- "insertTextFormat": 2,
5370
- "kind": 3,
5371
- "documentation": {
5372
- "kind": "markdown",
5373
- "value": "指定された時間を所定の単位で日付に追加して、新しい日付を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 時刻を追加する入力日です。\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 所定の単位で日付に追加する値です。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日付に追加する数字の単位。 デフォルトは 'milliseconds` です。 サポートされている単位タイプは、`milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years` です。\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5457
+ [
5458
+ {
5459
+ "type": "function",
5460
+ "name": "dateadd",
5461
+ "bundle": "core",
5462
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
5463
+ "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.",
5464
+ "examples": "\n##### 例\n\nAdds 7 days to the given Date\n\n```arcade\nvar startDate = Date(2023, 9, 1, 12, 00);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns a Date representing Oct 8, 2023, 12:00:00 PM PDT\n```\n\n",
5465
+ "completion": {
5466
+ "label": "DateAdd",
5467
+ "detail": "DateAdd(dateValue, addValue, units?) -> Date",
5468
+ "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
5469
+ "insertTextMode": 2,
5470
+ "insertTextFormat": 2,
5471
+ "kind": 3,
5472
+ "documentation": {
5473
+ "kind": "markdown",
5474
+ "value": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The input Date to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the Date in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the Date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
5475
+ }
5476
+ },
5477
+ "parametersInfo": {
5478
+ "min": 2,
5479
+ "max": 3
5374
5480
  }
5375
5481
  },
5376
- "parametersInfo": {
5377
- "min": 2,
5378
- "max": 3
5379
- }
5380
- },
5381
- {
5382
- "type": "function",
5383
- "name": "datediff",
5384
- "bundle": "core",
5385
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff",
5386
- "description": "ある日付から別の日付を減算して、その差を指定の単位で返します。",
5387
- "examples": "\n##### 例\n\nある日付から別の日付を減算して期間を返す\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n",
5388
- "completion": {
5389
- "label": "DateDiff",
5390
- "detail": "DateDiff(date1, date2, units?) -> Number",
5391
- "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
5392
- "insertTextMode": 2,
5393
- "insertTextFormat": 2,
5394
- "kind": 3,
5395
- "documentation": {
5396
- "kind": "markdown",
5397
- "value": "ある日付から別の日付を減算して、その差を指定の単位で返します。\n\n**パラメーター**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 2 つ目の日付を減算する日付値です。\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 1 つ目の所定の日付から減算する日付値です。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 2 つの所定の日付の差として返す値の単位です。 サポートされている単位タイプは、`milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years` です。 デフォルト値は `milliseconds` です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5482
+ {
5483
+ "type": "function",
5484
+ "name": "dateadd",
5485
+ "bundle": "core",
5486
+ "sinceVersion": "1.24",
5487
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
5488
+ "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
5489
+ "examples": "\n##### 例\n\nAdds 7 days to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns 2023-06-11\n```\n\nAdds 12 hours to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar hoursLater = DateAdd(startDate, 12, 'hours');\nreturn hoursLater;\n// returns the original start date, 2023-06-04\n// since 12 hours < 1 day, the DateOnly input is not changed\n```\n\n",
5490
+ "completion": {
5491
+ "label": "DateAdd",
5492
+ "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
5493
+ "insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
5494
+ "insertTextMode": 2,
5495
+ "insertTextFormat": 2,
5496
+ "kind": 3,
5497
+ "documentation": {
5498
+ "kind": "markdown",
5499
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.\n\n**パラメーター**\n\n- **dateOnlyValue**: DateOnly - The input DateOnly value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the date in the given units. For DateOnly inputs, this value will be rounded down to the nearest day based on a 24-hour interval. If the value to be added is less than 24 hours, then no value will be added to the DateOnly input.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**戻り値**: DateOnly"
5500
+ }
5501
+ },
5502
+ "parametersInfo": {
5503
+ "min": 2,
5504
+ "max": 3
5398
5505
  }
5399
5506
  },
5400
- "parametersInfo": {
5401
- "min": 2,
5402
- "max": 3
5507
+ {
5508
+ "type": "function",
5509
+ "name": "dateadd",
5510
+ "bundle": "core",
5511
+ "sinceVersion": "1.24",
5512
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
5513
+ "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
5514
+ "examples": "\n##### 例\n\nAdds 7 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 7, 'hours');\nreturn hoursLater;\n// returns 18:30:00\n```\n\nAdds 90 seconds to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar secondsLater = DateAdd(startTime, 90, \"seconds\");\nreturn secondsLater;\n// returns 11:31:30\n```\n\nAdds 25 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 25, 'hours');\nreturn hoursLater;\n// returns 12:30:00\n```\n\n",
5515
+ "completion": {
5516
+ "label": "DateAdd",
5517
+ "detail": "DateAdd(timeValue, addValue, units?) -> Time",
5518
+ "insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
5519
+ "insertTextMode": 2,
5520
+ "insertTextFormat": 2,
5521
+ "kind": 3,
5522
+ "documentation": {
5523
+ "kind": "markdown",
5524
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a Time value and returns a new Time value.\n\n**パラメーター**\n\n- **timeValue**: Time - The input Time value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the time in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`\n\n**戻り値**: Time"
5525
+ }
5526
+ },
5527
+ "parametersInfo": {
5528
+ "min": 2,
5529
+ "max": 3
5530
+ }
5403
5531
  }
5404
- },
5405
- {
5406
- "type": "function",
5407
- "name": "day",
5408
- "bundle": "core",
5409
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
5410
- "description": "所定の日付を返します。",
5411
- "examples": "\n##### 例\n\n現在の日付を取得\n\n```arcade\nDay(Now())\n```\n\n",
5412
- "completion": {
5413
- "label": "Day",
5414
- "detail": "Day(dateValue) -> Number",
5415
- "insertText": "Day(${1:dateValue_})$0",
5416
- "insertTextMode": 2,
5417
- "insertTextFormat": 2,
5418
- "kind": 3,
5419
- "documentation": {
5420
- "kind": "markdown",
5421
- "value": "所定の日付を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 日付を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5532
+ ],
5533
+ [
5534
+ {
5535
+ "type": "function",
5536
+ "name": "datediff",
5537
+ "bundle": "core",
5538
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
5539
+ "description": "Subtracts two Dates, and returns the difference in the specified units.",
5540
+ "examples": "\n##### 例\n\nSubtracts two Dates and returns the age\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtracts two Dates and returns the difference. Since the time zone is Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
5541
+ "completion": {
5542
+ "label": "DateDiff",
5543
+ "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
5544
+ "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
5545
+ "insertTextMode": 2,
5546
+ "insertTextFormat": 2,
5547
+ "kind": 3,
5548
+ "documentation": {
5549
+ "kind": "markdown",
5550
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**パラメーター**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. \nPossible values: \n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5551
+ }
5552
+ },
5553
+ "parametersInfo": {
5554
+ "min": 2,
5555
+ "max": 4
5422
5556
  }
5423
5557
  },
5424
- "parametersInfo": {
5425
- "min": 1,
5426
- "max": 1
5427
- }
5428
- },
5429
- {
5430
- "type": "function",
5431
- "name": "hour",
5432
- "bundle": "core",
5433
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour",
5434
- "description": "所定の日付の時刻 (0-23) を返します。",
5435
- "examples": "\n##### 例\n\n現在の時刻を取得\n\n```arcade\nHour(Now())\n```\n\n",
5436
- "completion": {
5437
- "label": "Hour",
5438
- "detail": "Hour(dateValue) -> Number",
5439
- "insertText": "Hour(${1:dateValue_})$0",
5440
- "insertTextMode": 2,
5441
- "insertTextFormat": 2,
5442
- "kind": 3,
5443
- "documentation": {
5444
- "kind": "markdown",
5445
- "value": "所定の日付の時刻 (0-23) を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 時刻を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5558
+ {
5559
+ "type": "function",
5560
+ "name": "datediff",
5561
+ "bundle": "core",
5562
+ "sinceVersion": "1.24",
5563
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
5564
+ "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
5565
+ "examples": "\n##### 例\n\nSubtracts two DateOnly values and returns the difference in years\n\n```arcade\nvar startDate = DateOnly(1996,11,10);\nvar endDate = DateOnly(); // today's date\nvar age = DateDiff(endDate, startDate, 'years');\nFloor(age); // round down\n// returns 26\n```\n\n",
5566
+ "completion": {
5567
+ "label": "DateDiff",
5568
+ "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
5569
+ "insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
5570
+ "insertTextMode": 2,
5571
+ "insertTextFormat": 2,
5572
+ "kind": 3,
5573
+ "documentation": {
5574
+ "kind": "markdown",
5575
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two DateOnly values, and returns the difference in the specified units.\n\n**パラメーター**\n\n- **dateOnly1**: DateOnly - The DateOnly value from which to subtract a second DateOnly value.\n- **dateOnly2**: DateOnly - The DateOnly value to subtract from the first given DateOnly value.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given DateOnly values. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5576
+ }
5577
+ },
5578
+ "parametersInfo": {
5579
+ "min": 2,
5580
+ "max": 3
5446
5581
  }
5447
5582
  },
5448
- "parametersInfo": {
5449
- "min": 1,
5450
- "max": 1
5583
+ {
5584
+ "type": "function",
5585
+ "name": "datediff",
5586
+ "bundle": "core",
5587
+ "sinceVersion": "1.24",
5588
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
5589
+ "description": "Subtracts two Time values, and returns the difference in the specified units.",
5590
+ "examples": "\n##### 例\n\nSubtracts two Time values and returns the difference in hours\n\n```arcade\nDateDiff(Time(23,0), Time(9,0), 'hours')\n// returns 14\n```\n\n",
5591
+ "completion": {
5592
+ "label": "DateDiff",
5593
+ "detail": "DateDiff(time1, time2, units?) -> Number",
5594
+ "insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
5595
+ "insertTextMode": 2,
5596
+ "insertTextFormat": 2,
5597
+ "kind": 3,
5598
+ "documentation": {
5599
+ "kind": "markdown",
5600
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two Time values, and returns the difference in the specified units.\n\n**パラメーター**\n\n- **time1**: Time - The Time value from which to subtract a second Time value.\n- **time2**: Time - The Time value to subtract from the first given Time value.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Time values. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`. The default value is `milliseconds`.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5601
+ }
5602
+ },
5603
+ "parametersInfo": {
5604
+ "min": 2,
5605
+ "max": 3
5606
+ }
5451
5607
  }
5452
- },
5453
- {
5454
- "type": "function",
5455
- "name": "isomonth",
5456
- "bundle": "core",
5457
- "sinceVersion": "1.12",
5458
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
5459
- "description": "ISO 8601 標準に基づいて、指定した日付の月を返します。 値の範囲は 1 ~ 12 で、1 月が「1」、12 月が「12」となります。",
5460
- "examples": "\n##### 例\n\nISO 8601 標準に基づいて、指定した日付の月を取得します。 12 月の場合は「12」を返します。\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n",
5461
- "completion": {
5462
- "label": "ISOMonth",
5463
- "detail": "ISOMonth(dateValue) -> Number",
5464
- "insertText": "ISOMonth(${1:dateValue_})$0",
5465
- "insertTextMode": 2,
5466
- "insertTextFormat": 2,
5467
- "kind": 3,
5468
- "documentation": {
5469
- "kind": "markdown",
5470
- "value": "**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 標準に基づいて、指定した日付の月を返します。 値の範囲は 1 ~ 12 で、1 月が「1」、12 月が「12」となります。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 月を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5608
+ ],
5609
+ [
5610
+ {
5611
+ "type": "function",
5612
+ "name": "dateonly",
5613
+ "bundle": "core",
5614
+ "sinceVersion": "1.24",
5615
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
5616
+ "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
5617
+ "examples": "\n##### 例\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
5618
+ "completion": {
5619
+ "label": "DateOnly",
5620
+ "detail": "DateOnly() -> DateOnly",
5621
+ "insertText": "DateOnly($0)",
5622
+ "insertTextMode": 2,
5623
+ "insertTextFormat": 2,
5624
+ "kind": 3,
5625
+ "documentation": {
5626
+ "kind": "markdown",
5627
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value based on the current date in the time zone of the profile's execution context.\n\n**戻り値**: DateOnly"
5628
+ }
5629
+ },
5630
+ "parametersInfo": {
5631
+ "min": 0,
5632
+ "max": 0
5471
5633
  }
5472
5634
  },
5473
- "parametersInfo": {
5474
- "min": 1,
5475
- "max": 1
5476
- }
5477
- },
5478
- {
5479
- "type": "function",
5480
- "name": "isoweek",
5481
- "bundle": "core",
5482
- "sinceVersion": "1.12",
5483
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
5484
- "description": "ISO 8601 の週日付カレンダーに基づいて、指定した日付の年の週を返します。 値の範囲は 1 ~ 53 で、年の最初の週が「1」で、年の最後の週はその年に応じて「52」か「53」となります。",
5485
- "examples": "\n##### 例\n\nISO 8601 標準に基づいて、指定した日付の週を取得します。 この日付は翌年の最初の週に含まれているため、「1」を返します。\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
5635
+ {
5636
+ "type": "function",
5637
+ "name": "dateonly",
5638
+ "bundle": "core",
5639
+ "sinceVersion": "1.24",
5640
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
5641
+ "description": "Creates a DateOnly value from a given date.",
5642
+ "examples": "\n##### 例\n\nReturns the DateOnly from the given date\n\n```arcade\nDateOnly(Date(2008,10,11,10,30));\n// returns 2008-11-11\n```\n\n",
5643
+ "completion": {
5644
+ "label": "DateOnly",
5645
+ "detail": "DateOnly(dateValue) -> DateOnly",
5646
+ "insertText": "DateOnly(${1:dateValue_})$0",
5647
+ "insertTextMode": 2,
5648
+ "insertTextFormat": 2,
5649
+ "kind": 3,
5650
+ "documentation": {
5651
+ "kind": "markdown",
5652
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**戻り値**: DateOnly"
5653
+ }
5654
+ },
5655
+ "parametersInfo": {
5656
+ "min": 1,
5657
+ "max": 1
5658
+ }
5659
+ },
5660
+ {
5661
+ "type": "function",
5662
+ "name": "dateonly",
5663
+ "bundle": "core",
5664
+ "sinceVersion": "1.24",
5665
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
5666
+ "description": "Creates a DateOnly date with the given Unix epoch number.",
5667
+ "examples": "\n##### 例\n\nReturns the DateOnly from the number of milliseconds since January 1, 1970\n\n```arcade\nDateOnly(1476987783555);\n// returns 2016-10-20\n```\n\n",
5668
+ "completion": {
5669
+ "label": "DateOnly",
5670
+ "detail": "DateOnly(epoch) -> DateOnly",
5671
+ "insertText": "DateOnly(${1:epoch_})$0",
5672
+ "insertTextMode": 2,
5673
+ "insertTextFormat": 2,
5674
+ "kind": 3,
5675
+ "documentation": {
5676
+ "kind": "markdown",
5677
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**パラメーター**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**戻り値**: DateOnly"
5678
+ }
5679
+ },
5680
+ "parametersInfo": {
5681
+ "min": 1,
5682
+ "max": 1
5683
+ }
5684
+ },
5685
+ {
5686
+ "type": "function",
5687
+ "name": "dateonly",
5688
+ "bundle": "core",
5689
+ "sinceVersion": "1.24",
5690
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
5691
+ "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
5692
+ "examples": "\n##### 例\n\nCreates a DateOnly value from inputs representing the year, month, and day\n\n```arcade\nDateOnly(1996, 11, 10)\n// returns 1996-12-10\n```\n\n",
5693
+ "completion": {
5694
+ "label": "DateOnly",
5695
+ "detail": "DateOnly(year, month, day) -> DateOnly",
5696
+ "insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
5697
+ "insertTextMode": 2,
5698
+ "insertTextFormat": 2,
5699
+ "kind": 3,
5700
+ "documentation": {
5701
+ "kind": "markdown",
5702
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from inputs representing the year, month, and day.\n\n**パラメーター**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n\n**戻り値**: DateOnly"
5703
+ }
5704
+ },
5705
+ "parametersInfo": {
5706
+ "min": 3,
5707
+ "max": 3
5708
+ }
5709
+ },
5710
+ {
5711
+ "type": "function",
5712
+ "name": "dateonly",
5713
+ "bundle": "core",
5714
+ "sinceVersion": "1.24",
5715
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
5716
+ "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.",
5717
+ "examples": "\n##### 例\n\nCreates a DateOnly value from a text value representing the date\n\n```arcade\nDateOnly(\"2023-05-11T13:43:18.990+01:00\");\n// returns 2023-05-11\n```\n\nCreates a DateOnly value from a text value representing the date in the given format\n\n```arcade\nDateOnly(\"10 Jan 2022\",\"D MMM Y\")\n// returns 2022-01-10\n```\n\n",
5718
+ "completion": {
5719
+ "label": "DateOnly",
5720
+ "detail": "DateOnly(dateValue, format?) -> DateOnly",
5721
+ "insertText": "DateOnly(${1:dateValue_})$0",
5722
+ "insertTextMode": 2,
5723
+ "insertTextFormat": 2,
5724
+ "kind": 3,
5725
+ "documentation": {
5726
+ "kind": "markdown",
5727
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a text input representing an ISO formatted date, or another formatted text with an additional input indicating the date's format.\n\n**パラメーター**\n\n- **dateValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value representing a date. This should either be an ISO formatted date or another formatted text representing a date. If this value does not follow ISO format, the `format` parameter must be defined indicating the date's format.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value indicating the format of the `dateValue` input. \nPossible values: \n - `D`: Day of the month, not padded (1 - 31) \n - `DD`: Day of the month, padded (01 - 31) \n - `DDD`: Ordinal day of the year (1 - 365) \n - `d`: Day of the week (1 - 7) \n - `ddd`: Abbreviated day of the week (e.g. Mon) \n - `dddd`: Full day of the week (e.g. Monday) \n - `M`: Month number (1 - 12) \n - `MM`: Month number, padded (01 - 12) \n - `MMM`: Abbreviated month name (e.g. Jan) \n - `MMMM`: Full month name (e.g. January) \n - `Y`: Full year \n - `YY`: Two-digit year \n\n\n**戻り値**: DateOnly"
5728
+ }
5729
+ },
5730
+ "parametersInfo": {
5731
+ "min": 1,
5732
+ "max": 2
5733
+ }
5734
+ },
5735
+ {
5736
+ "type": "function",
5737
+ "name": "dateonly",
5738
+ "bundle": "core",
5739
+ "sinceVersion": "1.24",
5740
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
5741
+ "description": "Creates a copy of a DateOnly value.",
5742
+ "examples": "\n##### 例\n\nCreates a copy of DateOnly value\n\n```arcade\nvar originalDateOnly = DateOnly(1996,11,10)\nvar copiedDateOnly = DateOnly(originalDateOnly)\nreturn copiedDateOnly;\n```\n\n",
5743
+ "completion": {
5744
+ "label": "DateOnly",
5745
+ "detail": "DateOnly(dateOnlyValue) -> DateOnly",
5746
+ "insertText": "DateOnly(${1:dateOnlyValue_})$0",
5747
+ "insertTextMode": 2,
5748
+ "insertTextFormat": 2,
5749
+ "kind": 3,
5750
+ "documentation": {
5751
+ "kind": "markdown",
5752
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**パラメーター**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**戻り値**: DateOnly"
5753
+ }
5754
+ },
5755
+ "parametersInfo": {
5756
+ "min": 1,
5757
+ "max": 1
5758
+ }
5759
+ }
5760
+ ],
5761
+ {
5762
+ "type": "function",
5763
+ "name": "day",
5764
+ "bundle": "core",
5765
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
5766
+ "description": "所定の日付を返します。",
5767
+ "examples": "\n##### 例\n\n現在の日付を取得\n\n```arcade\nDay(Now())\n```\n\nReturns the day of the month from a DateOnly value\n\n```arcade\nDay(DateOnly(1996, 11, 10))\n// returns 10\n```\n\n",
5486
5768
  "completion": {
5487
- "label": "ISOWeek",
5488
- "detail": "ISOWeek(dateValue) -> Number",
5489
- "insertText": "ISOWeek(${1:dateValue_})$0",
5769
+ "label": "Day",
5770
+ "detail": "Day(dateValue) -> Number",
5771
+ "insertText": "Day(${1:dateValue_})$0",
5490
5772
  "insertTextMode": 2,
5491
5773
  "insertTextFormat": 2,
5492
5774
  "kind": 3,
5493
5775
  "documentation": {
5494
5776
  "kind": "markdown",
5495
- "value": "**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 の週日付カレンダーに基づいて、指定した日付の年の週を返します。 値の範囲は 1 ~ 53 で、年の最初の週が「1」で、年の最後の週はその年に応じて「52」か「53」となります。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 週の取得元の日付値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5777
+ "value": "所定の日付を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 日付を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5496
5778
  }
5497
5779
  },
5498
5780
  "parametersInfo": {
@@ -5500,24 +5782,75 @@
5500
5782
  "max": 1
5501
5783
  }
5502
5784
  },
5785
+ [
5786
+ {
5787
+ "type": "function",
5788
+ "name": "hour",
5789
+ "bundle": "core",
5790
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
5791
+ "description": "Returns the hour of the time in the given date (0-23).",
5792
+ "examples": "\n##### 例\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
5793
+ "completion": {
5794
+ "label": "Hour",
5795
+ "detail": "Hour(dateValue) -> Number",
5796
+ "insertText": "Hour(${1:dateValue_})$0",
5797
+ "insertTextMode": 2,
5798
+ "insertTextFormat": 2,
5799
+ "kind": 3,
5800
+ "documentation": {
5801
+ "kind": "markdown",
5802
+ "value": "Returns the hour of the time in the given date (0-23).\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the hour of the time.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5803
+ }
5804
+ },
5805
+ "parametersInfo": {
5806
+ "min": 1,
5807
+ "max": 1
5808
+ }
5809
+ },
5810
+ {
5811
+ "type": "function",
5812
+ "name": "hour",
5813
+ "bundle": "core",
5814
+ "sinceVersion": "1.24",
5815
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
5816
+ "description": "Returns the hour of the given time (0-23).",
5817
+ "examples": "\n##### 例\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
5818
+ "completion": {
5819
+ "label": "Hour",
5820
+ "detail": "Hour(timeValue) -> Number",
5821
+ "insertText": "Hour(${1:timeValue_})$0",
5822
+ "insertTextMode": 2,
5823
+ "insertTextFormat": 2,
5824
+ "kind": 3,
5825
+ "documentation": {
5826
+ "kind": "markdown",
5827
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**パラメーター**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5828
+ }
5829
+ },
5830
+ "parametersInfo": {
5831
+ "min": 1,
5832
+ "max": 1
5833
+ }
5834
+ }
5835
+ ],
5503
5836
  {
5504
5837
  "type": "function",
5505
- "name": "isoweekday",
5838
+ "name": "isomonth",
5506
5839
  "bundle": "core",
5507
5840
  "sinceVersion": "1.12",
5508
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
5509
- "description": "ISO 8601 標準に基づいて、指定した日付の曜日を返します。 値の範囲は 1 ~ 7 で、月曜日が「1」、日曜日が「7」となります。",
5510
- "examples": "\n##### 例\n\nISO 8601 標準に基づいて、指定した日付の曜日を返します。 水曜日の場合は「3」を返します。\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n",
5841
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
5842
+ "description": "ISO 8601 標準に基づいて、指定した日付の月を返します。 値の範囲は 1 ~ 12 で、1 月が「1」、12 月が「12」となります。",
5843
+ "examples": "\n##### 例\n\nISO 8601 標準に基づいて、指定した日付の月を取得します。 12 月の場合は「12」を返します。\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\nGets the month of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOMonth(DateOnly(1996, 0, 10))\n// returns 1, for January\n```\n\n",
5511
5844
  "completion": {
5512
- "label": "ISOWeekday",
5513
- "detail": "ISOWeekday(dateValue) -> Number",
5514
- "insertText": "ISOWeekday(${1:dateValue_})$0",
5845
+ "label": "ISOMonth",
5846
+ "detail": "ISOMonth(dateValue) -> Number",
5847
+ "insertText": "ISOMonth(${1:dateValue_})$0",
5515
5848
  "insertTextMode": 2,
5516
5849
  "insertTextFormat": 2,
5517
5850
  "kind": 3,
5518
5851
  "documentation": {
5519
5852
  "kind": "markdown",
5520
- "value": "**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 標準に基づいて、指定した日付の曜日を返します。 値の範囲は 1 ~ 7 で、月曜日が「1」、日曜日が「7」となります。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 曜日を返すための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5853
+ "value": "**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 標準に基づいて、指定した日付の月を返します。 値の範囲は 1 ~ 12 で、1 月が「1」、12 月が「12」となります。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 月を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5521
5854
  }
5522
5855
  },
5523
5856
  "parametersInfo": {
@@ -5527,22 +5860,22 @@
5527
5860
  },
5528
5861
  {
5529
5862
  "type": "function",
5530
- "name": "isoyear",
5863
+ "name": "isoweek",
5531
5864
  "bundle": "core",
5532
5865
  "sinceVersion": "1.12",
5533
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
5534
- "description": "ISO 8601 の週日付カレンダーに基づいて、指定した日付の年を返します。",
5535
- "examples": "\n##### 例\n\nISO 8601 の週日付カレンダーに基づいて、指定した日付の年を取得します。 この日付は翌年の最初の週に含まれているため、「1981」を返します。\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n",
5866
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
5867
+ "description": "ISO 8601 の週日付カレンダーに基づいて、指定した日付の年の週を返します。 値の範囲は 1 ~ 53 で、年の最初の週が「1」で、年の最後の週はその年に応じて「52」か「53」となります。",
5868
+ "examples": "\n##### 例\n\nISO 8601 標準に基づいて、指定した日付の週を取得します。 この日付は翌年の最初の週に含まれているため、「1」を返します。\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\nGets the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeek(DateOnly(1996, 11, 10))\n// returns 50\n```\n\n",
5536
5869
  "completion": {
5537
- "label": "ISOYear",
5538
- "detail": "ISOYear(dateValue) -> Number",
5539
- "insertText": "ISOYear(${1:dateValue_})$0",
5870
+ "label": "ISOWeek",
5871
+ "detail": "ISOWeek(dateValue) -> Number",
5872
+ "insertText": "ISOWeek(${1:dateValue_})$0",
5540
5873
  "insertTextMode": 2,
5541
5874
  "insertTextFormat": 2,
5542
5875
  "kind": 3,
5543
5876
  "documentation": {
5544
5877
  "kind": "markdown",
5545
- "value": "**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 の週日付カレンダーに基づいて、指定した日付の年を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 年を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5878
+ "value": "**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 の週日付カレンダーに基づいて、指定した日付の年の週を返します。 値の範囲は 1 ~ 53 で、年の最初の週が「1」で、年の最後の週はその年に応じて「52」か「53」となります。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 週の取得元の日付値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5546
5879
  }
5547
5880
  },
5548
5881
  "parametersInfo": {
@@ -5552,21 +5885,22 @@
5552
5885
  },
5553
5886
  {
5554
5887
  "type": "function",
5555
- "name": "millisecond",
5888
+ "name": "isoweekday",
5556
5889
  "bundle": "core",
5557
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
5558
- "description": "その日付の時刻のミリ秒を返します。",
5559
- "examples": "\n##### 例\n\n現在の時刻のミリ秒を取得\n\n```arcade\nMillisecond(Now())\n```\n\n",
5890
+ "sinceVersion": "1.12",
5891
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
5892
+ "description": "ISO 8601 標準に基づいて、指定した日付の曜日を返します。 値の範囲は 1 ~ 7 で、月曜日が「1」、日曜日が「7」となります。",
5893
+ "examples": "\n##### 例\n\nISO 8601 標準に基づいて、指定した日付の曜日を返します。 水曜日の場合は「3」を返します。\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
5560
5894
  "completion": {
5561
- "label": "Millisecond",
5562
- "detail": "Millisecond(dateValue) -> Number",
5563
- "insertText": "Millisecond(${1:dateValue_})$0",
5895
+ "label": "ISOWeekday",
5896
+ "detail": "ISOWeekday(dateValue) -> Number",
5897
+ "insertText": "ISOWeekday(${1:dateValue_})$0",
5564
5898
  "insertTextMode": 2,
5565
5899
  "insertTextFormat": 2,
5566
5900
  "kind": 3,
5567
5901
  "documentation": {
5568
5902
  "kind": "markdown",
5569
- "value": "その日付の時刻のミリ秒を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - ミリ秒を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5903
+ "value": "**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 標準に基づいて、指定した日付の曜日を返します。 値の範囲は 1 ~ 7 で、月曜日が「1」、日曜日が「7」となります。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 曜日を返すための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5570
5904
  }
5571
5905
  },
5572
5906
  "parametersInfo": {
@@ -5576,21 +5910,22 @@
5576
5910
  },
5577
5911
  {
5578
5912
  "type": "function",
5579
- "name": "minute",
5913
+ "name": "isoyear",
5580
5914
  "bundle": "core",
5581
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
5582
- "description": "所定の日付の時刻の分を返します。",
5583
- "examples": "\n##### 例\n\n現在の時刻の分を取得\n\n```arcade\nMinute(Now())\n```\n\n",
5915
+ "sinceVersion": "1.12",
5916
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
5917
+ "description": "ISO 8601 の週日付カレンダーに基づいて、指定した日付の年を返します。",
5918
+ "examples": "\n##### 例\n\nISO 8601 の週日付カレンダーに基づいて、指定した日付の年を取得します。 この日付は翌年の最初の週に含まれているため、「1981」を返します。\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\nGets the year of the given DateOnly value, based on the ISO 8601 week date calendar.\n\n```arcade\nISOYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
5584
5919
  "completion": {
5585
- "label": "Minute",
5586
- "detail": "Minute(dateValue) -> Number",
5587
- "insertText": "Minute(${1:dateValue_})$0",
5920
+ "label": "ISOYear",
5921
+ "detail": "ISOYear(dateValue) -> Number",
5922
+ "insertText": "ISOYear(${1:dateValue_})$0",
5588
5923
  "insertTextMode": 2,
5589
5924
  "insertTextFormat": 2,
5590
5925
  "kind": 3,
5591
5926
  "documentation": {
5592
5927
  "kind": "markdown",
5593
- "value": "所定の日付の時刻の分を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 時刻の分を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5928
+ "value": "**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nISO 8601 の週日付カレンダーに基づいて、指定した日付の年を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 年を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5594
5929
  }
5595
5930
  },
5596
5931
  "parametersInfo": {
@@ -5598,13 +5933,115 @@
5598
5933
  "max": 1
5599
5934
  }
5600
5935
  },
5936
+ [
5937
+ {
5938
+ "type": "function",
5939
+ "name": "millisecond",
5940
+ "bundle": "core",
5941
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
5942
+ "description": "Returns the millisecond of the time in the date.",
5943
+ "examples": "\n##### 例\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
5944
+ "completion": {
5945
+ "label": "Millisecond",
5946
+ "detail": "Millisecond(dateValue) -> Number",
5947
+ "insertText": "Millisecond(${1:dateValue_})$0",
5948
+ "insertTextMode": 2,
5949
+ "insertTextFormat": 2,
5950
+ "kind": 3,
5951
+ "documentation": {
5952
+ "kind": "markdown",
5953
+ "value": "Returns the millisecond of the time in the date.\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the millisecond of the time.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5954
+ }
5955
+ },
5956
+ "parametersInfo": {
5957
+ "min": 1,
5958
+ "max": 1
5959
+ }
5960
+ },
5961
+ {
5962
+ "type": "function",
5963
+ "name": "millisecond",
5964
+ "bundle": "core",
5965
+ "sinceVersion": "1.24",
5966
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
5967
+ "description": "Returns the millisecond of the given time.",
5968
+ "examples": "\n##### 例\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
5969
+ "completion": {
5970
+ "label": "Millisecond",
5971
+ "detail": "Millisecond(timeValue) -> Number",
5972
+ "insertText": "Millisecond(${1:timeValue_})$0",
5973
+ "insertTextMode": 2,
5974
+ "insertTextFormat": 2,
5975
+ "kind": 3,
5976
+ "documentation": {
5977
+ "kind": "markdown",
5978
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**パラメーター**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5979
+ }
5980
+ },
5981
+ "parametersInfo": {
5982
+ "min": 1,
5983
+ "max": 1
5984
+ }
5985
+ }
5986
+ ],
5987
+ [
5988
+ {
5989
+ "type": "function",
5990
+ "name": "minute",
5991
+ "bundle": "core",
5992
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
5993
+ "description": "Returns the minute of the time in the given date.",
5994
+ "examples": "\n##### 例\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
5995
+ "completion": {
5996
+ "label": "Minute",
5997
+ "detail": "Minute(dateValue) -> Number",
5998
+ "insertText": "Minute(${1:dateValue_})$0",
5999
+ "insertTextMode": 2,
6000
+ "insertTextFormat": 2,
6001
+ "kind": 3,
6002
+ "documentation": {
6003
+ "kind": "markdown",
6004
+ "value": "Returns the minute of the time in the given date.\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the minute of the time.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6005
+ }
6006
+ },
6007
+ "parametersInfo": {
6008
+ "min": 1,
6009
+ "max": 1
6010
+ }
6011
+ },
6012
+ {
6013
+ "type": "function",
6014
+ "name": "minute",
6015
+ "bundle": "core",
6016
+ "sinceVersion": "1.24",
6017
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
6018
+ "description": "Returns the minute of the given time.",
6019
+ "examples": "\n##### 例\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
6020
+ "completion": {
6021
+ "label": "Minute",
6022
+ "detail": "Minute(timeValue) -> Number",
6023
+ "insertText": "Minute(${1:timeValue_})$0",
6024
+ "insertTextMode": 2,
6025
+ "insertTextFormat": 2,
6026
+ "kind": 3,
6027
+ "documentation": {
6028
+ "kind": "markdown",
6029
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**パラメーター**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6030
+ }
6031
+ },
6032
+ "parametersInfo": {
6033
+ "min": 1,
6034
+ "max": 1
6035
+ }
6036
+ }
6037
+ ],
5601
6038
  {
5602
6039
  "type": "function",
5603
6040
  "name": "month",
5604
6041
  "bundle": "core",
5605
6042
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
5606
6043
  "description": "所定の日付の月を返します。 値の範囲は 0-11 であり、1 月は `0`、12 月は `11` です。",
5607
- "examples": "\n##### 例\n\n指定した日付の月を取得します。 12 月の場合は 11 を返します。\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
6044
+ "examples": "\n##### 例\n\n指定した日付の月を取得します。 12 月の場合は 11 を返します。\n\n```arcade\nMonth(Date(1980, 11, 31))\n// returns 11\n```\n\nGets the month of the given DateOnly value.\n\n```arcade\nMonth(DateOnly(1996, 0, 31))\n// returns 0, for the month of January\n```\n\n",
5608
6045
  "completion": {
5609
6046
  "label": "Month",
5610
6047
  "detail": "Month(dateValue) -> Number",
@@ -5614,7 +6051,7 @@
5614
6051
  "kind": 3,
5615
6052
  "documentation": {
5616
6053
  "kind": "markdown",
5617
- "value": "所定の日付の月を返します。 値の範囲は 0-11 であり、1 月は `0`、12 月は `11` です。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 月を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6054
+ "value": "所定の日付の月を返します。 値の範囲は 0-11 であり、1 月は `0`、12 月は `11` です。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 月を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5618
6055
  }
5619
6056
  },
5620
6057
  "parametersInfo": {
@@ -5646,23 +6083,227 @@
5646
6083
  "max": 0
5647
6084
  }
5648
6085
  },
6086
+ [
6087
+ {
6088
+ "type": "function",
6089
+ "name": "second",
6090
+ "bundle": "core",
6091
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
6092
+ "description": "Returns the second of the time in the date.",
6093
+ "examples": "\n##### 例\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
6094
+ "completion": {
6095
+ "label": "Second",
6096
+ "detail": "Second(dateValue) -> Number",
6097
+ "insertText": "Second(${1:dateValue_})$0",
6098
+ "insertTextMode": 2,
6099
+ "insertTextFormat": 2,
6100
+ "kind": 3,
6101
+ "documentation": {
6102
+ "kind": "markdown",
6103
+ "value": "Returns the second of the time in the date.\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the second of the time.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6104
+ }
6105
+ },
6106
+ "parametersInfo": {
6107
+ "min": 1,
6108
+ "max": 1
6109
+ }
6110
+ },
6111
+ {
6112
+ "type": "function",
6113
+ "name": "second",
6114
+ "bundle": "core",
6115
+ "sinceVersion": "1.24",
6116
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
6117
+ "description": "Returns the second of the given time.",
6118
+ "examples": "\n##### 例\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
6119
+ "completion": {
6120
+ "label": "Second",
6121
+ "detail": "Second(timeValue) -> Number",
6122
+ "insertText": "Second(${1:timeValue_})$0",
6123
+ "insertTextMode": 2,
6124
+ "insertTextFormat": 2,
6125
+ "kind": 3,
6126
+ "documentation": {
6127
+ "kind": "markdown",
6128
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**パラメーター**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6129
+ }
6130
+ },
6131
+ "parametersInfo": {
6132
+ "min": 1,
6133
+ "max": 1
6134
+ }
6135
+ }
6136
+ ],
6137
+ [
6138
+ {
6139
+ "type": "function",
6140
+ "name": "time",
6141
+ "bundle": "core",
6142
+ "sinceVersion": "1.24",
6143
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
6144
+ "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
6145
+ "examples": "\n##### 例\n\nReturns the current time displayed using the profile's default time zone\n\n```arcade\n// Time represents 12:41:20 PM\nTime()\n```\n\n",
6146
+ "completion": {
6147
+ "label": "Time",
6148
+ "detail": "Time() -> Time",
6149
+ "insertText": "Time($0)",
6150
+ "insertTextMode": 2,
6151
+ "insertTextFormat": 2,
6152
+ "kind": 3,
6153
+ "documentation": {
6154
+ "kind": "markdown",
6155
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value representing the current time in the time zone of the profile's execution context.\n\n**戻り値**: Time"
6156
+ }
6157
+ },
6158
+ "parametersInfo": {
6159
+ "min": 0,
6160
+ "max": 0
6161
+ }
6162
+ },
6163
+ {
6164
+ "type": "function",
6165
+ "name": "time",
6166
+ "bundle": "core",
6167
+ "sinceVersion": "1.24",
6168
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
6169
+ "description": "Creates a Time value from a given date.",
6170
+ "examples": "\n##### 例\n\nReturns the Time from the given date\n\n```arcade\nTime(Date(2008,10,11,10,30));\n// returns a Time value of 10:30:00 AM\n```\n\n",
6171
+ "completion": {
6172
+ "label": "Time",
6173
+ "detail": "Time(dateValue) -> Time",
6174
+ "insertText": "Time(${1:dateValue_})$0",
6175
+ "insertTextMode": 2,
6176
+ "insertTextFormat": 2,
6177
+ "kind": 3,
6178
+ "documentation": {
6179
+ "kind": "markdown",
6180
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**戻り値**: Time"
6181
+ }
6182
+ },
6183
+ "parametersInfo": {
6184
+ "min": 1,
6185
+ "max": 1
6186
+ }
6187
+ },
6188
+ {
6189
+ "type": "function",
6190
+ "name": "time",
6191
+ "bundle": "core",
6192
+ "sinceVersion": "1.24",
6193
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
6194
+ "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`.",
6195
+ "examples": "\n##### 例\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(8119800);\n// returns a Time value of 02:15:19.800\n```\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(86400001);\n// returns null - the input value exceeds the number of milliseconds in a day\n```\n\n",
6196
+ "completion": {
6197
+ "label": "Time",
6198
+ "detail": "Time(numValue) -> Time",
6199
+ "insertText": "Time(${1:numValue_})$0",
6200
+ "insertTextMode": 2,
6201
+ "insertTextFormat": 2,
6202
+ "kind": 3,
6203
+ "documentation": {
6204
+ "kind": "markdown",
6205
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given number representing milliseconds since midnight. If the input value is larger than 86,400,000 (the maximum number of milliseconds in a day) or less than 0, the function will return `null`.\n\n**パラメーター**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**戻り値**: Time"
6206
+ }
6207
+ },
6208
+ "parametersInfo": {
6209
+ "min": 1,
6210
+ "max": 1
6211
+ }
6212
+ },
6213
+ {
6214
+ "type": "function",
6215
+ "name": "time",
6216
+ "bundle": "core",
6217
+ "sinceVersion": "1.24",
6218
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
6219
+ "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
6220
+ "examples": "\n##### 例\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds\n\n```arcade\nTime(13, 20);\n// returns a Time value of 13:20:00\n \nTime(2, 59, 23)\n// returns a Time value of 02:59:23\n \nTime(15, 47, 0, 474)\n// returns a Time value of 15:47:00.474\n```\n\n",
6221
+ "completion": {
6222
+ "label": "Time",
6223
+ "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
6224
+ "insertText": "Time(${1:hours_}, ${2:minutes_})$0",
6225
+ "insertTextMode": 2,
6226
+ "insertTextFormat": 2,
6227
+ "kind": 3,
6228
+ "documentation": {
6229
+ "kind": "markdown",
6230
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds.\n\n**パラメーター**\n\n- **hours**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing hours of the Time value (0-23).\n- **minutes**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the minutes of the Time value (0-59).\n- **seconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the seconds of the Time value (0-59).\n- **milliseconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the milliseconds of the Time value (0-999).\n\n**戻り値**: Time"
6231
+ }
6232
+ },
6233
+ "parametersInfo": {
6234
+ "min": 2,
6235
+ "max": 4
6236
+ }
6237
+ },
6238
+ {
6239
+ "type": "function",
6240
+ "name": "time",
6241
+ "bundle": "core",
6242
+ "sinceVersion": "1.24",
6243
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
6244
+ "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
6245
+ "examples": "\n##### 例\n\nCreates a Time value from a text value representing the time\n\n```arcade\nTime(\"1:20 PM\");\n// returns a Time value of 13:20:00\n```\n\nCreates a Time value from a text value representing the time and formatting\n\n```arcade\nTime(\"12 05 04\", \"HH MM ss\")\n// returns a Time value of 12:05:04\n```\n\n",
6246
+ "completion": {
6247
+ "label": "Time",
6248
+ "detail": "Time(timeValue, format?) -> Time",
6249
+ "insertText": "Time(${1:timeValue_})$0",
6250
+ "insertTextMode": 2,
6251
+ "insertTextFormat": 2,
6252
+ "kind": 3,
6253
+ "documentation": {
6254
+ "kind": "markdown",
6255
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a text input representing time, with an optional input indicating the text's format.\n\n**パラメーター**\n\n- **timeValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value representing a time.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value indicating the format of the `timeValue` input. \nPossible values: \n - `h`: Civilian hours, not padded (0 - 12) \n - `hh`: Civilian hours, padded (00 - 12) \n - `H`: Military hours, not padded (0 - 24) \n - `HH`: Military hours, padded (00 - 24) \n - `m`: Minutes, not padded (0 - 59) \n - `mm`: Minutes, padded (00 - 59) \n - `s`: Seconds, not padded (0 - 59) \n - `ss`: Seconds, padded (00 - 59) \n - `A`: AM/PM \n\n\n**戻り値**: Time"
6256
+ }
6257
+ },
6258
+ "parametersInfo": {
6259
+ "min": 1,
6260
+ "max": 2
6261
+ }
6262
+ }
6263
+ ],
5649
6264
  {
5650
6265
  "type": "function",
5651
- "name": "second",
6266
+ "name": "timestamp",
5652
6267
  "bundle": "core",
5653
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second",
5654
- "description": "その日付の時刻の秒を返します。",
5655
- "examples": "\n##### 例\n\n現在の時刻の秒を取得\n\n```arcade\nSecond(Now())\n```\n\n",
6268
+ "sinceVersion": "1.1",
6269
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
6270
+ "description": "現在の日付と時刻を表す日付値を UTC で作成します。",
6271
+ "examples": "\n##### 例\n\n日付を UTC 時間で作成します\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
5656
6272
  "completion": {
5657
- "label": "Second",
5658
- "detail": "Second(dateValue) -> Number",
5659
- "insertText": "Second(${1:dateValue_})$0",
6273
+ "label": "Timestamp",
6274
+ "detail": "Timestamp() -> Date",
6275
+ "insertText": "Timestamp($0)",
5660
6276
  "insertTextMode": 2,
5661
6277
  "insertTextFormat": 2,
5662
6278
  "kind": 3,
5663
6279
  "documentation": {
5664
6280
  "kind": "markdown",
5665
- "value": "その日付の時刻の秒を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 秒を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6281
+ "value": "**[バージョン以降 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n現在の日付と時刻を表す日付値を UTC で作成します。\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
6282
+ }
6283
+ },
6284
+ "parametersInfo": {
6285
+ "min": 0,
6286
+ "max": 0
6287
+ }
6288
+ },
6289
+ {
6290
+ "type": "function",
6291
+ "name": "timezone",
6292
+ "bundle": "core",
6293
+ "sinceVersion": "1.24",
6294
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
6295
+ "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",
6296
+ "examples": "\n##### 例\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
6297
+ "completion": {
6298
+ "label": "TimeZone",
6299
+ "detail": "TimeZone(dateValue) -> Text",
6300
+ "insertText": "TimeZone(${1:dateValue_})$0",
6301
+ "insertTextMode": 2,
6302
+ "insertTextFormat": 2,
6303
+ "kind": 3,
6304
+ "documentation": {
6305
+ "kind": "markdown",
6306
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (i.e. `America/New_York`)\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n- `system` - time zone will be based on the client or system's local time zone \n- `UTC`\n- `unknown`\n\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**戻り値**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
5666
6307
  }
5667
6308
  },
5668
6309
  "parametersInfo": {
@@ -5672,27 +6313,27 @@
5672
6313
  },
5673
6314
  {
5674
6315
  "type": "function",
5675
- "name": "timestamp",
6316
+ "name": "timezoneoffset",
5676
6317
  "bundle": "core",
5677
- "sinceVersion": "1.1",
5678
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
5679
- "description": "現在の日付と時刻を表す日付値を UTC で作成します。",
5680
- "examples": "\n##### 例\n\n日付を UTC 時間で作成します\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
6318
+ "sinceVersion": "1.24",
6319
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
6320
+ "description": "Returns the time zone offset in minutes from UTC for the given Date.",
6321
+ "examples": "\n##### 例\n\nReturns the time zone offset in minutes from UTC\n\n```arcade\nvar inputDate = Date(2011, 10, 11, 8, 0, 0, 0, \"America/New_York\")\nTimeZoneOffset(inputDate);\n// returns -18000000\n```\n\n",
5681
6322
  "completion": {
5682
- "label": "Timestamp",
5683
- "detail": "Timestamp() -> Date",
5684
- "insertText": "Timestamp($0)",
6323
+ "label": "TimeZoneOffset",
6324
+ "detail": "TimeZoneOffset(dateValue) -> Number",
6325
+ "insertText": "TimeZoneOffset(${1:dateValue_})$0",
5685
6326
  "insertTextMode": 2,
5686
6327
  "insertTextFormat": 2,
5687
6328
  "kind": 3,
5688
6329
  "documentation": {
5689
6330
  "kind": "markdown",
5690
- "value": "**[バージョン以降 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n現在の日付と時刻を表す日付値を UTC で作成します。\n\n**戻り値**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
6331
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone offset in minutes from UTC for the given Date.\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone offset.\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5691
6332
  }
5692
6333
  },
5693
6334
  "parametersInfo": {
5694
- "min": 0,
5695
- "max": 0
6335
+ "min": 1,
6336
+ "max": 1
5696
6337
  }
5697
6338
  },
5698
6339
  {
@@ -5776,7 +6417,7 @@
5776
6417
  "sinceVersion": "1.14",
5777
6418
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
5778
6419
  "description": "所定の日付の年の週数を返します。 値の範囲は 0 ~ 53 で、年の最初の週が「0」で、年の最後の週はその年に応じて「51」、 「52」、「53」のいずれかになります。 最初と最後の週の長さは完全な 7 日間ではない場合があります。",
5779
- "examples": "\n##### 例\n\n週のデフォルトの開始曜日 (日曜日) を使用\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\n週の開始曜日を木曜日に設定\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\n週の開始曜日を金曜日に設定\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\n",
6420
+ "examples": "\n##### 例\n\n週のデフォルトの開始曜日 (日曜日) を使用\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\n週の開始曜日を木曜日に設定\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\n週の開始曜日を金曜日に設定\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\nReturns the week from the DateOnly value\n\n```arcade\nWeek(DateOnly(1996, 11, 10))\n// returns 49\n```\n\n",
5780
6421
  "completion": {
5781
6422
  "label": "Week",
5782
6423
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -5786,7 +6427,7 @@
5786
6427
  "kind": 3,
5787
6428
  "documentation": {
5788
6429
  "kind": "markdown",
5789
- "value": "**[バージョン以降 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n所定の日付の年の週数を返します。 値の範囲は 0 ~ 53 で、年の最初の週が「0」で、年の最後の週はその年に応じて「51」、 「52」、「53」のいずれかになります。 最初と最後の週の長さは完全な 7 日間ではない場合があります。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 週の取得元の日付値です。\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 週の開始曜日を表す番号。 日曜日 = 0; 月曜日 = 1; 火曜日 = 2; 水曜日 = 3; 木曜日 = 4; 金曜日 = 5; 土曜日 = 6 デフォルトは「0」(日曜日) です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6430
+ "value": "**[バージョン以降 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n所定の日付の年の週数を返します。 値の範囲は 0 ~ 53 で、年の最初の週が「0」で、年の最後の週はその年に応じて「51」、 「52」、「53」のいずれかになります。 最初と最後の週の長さは完全な 7 日間ではない場合があります。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 週の取得元の日付値です。\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 週の開始曜日を表す番号。 日曜日 = 0; 月曜日 = 1; 火曜日 = 2; 水曜日 = 3; 木曜日 = 4; 金曜日 = 5; 土曜日 = 6 デフォルトは「0」(日曜日) です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5790
6431
  }
5791
6432
  },
5792
6433
  "parametersInfo": {
@@ -5800,7 +6441,7 @@
5800
6441
  "bundle": "core",
5801
6442
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
5802
6443
  "description": "指定した日付の曜日を返します。 値の範囲は 0-6 であり、日曜日は `0`、土曜日は `6` です。",
5803
- "examples": "\n##### 例\n\n指定した日付の曜日を返します。 水曜日の場合は「3」を返します。\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
6444
+ "examples": "\n##### 例\n\n指定した日付の曜日を返します。 水曜日の場合は「3」を返します。\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value.\n\n```arcade\nWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
5804
6445
  "completion": {
5805
6446
  "label": "Weekday",
5806
6447
  "detail": "Weekday(dateValue) -> Number",
@@ -5810,7 +6451,7 @@
5810
6451
  "kind": 3,
5811
6452
  "documentation": {
5812
6453
  "kind": "markdown",
5813
- "value": "指定した日付の曜日を返します。 値の範囲は 0-6 であり、日曜日は `0`、土曜日は `6` です。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 曜日を返すための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6454
+ "value": "指定した日付の曜日を返します。 値の範囲は 0-6 であり、日曜日は `0`、土曜日は `6` です。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 曜日を返すための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5814
6455
  }
5815
6456
  },
5816
6457
  "parametersInfo": {
@@ -5824,7 +6465,7 @@
5824
6465
  "bundle": "core",
5825
6466
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
5826
6467
  "description": "所定の年を返します。",
5827
- "examples": "\n##### 例\n\n現在の年を取得\n\n```arcade\nYear(Now())\n```\n\n",
6468
+ "examples": "\n##### 例\n\n現在の年を取得\n\n```arcade\nYear(Now())\n```\n\nGets the year of the given DateOnly value\n\n```arcade\nYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
5828
6469
  "completion": {
5829
6470
  "label": "Year",
5830
6471
  "detail": "Year(dateValue) -> Number",
@@ -5834,7 +6475,7 @@
5834
6475
  "kind": 3,
5835
6476
  "documentation": {
5836
6477
  "kind": "markdown",
5837
- "value": "所定の年を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 年を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6478
+ "value": "所定の年を返します。\n\n**パラメーター**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - 年を取得するための日付の値です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5838
6479
  }
5839
6480
  },
5840
6481
  "parametersInfo": {
@@ -5920,6 +6561,31 @@
5920
6561
  "max": 2
5921
6562
  }
5922
6563
  },
6564
+ {
6565
+ "type": "function",
6566
+ "name": "equals",
6567
+ "bundle": "core",
6568
+ "sinceVersion": "1.24",
6569
+ "link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
6570
+ "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.",
6571
+ "examples": "\n##### 例\n\nCompares if two values are equal\n\n```arcade\nEquals(1, \"1\") // returns false\n\nvar testVal = \"test\";\nEquals(testVal, \"test\") // returns true\n\nvar array1 = Array(5);\nvar array2 = Array(5);\nEquals(array1, array2); // returns false\nEquals(array1, array1); // returns true\n```\n\n",
6572
+ "completion": {
6573
+ "label": "Equals",
6574
+ "detail": "Equals(value1, value2) -> Boolean",
6575
+ "insertText": "Equals(${1:value1_}, ${2:value2_})$0",
6576
+ "insertTextMode": 2,
6577
+ "insertTextFormat": 2,
6578
+ "kind": 3,
6579
+ "documentation": {
6580
+ "kind": "markdown",
6581
+ "value": "**[バージョン以降 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates if two values are equal. Object types (i.e. Arrays, Features, Dictionaries, Geometry) will return true only if they are the same object.\n\n**パラメーター**\n\n- **value1**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The first input value.\n- **value2**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The second input value.\n\n**戻り値**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6582
+ }
6583
+ },
6584
+ "parametersInfo": {
6585
+ "min": 2,
6586
+ "max": 2
6587
+ }
6588
+ },
5923
6589
  {
5924
6590
  "type": "function",
5925
6591
  "name": "iif",