@arcgis/coding-components 4.28.0-beta.4 → 4.28.0-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ar.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.bg.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.bs.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ca.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.cs.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.da.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.de.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.el.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.en.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.es.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.et.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.fi.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.fr.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.he.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.hr.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.hu.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.id.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.it.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ja.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ko.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.lt.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.lv.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.nb.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.nl.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pl.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pt-BR.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pt-PT.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ro.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ru.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sk.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sl.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sr.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sv.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.th.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.tr.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.uk.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.vi.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-CN.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-HK.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-TW.json +7 -7
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ar.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.bg.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.bs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ca.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.cs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.da.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.de.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.el.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.en.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.es.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.et.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.fi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.fr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.he.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.hr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.hu.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.id.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.it.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ja.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ko.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.lt.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.lv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.nb.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.nl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pt-BR.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pt-PT.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ro.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ru.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.th.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.tr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.uk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.vi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-CN.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-HK.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-TW.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +237 -313
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +230 -306
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +231 -307
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +229 -305
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +237 -313
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +230 -306
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +229 -305
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +231 -307
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +173 -249
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +235 -311
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +235 -311
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +234 -310
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +231 -307
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +234 -310
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +231 -307
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +230 -306
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +238 -314
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +234 -310
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +235 -311
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +230 -306
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +232 -308
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +232 -308
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +229 -305
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +237 -313
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +235 -311
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +232 -308
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +237 -313
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +231 -307
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +235 -311
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +235 -311
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +229 -305
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +229 -305
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +232 -308
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +230 -306
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +238 -314
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +231 -307
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +236 -312
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +234 -310
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +228 -304
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +228 -304
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +14 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ar.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bg.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bs.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ca.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.cs.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.da.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.de.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.el.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.es.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.et.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fi.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fr.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.he.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hr.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hu.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.id.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.it.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ja.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ko.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.lt.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.lv.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nb.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nl.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pl.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-BR.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-PT.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ro.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ru.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sk.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sl.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sr.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sv.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.th.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.tr.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.uk.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.vi.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-CN.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-HK.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-TW.json +31 -31
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ar.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.bg.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.bs.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ca.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.cs.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.da.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.de.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.el.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.en.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.es.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.et.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.fi.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.fr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.he.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.hr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.hu.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.id.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.it.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ja.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ko.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.lt.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.lv.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.nb.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.nl.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pl.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pt-BR.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pt-PT.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ro.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ru.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sk.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sl.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sv.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.th.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.tr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.uk.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.vi.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-CN.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-HK.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-TW.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ar.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.bg.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.bs.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ca.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.cs.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.da.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.de.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.el.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.en.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.es.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.et.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.fi.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.fr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.he.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.hr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.hu.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.id.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.it.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ja.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ko.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.lt.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.lv.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.nb.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.nl.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pl.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pt-BR.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pt-PT.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ro.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ru.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sk.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sl.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sv.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.th.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.tr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.uk.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.vi.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-CN.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-HK.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-TW.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ar.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.bg.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.bs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ca.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.cs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.da.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.de.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.el.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.en.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.es.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.et.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.fi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.fr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.he.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.hr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.hu.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.id.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.it.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ja.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ko.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.lt.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.lv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.nb.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.nl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pt-BR.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pt-PT.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ro.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ru.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.th.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.tr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.uk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.vi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-CN.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-HK.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-TW.json +8 -8
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +19 -19
- package/dist/arcgis-coding-components/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-be1fbbb3.js → p-27d03fb2.js} +1 -1
- package/dist/arcgis-coding-components/p-2c5583d5.entry.js +1 -0
- package/dist/arcgis-coding-components/{p-e4be94b6.js → p-3eb641a2.js} +1 -1
- package/dist/arcgis-coding-components/{p-fca44881.js → p-5fe913f0.js} +1 -1
- package/dist/arcgis-coding-components/p-683e3dd4.js +1 -0
- package/dist/arcgis-coding-components/{p-d9a5e2f2.js → p-74e0738d.js} +1 -1
- package/dist/arcgis-coding-components/{p-489997f4.js → p-7fb19e9b.js} +1 -1
- package/dist/arcgis-coding-components/{p-172f4702.js → p-96c3ebcb.js} +1 -1
- package/dist/arcgis-coding-components/{p-4cbf1d3d.js → p-a152b643.js} +1 -1
- package/dist/arcgis-coding-components/p-a388e974.js +62 -0
- package/dist/cjs/{arcade-defaults-34cb0922.js → arcade-defaults-55c18abe.js} +268 -555
- package/dist/cjs/{arcade-mode-ab1f27e6.js → arcade-mode-bd1630dd.js} +3 -5
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +95 -83
- package/dist/cjs/{cssMode-1aa8c00c.js → cssMode-73d4ac47.js} +1 -1
- package/dist/cjs/{html-d5c8ae9b.js → html-da599f39.js} +1 -1
- package/dist/cjs/{htmlMode-78095155.js → htmlMode-6f0883d3.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-1feb315a.js → javascript-92268a2f.js} +2 -2
- package/dist/cjs/{jsonMode-3b4bffa4.js → jsonMode-110ef3c9.js} +1 -1
- package/dist/cjs/{tsMode-927347f4.js → tsMode-8cb72aa2.js} +1 -1
- package/dist/cjs/{typescript-b6461e0f.js → typescript-edaad128.js} +1 -1
- package/dist/components/arcade-api.js +6 -6
- package/dist/components/arcade-contribution.js +27 -8
- package/dist/components/arcade-defaults.js +9 -9
- package/dist/components/arcade-mode.js +3 -5
- package/dist/components/arcade-results.js +46 -51
- package/dist/components/arcade-suggestions.js +4 -4
- package/dist/components/arcade-variables.js +5 -5
- package/dist/components/arcgis-arcade-editor.js +18 -18
- package/dist/components/code-editor.js +6 -6
- package/dist/components/index2.js +2 -292
- package/dist/components/utilities.js +2 -2
- package/dist/esm/{arcade-defaults-f030a3ab.js → arcade-defaults-ac486973.js} +255 -545
- package/dist/esm/arcade-mode-fc719356.js +594 -0
- package/dist/esm/arcgis-arcade-api_6.entry.js +95 -83
- package/dist/esm/{cssMode-7174073f.js → cssMode-f452e699.js} +1 -1
- package/dist/esm/{html-232bf55e.js → html-7c0b7520.js} +1 -1
- package/dist/esm/{htmlMode-81da247d.js → htmlMode-200a28b3.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-675b1c44.js → javascript-44a7aba3.js} +2 -2
- package/dist/esm/{jsonMode-aa4be4a6.js → jsonMode-fb784fa5.js} +1 -1
- package/dist/esm/{tsMode-f163b829.js → tsMode-890f3141.js} +1 -1
- package/dist/esm/{typescript-ebf5062c.js → typescript-4b8bacca.js} +1 -1
- package/dist/types/utils/arcade-executor.d.ts +22 -25
- package/package.json +25 -24
- package/dist/arcgis-coding-components/p-84c74c0e.entry.js +0 -1
- package/dist/arcgis-coding-components/p-c5a7203a.js +0 -1
- package/dist/arcgis-coding-components/p-e291bfec.js +0 -62
- package/dist/esm/arcade-mode-e27773ee.js +0 -596
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"name": "average",
|
|
230
230
|
"bundle": "data-access",
|
|
231
231
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#average",
|
|
232
|
-
"description": "傳回
|
|
232
|
+
"description": "傳回 FeatureSet 中給定數值欄位的平均值。",
|
|
233
233
|
"examples": "\n##### 範例\n\n計算圖徵的人口,與圖層中所有圖徵的平均人口之間的差\n\n```arcade\n$feature.population - Average($layer, 'population')\n```\n\n計算圖層中所有圖徵之每平方英哩的平均人口\n\n```arcade\nAverage($layer, 'population / area')\n```\n\n",
|
|
234
234
|
"completion": {
|
|
235
235
|
"label": "Average",
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
"kind": 3,
|
|
241
241
|
"documentation": {
|
|
242
242
|
"kind": "markdown",
|
|
243
|
-
"value": "傳回
|
|
243
|
+
"value": "傳回 FeatureSet 中給定數值欄位的平均值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
246
|
"parametersInfo": {
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
"kind": 3,
|
|
340
340
|
"documentation": {
|
|
341
341
|
"kind": "markdown",
|
|
342
|
-
"value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指派給提供之 `featureSet` 的指定欄位的網域。 如果 `featureSet` 屬於含子類型的類別,則將傳回指派給子類型的網域。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 其圖徵包含具有網域之欄位的 FeatureSet。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 包含網域的欄位名稱 (非欄位的別名)。\n- **subtype** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 如果圖徵支援子類型,則為子類型的編碼值。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回下列屬性所說明的字典。\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域的類型 - `codedValue` 或 `range`。\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域名稱。\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域欄位的資料類型。 它可以是以下值之一: `esriFieldTypeSmallInteger`、`esriFieldTypeInteger`、`esriFieldTypeSingle`、`esriFieldTypeDouble`、 `esriFieldTypeString`、`esriFieldTypeDate`、`esriFieldTypeOID`、`esriFieldTypeGeometry`、`esriFieldTypeBlob`、 `esriFieldTypeRaster`、`esriFieldTypeGUID`、`esriFieldTypeGlobalID`、`esriFieldTypeXML`。\n- **min**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最小值。\n- **max**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最大值。\n- **codedValues**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - 僅適用於 `codedValue` 網域。 說明欄位之有效值的字典陣列。 每個字典都有一個 `code` 屬性,其中包含實際的欄位值, 和一個 `name` 屬性,其中包含值的使用者易記描述 (例如 `{ code: 1, name: \\\"pavement\\\" }`)。"
|
|
342
|
+
"value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指派給提供之 `featureSet` 的指定欄位的網域。 如果 `featureSet` 屬於含子類型的類別,則將傳回指派給子類型的網域。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 其圖徵包含具有網域之欄位的 FeatureSet。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 包含網域的欄位名稱 (非欄位的別名)。\n- **subtype** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 如果圖徵支援子類型,則為子類型的編碼值。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回下列屬性所說明的字典。\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域的類型 - `codedValue` 或 `range`。\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域名稱。\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域欄位的資料類型。 它可以是以下值之一: `esriFieldTypeSmallInteger`、`esriFieldTypeInteger`、`esriFieldTypeBigInteger`、`esriFieldTypeSingle`、`esriFieldTypeDouble`、 `esriFieldTypeString`、`esriFieldTypeDate`、`esriFieldTypeOID`、`esriFieldTypeGeometry`、`esriFieldTypeBlob`、 `esriFieldTypeRaster`、`esriFieldTypeGUID`、`esriFieldTypeGlobalID`、`esriFieldTypeXML`。\n- **min**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最小值。\n- **max**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最大值。\n- **codedValues**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - 僅適用於 `codedValue` 網域。 說明欄位之有效值的字典陣列。 每個字典都有一個 `code` 屬性,其中包含實際的欄位值, 和一個 `name` 屬性,其中包含值的使用者易記描述 (例如 `{ code: 1, name: \\\"pavement\\\" }`)。"
|
|
343
343
|
}
|
|
344
344
|
},
|
|
345
345
|
"parametersInfo": {
|
|
@@ -580,8 +580,8 @@
|
|
|
580
580
|
"bundle": "data-access",
|
|
581
581
|
"sinceVersion": "1.24",
|
|
582
582
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
583
|
-
"description": "
|
|
584
|
-
"examples": "\n##### 範例\n\
|
|
583
|
+
"description": "根據給定關係類別的名稱傳回給定圖徵的相關記錄。",
|
|
584
|
+
"examples": "\n##### 範例\n\n傳回桿檢查相關紀錄的計數\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
585
|
"completion": {
|
|
586
586
|
"label": "FeatureSetByRelationshipClass",
|
|
587
587
|
"detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
"kind": 3,
|
|
592
592
|
"documentation": {
|
|
593
593
|
"kind": "markdown",
|
|
594
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
594
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據給定關係類別的名稱傳回給定圖徵的相關記錄。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 從中擷取相關記錄的圖徵。\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 在資料來源中定義的關係類別的名稱。\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要在 FeatureSet 中傳回的欄位。 此清單包含關係表和輸入圖徵的欄位。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指出是否傳回導出之圖徵的幾何。\n\n**返回值**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
595
595
|
}
|
|
596
596
|
},
|
|
597
597
|
"parametersInfo": {
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
"kind": 3,
|
|
617
617
|
"documentation": {
|
|
618
618
|
"kind": "markdown",
|
|
619
|
-
"value": "**[自版本 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指定圖徵的相關記錄以作為 FeatureSet。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) -
|
|
619
|
+
"value": "**[自版本 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指定圖徵的相關記錄以作為 FeatureSet。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 針對其擷取相關記錄的圖徵。\n- **relationshipName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 根據指定圖徵的相關圖徵服務的關係名稱。\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要在 FeatureSet 中傳回的欄位。 此清單包含關係表和輸入圖徵的欄位。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指出是否傳回導出之圖徵的幾何。\n\n**返回值**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
620
620
|
}
|
|
621
621
|
},
|
|
622
622
|
"parametersInfo": {
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
"bundle": "data-access",
|
|
680
680
|
"sinceVersion": "1.12",
|
|
681
681
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#gdbversion",
|
|
682
|
-
"description": "傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。
|
|
682
|
+
"description": "傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。",
|
|
683
683
|
"examples": "\n##### 範例\n\n傳回指定 FeatureSet 的地理資料庫版本\n\n```arcade\nGdbVersion($layer)\n```\n\n",
|
|
684
684
|
"completion": {
|
|
685
685
|
"label": "GdbVersion",
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
"kind": 3,
|
|
691
691
|
"documentation": {
|
|
692
692
|
"kind": "markdown",
|
|
693
|
-
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。
|
|
693
|
+
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 要從中傳回目前地理資料庫版本的 FeatureSe。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
694
694
|
}
|
|
695
695
|
},
|
|
696
696
|
"parametersInfo": {
|
|
@@ -906,7 +906,7 @@
|
|
|
906
906
|
"bundle": "data-access",
|
|
907
907
|
"sinceVersion": "1.7",
|
|
908
908
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#lengthgeodetic",
|
|
909
|
-
"description": "以指定的單位傳回輸入 FeatureSet 的大地長度。 這是比
|
|
909
|
+
"description": "以指定的單位傳回輸入 FeatureSet 的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
|
|
910
910
|
"examples": "\n##### 範例\n\n以公尺傳回圖層的大地長度\n\n```arcade\nLengthGeodetic($layer, 'meters')\n```\n\n",
|
|
911
911
|
"completion": {
|
|
912
912
|
"label": "LengthGeodetic",
|
|
@@ -917,7 +917,7 @@
|
|
|
917
917
|
"kind": 3,
|
|
918
918
|
"documentation": {
|
|
919
919
|
"kind": "markdown",
|
|
920
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的大地長度。 這是比
|
|
920
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算大地長度的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
921
921
|
}
|
|
922
922
|
},
|
|
923
923
|
"parametersInfo": {
|
|
@@ -930,7 +930,7 @@
|
|
|
930
930
|
"name": "max",
|
|
931
931
|
"bundle": "data-access",
|
|
932
932
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#max",
|
|
933
|
-
"description": "傳回
|
|
933
|
+
"description": "傳回 FeatureSet 中給定數值欄位的最高值。",
|
|
934
934
|
"examples": "\n##### 範例\n\n針對圖層中的所有圖徵列印人口欄位的最大值\n\n```arcade\nMax($layer, 'population')\n```\n\n計算圖層中所有圖徵之每平方英哩的人口上限\n\n```arcade\nMax($layer, 'population / area')\n```\n\n",
|
|
935
935
|
"completion": {
|
|
936
936
|
"label": "Max",
|
|
@@ -941,7 +941,7 @@
|
|
|
941
941
|
"kind": 3,
|
|
942
942
|
"documentation": {
|
|
943
943
|
"kind": "markdown",
|
|
944
|
-
"value": "傳回
|
|
944
|
+
"value": "傳回 FeatureSet 中給定數值欄位的最高值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
945
945
|
}
|
|
946
946
|
},
|
|
947
947
|
"parametersInfo": {
|
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
"bundle": "data-access",
|
|
956
956
|
"sinceVersion": "1.1",
|
|
957
957
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#mean",
|
|
958
|
-
"description": "傳回
|
|
958
|
+
"description": "傳回 FeatureSet 中給定數值欄位的平均值。",
|
|
959
959
|
"examples": "\n##### 範例\n\n計算圖徵的人口,與圖層中所有圖徵的平均人口之間的差\n\n```arcade\n$feature.population - Mean($layer, 'population')\n```\n\n計算圖層中所有圖徵之每平方英哩的平均人口\n\n```arcade\nMean($layer, 'population / area')\n```\n\n",
|
|
960
960
|
"completion": {
|
|
961
961
|
"label": "Mean",
|
|
@@ -966,7 +966,7 @@
|
|
|
966
966
|
"kind": 3,
|
|
967
967
|
"documentation": {
|
|
968
968
|
"kind": "markdown",
|
|
969
|
-
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回
|
|
969
|
+
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回 FeatureSet 中給定數值欄位的平均值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算平均值的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
970
970
|
}
|
|
971
971
|
},
|
|
972
972
|
"parametersInfo": {
|
|
@@ -979,7 +979,7 @@
|
|
|
979
979
|
"name": "min",
|
|
980
980
|
"bundle": "data-access",
|
|
981
981
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#min",
|
|
982
|
-
"description": "傳回
|
|
982
|
+
"description": "傳回 FeatureSet 中給定數值欄位的最低值。",
|
|
983
983
|
"examples": "\n##### 範例\n\n針對圖層中的所有圖徵列印人口欄位的最小值\n\n```arcade\nMin($layer, 'population')\n```\n\n傳回圖層中所有圖徵的每平方英哩的人口下限\n\n```arcade\nMin($layer, 'population / area')\n```\n\n",
|
|
984
984
|
"completion": {
|
|
985
985
|
"label": "Min",
|
|
@@ -990,7 +990,7 @@
|
|
|
990
990
|
"kind": 3,
|
|
991
991
|
"documentation": {
|
|
992
992
|
"kind": "markdown",
|
|
993
|
-
"value": "傳回
|
|
993
|
+
"value": "傳回 FeatureSet 中給定數值欄位的最低值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
994
994
|
}
|
|
995
995
|
},
|
|
996
996
|
"parametersInfo": {
|
|
@@ -1078,7 +1078,7 @@
|
|
|
1078
1078
|
"name": "stdev",
|
|
1079
1079
|
"bundle": "data-access",
|
|
1080
1080
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#stdev",
|
|
1081
|
-
"description": "從
|
|
1081
|
+
"description": "從 FeatureSet 中給定數值欄位中傳回值的標準差。",
|
|
1082
1082
|
"examples": "\n##### 範例\n\n從 'population' 欄位列印值的標準差\n\n```arcade\nStdev($layer, 'population')\n```\n\n計算圖層中所有圖徵之每平方英哩的人口標準差\n\n```arcade\nStdev($layer, 'population / area')\n```\n\n",
|
|
1083
1083
|
"completion": {
|
|
1084
1084
|
"label": "Stdev",
|
|
@@ -1089,7 +1089,7 @@
|
|
|
1089
1089
|
"kind": 3,
|
|
1090
1090
|
"documentation": {
|
|
1091
1091
|
"kind": "markdown",
|
|
1092
|
-
"value": "從
|
|
1092
|
+
"value": "從 FeatureSet 中給定數值欄位中傳回值的標準差。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1093
1093
|
}
|
|
1094
1094
|
},
|
|
1095
1095
|
"parametersInfo": {
|
|
@@ -1127,7 +1127,7 @@
|
|
|
1127
1127
|
"name": "sum",
|
|
1128
1128
|
"bundle": "data-access",
|
|
1129
1129
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#sum",
|
|
1130
|
-
"description": "傳回
|
|
1130
|
+
"description": "傳回 FeatureSet 中給定數值欄位所傳回的值總和。",
|
|
1131
1131
|
"examples": "\n##### 範例\n\n計算目前圖徵的人口,導出該人口佔圖層中所有圖徵的總人口之 %\n\n```arcade\n( $feature.population / Sum($layer, 'population') ) * 100\n```\n\n針對整個資料集計算選舉中投票的總票數\n\n```arcade\nSum($layer, 'democrat + republican + other')\n```\n\n",
|
|
1132
1132
|
"completion": {
|
|
1133
1133
|
"label": "Sum",
|
|
@@ -1138,7 +1138,7 @@
|
|
|
1138
1138
|
"kind": 3,
|
|
1139
1139
|
"documentation": {
|
|
1140
1140
|
"kind": "markdown",
|
|
1141
|
-
"value": "傳回
|
|
1141
|
+
"value": "傳回 FeatureSet 中給定數值欄位所傳回的值總和。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1142
1142
|
}
|
|
1143
1143
|
},
|
|
1144
1144
|
"parametersInfo": {
|
|
@@ -1201,7 +1201,7 @@
|
|
|
1201
1201
|
"name": "variance",
|
|
1202
1202
|
"bundle": "data-access",
|
|
1203
1203
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#variance",
|
|
1204
|
-
"description": "從
|
|
1204
|
+
"description": "從 FeatureSet 中給定數值欄位中傳回值的方差。",
|
|
1205
1205
|
"examples": "\n##### 範例\n\n列印指定圖層中人口欄位的變異\n\n```arcade\nVariance($layer, 'population')\n```\n\n計算圖層中所有圖徵之每平方英哩的人口變異\n\n```arcade\nVariance($layer, 'population / area')\n```\n\n",
|
|
1206
1206
|
"completion": {
|
|
1207
1207
|
"label": "Variance",
|
|
@@ -1212,7 +1212,7 @@
|
|
|
1212
1212
|
"kind": 3,
|
|
1213
1213
|
"documentation": {
|
|
1214
1214
|
"kind": "markdown",
|
|
1215
|
-
"value": "從
|
|
1215
|
+
"value": "從 FeatureSet 中給定數值欄位中傳回值的方差。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用來執行運算的 FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定將從輸入 FeatureSet 計算統計資料的數值欄位或 SQL92 表達式的名稱。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1216
1216
|
}
|
|
1217
1217
|
},
|
|
1218
1218
|
"parametersInfo": {
|
|
@@ -1323,7 +1323,7 @@
|
|
|
1323
1323
|
"kind": 3,
|
|
1324
1324
|
"documentation": {
|
|
1325
1325
|
"kind": "markdown",
|
|
1326
|
-
"value": "**[自版本 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n提供有關執行 Arcade 表達式的內容和環境的資訊。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回包含以下屬性的字典。 傳回的屬性可能因執行 Arcade 表達式的位置而異,因此建議使用
|
|
1326
|
+
"value": "**[自版本 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n提供有關執行 Arcade 表達式的內容和環境的資訊。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回包含以下屬性的字典。 傳回的屬性可能因執行 Arcade 表達式的位置而異,因此建議使用 `HasValue` 函數以確保存在所需的環境屬性。\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade 版本。 有關版本化的詳細資訊,請參閱 Arcade 版本矩陣。\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的引擎。 可能的值: `web`、`native`、`jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的引擎版本。 有關版本化的詳細資訊,請參閱 Arcade 版本矩陣。\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的應用程式。 由應用程式開發者設定此值。 因此,此屬性可能為空,具體取決於執行表達式的應用程式。\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用戶端或系統的區域設定。\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Arcade 上下文的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 空間參考的已知 ID。\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 開始_ 表達式的執行內容的預設時區。 如果未另外指定時區,則在建構和顯示日期值時使用此值。"
|
|
1327
1327
|
}
|
|
1328
1328
|
},
|
|
1329
1329
|
"parametersInfo": {
|
|
@@ -1462,7 +1462,7 @@
|
|
|
1462
1462
|
"kind": 3,
|
|
1463
1463
|
"documentation": {
|
|
1464
1464
|
"kind": "markdown",
|
|
1465
|
-
"value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指派給提供之 `feature` 的指定欄位的網域。 如果 `feature` 屬於含子類型的類別,則將傳回指派給子類型的網域。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 包含具有網域之欄位的圖徵。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 被指派網域的欄位名稱 (非欄位的別名)。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回下列屬性所說明的字典。\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域的類型 - `codedValue` 或 `range`。\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域名稱。\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域欄位的資料類型。 它可以是以下值之一: `esriFieldTypeSmallInteger`、`esriFieldTypeInteger`、`esriFieldTypeSingle`、`esriFieldTypeDouble`、`esriFieldTypeString
|
|
1465
|
+
"value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指派給提供之 `feature` 的指定欄位的網域。 如果 `feature` 屬於含子類型的類別,則將傳回指派給子類型的網域。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 包含具有網域之欄位的圖徵。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 被指派網域的欄位名稱 (非欄位的別名)。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回下列屬性所說明的字典。\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域的類型 - `codedValue` 或 `range`。\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域名稱。\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 網域欄位的資料類型。 它可以是以下值之一: `esriFieldTypeSmallInteger`、`esriFieldTypeInteger`、`esriFieldTypeBigInteger`、`esriFieldTypeSingle`、`esriFieldTypeDouble`、`esriFieldTypeString`, `esriFieldTypeDate`、`esriFieldTypeOID`、`esriFieldTypeGeometry`、`esriFieldTypeBlob`、`esriFieldTypeRaster`、 `esriFieldTypeGUID`、`esriFieldTypeGlobalID`、`esriFieldTypeXML`。\n- **codedValues**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - 僅適用於 `codedValue` 網域。 說明欄位之有效值的字典陣列。 每個字典都有一個 `code` 屬性,其中包含實際的欄位值, 和一個 `name` 屬性,其中包含值的使用者易記描述 (例如 `{ code: 1, name: \\\"pavement\\\" }`)。\n- **min**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最小值。\n- **max**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 僅適用於 `range` 網域。 網域的最大值。"
|
|
1466
1466
|
}
|
|
1467
1467
|
},
|
|
1468
1468
|
"parametersInfo": {
|
|
@@ -1675,7 +1675,7 @@
|
|
|
1675
1675
|
"bundle": "core",
|
|
1676
1676
|
"sinceVersion": "1.12",
|
|
1677
1677
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#gdbversion",
|
|
1678
|
-
"description": "傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。
|
|
1678
|
+
"description": "傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。",
|
|
1679
1679
|
"examples": "\n##### 範例\n\n傳回指定圖徵的地理資料庫版本\n\n```arcade\nGdbVersion($feature)\n```\n\n",
|
|
1680
1680
|
"completion": {
|
|
1681
1681
|
"label": "GdbVersion",
|
|
@@ -1686,7 +1686,7 @@
|
|
|
1686
1686
|
"kind": 3,
|
|
1687
1687
|
"documentation": {
|
|
1688
1688
|
"kind": "markdown",
|
|
1689
|
-
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。
|
|
1689
|
+
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要從中傳回相關聯圖層的目前地理資料庫版本的圖徵。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1690
1690
|
}
|
|
1691
1691
|
},
|
|
1692
1692
|
"parametersInfo": {
|
|
@@ -2443,7 +2443,7 @@
|
|
|
2443
2443
|
"bundle": "geometry",
|
|
2444
2444
|
"sinceVersion": "1.11",
|
|
2445
2445
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#densifygeodetic",
|
|
2446
|
-
"description": "
|
|
2446
|
+
"description": "在每個輸入幾何的頂點之間建立測地線,並使用附加頂點來緻密化輸出幾何,以建立不長於指定間隔的線段。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**",
|
|
2447
2447
|
"examples": "\n##### 範例\n\n傳回線段長度上限為 10000 的緻密化幾何\n\n```arcade\nDensifyGeodetic($feature, 10000, 'meters');\n```\n\n",
|
|
2448
2448
|
"completion": {
|
|
2449
2449
|
"label": "DensifyGeodetic",
|
|
@@ -2454,7 +2454,7 @@
|
|
|
2454
2454
|
"kind": 3,
|
|
2455
2455
|
"documentation": {
|
|
2456
2456
|
"kind": "markdown",
|
|
2457
|
-
"value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n
|
|
2457
|
+
"value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n在每個輸入幾何的頂點之間建立測地線,並使用附加頂點來緻密化輸出幾何,以建立不長於指定間隔的線段。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要緻密化的輸入幾何。\n- **maxSegmentLength**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 允許的最大線段長度。 必須是正值。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - maxSegmentLength 的測量單位。 預設為輸入幾何的單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry)"
|
|
2458
2458
|
}
|
|
2459
2459
|
},
|
|
2460
2460
|
"parametersInfo": {
|
|
@@ -2543,7 +2543,7 @@
|
|
|
2543
2543
|
"bundle": "geometry",
|
|
2544
2544
|
"sinceVersion": "1.8",
|
|
2545
2545
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancegeodetic",
|
|
2546
|
-
"description": "計算一個大圓形沿線兩點之間的最短距離。 僅適用於含地理座標系統 (GCS) 或 Web Mercator 空間參考的點。 若輸入點具有投影的座標系統 (不同於 Web Mercator),則應使用
|
|
2546
|
+
"description": "計算一個大圓形沿線兩點之間的最短距離。 僅適用於含地理座標系統 (GCS) 或 Web Mercator 空間參考的點。 若輸入點具有投影的座標系統 (不同於 Web Mercator),則應使用 `Distance()` 函數。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
|
|
2547
2547
|
"examples": "\n##### 範例\n\n以公里為單位,傳回串流圖層中某台巴士與中央車站的距離\n\n```arcade\nvar unionStation = Point({\"x\": -118.15, \"y\": 33.80, \"spatialReference\": { \"wkid\": 3857 }});\ndistanceGeodetic($feature, unionStation, 'kilometers');\n```\n\n",
|
|
2548
2548
|
"completion": {
|
|
2549
2549
|
"label": "DistanceGeodetic",
|
|
@@ -2554,7 +2554,7 @@
|
|
|
2554
2554
|
"kind": 3,
|
|
2555
2555
|
"documentation": {
|
|
2556
2556
|
"kind": "markdown",
|
|
2557
|
-
"value": "**[自版本 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n計算一個大圓形沿線兩點之間的最短距離。 僅適用於含地理座標系統 (GCS) 或 Web Mercator 空間參考的點。 若輸入點具有投影的座標系統 (不同於 Web Mercator),則應使用
|
|
2557
|
+
"value": "**[自版本 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n計算一個大圓形沿線兩點之間的最短距離。 僅適用於含地理座標系統 (GCS) 或 Web Mercator 空間參考的點。 若輸入點具有投影的座標系統 (不同於 Web Mercator),則應使用 `Distance()` 函數。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **point1**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 用來測量與 `point2` 之距離的點。 此點必須具有 GCS 或 Web Mercator 空間參考。\n- **point2**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 用來測量與 `point1` 之距離的點。 此點必須具有 GCS 或 Web Mercator 空間參考。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2558
2558
|
}
|
|
2559
2559
|
},
|
|
2560
2560
|
"parametersInfo": {
|
|
@@ -2666,7 +2666,7 @@
|
|
|
2666
2666
|
"name": "extent",
|
|
2667
2667
|
"bundle": "geometry",
|
|
2668
2668
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#extent3",
|
|
2669
|
-
"description": "從序列化的 JSON 文字建構範圍物件。 JSON
|
|
2669
|
+
"description": "從序列化的 JSON 文字建構範圍物件。 JSON 結構描述必須遵循包絡矩形物件的 ArcGIS REST API JSON 規格。",
|
|
2670
2670
|
"examples": "\n##### 範例\n\n從 JSON 建立範圍物件\n\n```arcade\nvar extentJSON = '{\"xmin\": -109.55, \"ymin\": 25.76, \"xmax\": -86.39, \"ymax\": 49.94, \"spatialReference\": { \"wkid\": 3857 }}';\nExtent(extentJSON);\n```\n\n",
|
|
2671
2671
|
"completion": {
|
|
2672
2672
|
"label": "Extent",
|
|
@@ -2677,7 +2677,7 @@
|
|
|
2677
2677
|
"kind": 3,
|
|
2678
2678
|
"documentation": {
|
|
2679
2679
|
"kind": "markdown",
|
|
2680
|
-
"value": "從序列化的 JSON 文字建構範圍物件。 JSON
|
|
2680
|
+
"value": "從序列化的 JSON 文字建構範圍物件。 JSON 結構描述必須遵循包絡矩形物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構範圍物件的 JSON 文字。\n\n**返回值**: [Extent](https://developers.arcgis.com/arcade/guide/types/#extent)"
|
|
2681
2681
|
}
|
|
2682
2682
|
},
|
|
2683
2683
|
"parametersInfo": {
|
|
@@ -2716,7 +2716,7 @@
|
|
|
2716
2716
|
"name": "geometry",
|
|
2717
2717
|
"bundle": "geometry",
|
|
2718
2718
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#geometry",
|
|
2719
|
-
"description": "從序列化的 JSON 文字或字典建構幾何物件。 JSON
|
|
2719
|
+
"description": "從序列化的 JSON 文字或字典建構幾何物件。 JSON 結構描述必須遵循幾何物件的 ArcGIS REST API JSON 規格。 此函數也必須傳回輸入圖徵的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
|
|
2720
2720
|
"examples": "\n##### 範例\n\n傳回圖徵的幾何\n\n```arcade\nGeometry($feature)\n```\n\n建構點幾何 可使用任何幾何類型完成此工作。\n\n```arcade\nvar pointJSON = {\"x\": -118.15, \"y\": 33.80, \"spatialReference\": { \"wkid\": 3857 } };\nGeometry(pointJSON);\n```\n\n",
|
|
2721
2721
|
"completion": {
|
|
2722
2722
|
"label": "Geometry",
|
|
@@ -2727,7 +2727,7 @@
|
|
|
2727
2727
|
"kind": 3,
|
|
2728
2728
|
"documentation": {
|
|
2729
2729
|
"kind": "markdown",
|
|
2730
|
-
"value": "從序列化的 JSON 文字或字典建構幾何物件。 JSON
|
|
2730
|
+
"value": "從序列化的 JSON 文字或字典建構幾何物件。 JSON 結構描述必須遵循幾何物件的 ArcGIS REST API JSON 規格。 此函數也必須傳回輸入圖徵的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構幾何物件的圖徵或 JSON。\n\n**返回值**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry)"
|
|
2731
2731
|
}
|
|
2732
2732
|
},
|
|
2733
2733
|
"parametersInfo": {
|
|
@@ -2891,7 +2891,7 @@
|
|
|
2891
2891
|
"bundle": "geometry",
|
|
2892
2892
|
"sinceVersion": "1.7",
|
|
2893
2893
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#lengthgeodetic",
|
|
2894
|
-
"description": "以指定的單位傳回輸入幾何或圖徵的大地長度。 這是比
|
|
2894
|
+
"description": "以指定的單位傳回輸入幾何或圖徵的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
|
|
2895
2895
|
"examples": "\n##### 範例\n\n以公里傳回圖徵的大地長度\n\n```arcade\nLengthGeodetic($feature, 'kilometers')\n```\n\n",
|
|
2896
2896
|
"completion": {
|
|
2897
2897
|
"label": "LengthGeodetic",
|
|
@@ -2902,7 +2902,7 @@
|
|
|
2902
2902
|
"kind": 3,
|
|
2903
2903
|
"documentation": {
|
|
2904
2904
|
"kind": "markdown",
|
|
2905
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的大地長度。 這是比
|
|
2905
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算大地長度的幾何。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 對於視覺化、標註和快顯視窗設定檔,預設單位是地圖的空間參考。 在其他設定檔中,如欄位計算,預設是基於資料的空間參考。 \n可能值: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2906
2906
|
}
|
|
2907
2907
|
},
|
|
2908
2908
|
"parametersInfo": {
|
|
@@ -2989,7 +2989,7 @@
|
|
|
2989
2989
|
"name": "multipoint",
|
|
2990
2990
|
"bundle": "geometry",
|
|
2991
2991
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#multipoint3",
|
|
2992
|
-
"description": "從序列化的 JSON 文字建構多點物件。 JSON
|
|
2992
|
+
"description": "從序列化的 JSON 文字建構多點物件。 JSON 結構描述必須遵循多點物件的 ArcGIS REST API JSON 規格。",
|
|
2993
2993
|
"examples": "\n##### 範例\n\n\n\n```arcade\n// Creates a Multipoint object\nvar multipointJSON = '{\"points\": [[-97.06138,32.837],[-97.06133,32.836],[-97.06124,32.834],[-97.06127,32.832]],\"spatialReference\" : { \"wkid\": 3857 }}';\nMultipoint(multipointJSON);\n```\n\n",
|
|
2994
2994
|
"completion": {
|
|
2995
2995
|
"label": "Multipoint",
|
|
@@ -3000,7 +3000,7 @@
|
|
|
3000
3000
|
"kind": 3,
|
|
3001
3001
|
"documentation": {
|
|
3002
3002
|
"kind": "markdown",
|
|
3003
|
-
"value": "從序列化的 JSON 文字建構多點物件。 JSON
|
|
3003
|
+
"value": "從序列化的 JSON 文字建構多點物件。 JSON 結構描述必須遵循多點物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構多點幾何物件的 JSON。\n\n**返回值**: [Multipoint](https://developers.arcgis.com/arcade/guide/types/#multipoint)"
|
|
3004
3004
|
}
|
|
3005
3005
|
},
|
|
3006
3006
|
"parametersInfo": {
|
|
@@ -3016,7 +3016,7 @@
|
|
|
3016
3016
|
"sinceVersion": "1.23",
|
|
3017
3017
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#nearestcoordinate",
|
|
3018
3018
|
"description": "將輸入幾何的最近座標 (不是頂點) 傳回到搜尋點。 傳回的字典還包括搜尋點到最近座標的最短平面距離。 如果搜尋點與輸入幾何相交,則搜尋點作為結果傳回,距離為零。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
|
|
3019
|
-
"examples": "\n##### 範例\n\n
|
|
3019
|
+
"examples": "\n##### 範例\n\n傳回距輸入多邊形最近的座標,以及到該座標的距離\n\n```arcade\nvar buildings = FeatureSetByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n 0,\n ['*'],\n true\n);\n\nvar nearestBuilding = First(Intersects(buildings, BufferGeodetic($feature, 100, \"feet\")));\n\nvar result = NearestCoordinate(nearestBuilding, $feature);\n\nreturn result.distance;\n\n// or\n\nreturn result.coordinate;\n```\n\n",
|
|
3020
3020
|
"completion": {
|
|
3021
3021
|
"label": "NearestCoordinate",
|
|
3022
3022
|
"detail": "NearestCoordinate(inputGeometry, searchPoint) -> Dictionary",
|
|
@@ -3139,7 +3139,7 @@
|
|
|
3139
3139
|
"name": "point",
|
|
3140
3140
|
"bundle": "geometry",
|
|
3141
3141
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#point2",
|
|
3142
|
-
"description": "從序列化的 JSON 文字建構點物件。 JSON
|
|
3142
|
+
"description": "從序列化的 JSON 文字建構點物件。 JSON 結構描述必須遵循點物件的 ArcGIS REST API JSON 規格。",
|
|
3143
3143
|
"examples": "\n##### 範例\n\n\n\n```arcade\n// Creates a Point object\nvar pointJSON = '{ \"x\": -118.15, \"y\": 33.80, \"spatialReference\": { \"wkid\": 3857 }}';\nPoint(pointJSON)\n```\n\n",
|
|
3144
3144
|
"completion": {
|
|
3145
3145
|
"label": "Point",
|
|
@@ -3150,7 +3150,7 @@
|
|
|
3150
3150
|
"kind": 3,
|
|
3151
3151
|
"documentation": {
|
|
3152
3152
|
"kind": "markdown",
|
|
3153
|
-
"value": "從序列化的 JSON 文字建構點物件。 JSON
|
|
3153
|
+
"value": "從序列化的 JSON 文字建構點物件。 JSON 結構描述必須遵循點物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構點幾何物件的 JSON。\n\n**返回值**: [Point](https://developers.arcgis.com/arcade/guide/types/#point)"
|
|
3154
3154
|
}
|
|
3155
3155
|
},
|
|
3156
3156
|
"parametersInfo": {
|
|
@@ -3213,7 +3213,7 @@
|
|
|
3213
3213
|
"name": "polygon",
|
|
3214
3214
|
"bundle": "geometry",
|
|
3215
3215
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#polygon3",
|
|
3216
|
-
"description": "從序列化的 JSON 文字建構多邊形物件。 JSON
|
|
3216
|
+
"description": "從序列化的 JSON 文字建構多邊形物件。 JSON 結構描述必須遵循多邊形物件的 ArcGIS REST API JSON 規格。",
|
|
3217
3217
|
"examples": "\n##### 範例\n\n\n\n```arcade\n// Creates a Polygon object\nvar polygonJSON = '{\"rings\": [[[-97.06138,32.837],[-97.06133,32.836],[-97.06124,32.834],[-97.06127,32.832], [-97.06138,32.837]],[[-97.06326,32.759],[-97.06298,32.755],[-97.06153,32.749], [-97.06326,32.759]]],\"spatialReference\": { \"wkid\": 3857 }}';\nPolygon(polygonJSON);\n```\n\n",
|
|
3218
3218
|
"completion": {
|
|
3219
3219
|
"label": "Polygon",
|
|
@@ -3224,7 +3224,7 @@
|
|
|
3224
3224
|
"kind": 3,
|
|
3225
3225
|
"documentation": {
|
|
3226
3226
|
"kind": "markdown",
|
|
3227
|
-
"value": "從序列化的 JSON 文字建構多邊形物件。 JSON
|
|
3227
|
+
"value": "從序列化的 JSON 文字建構多邊形物件。 JSON 結構描述必須遵循多邊形物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構多邊形幾何物件的 JSON。\n\n**返回值**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon)"
|
|
3228
3228
|
}
|
|
3229
3229
|
},
|
|
3230
3230
|
"parametersInfo": {
|
|
@@ -3287,7 +3287,7 @@
|
|
|
3287
3287
|
"name": "polyline",
|
|
3288
3288
|
"bundle": "geometry",
|
|
3289
3289
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#polyline3",
|
|
3290
|
-
"description": "從序列化的 JSON 文字建構折線物件。 JSON
|
|
3290
|
+
"description": "從序列化的 JSON 文字建構折線物件。 JSON 結構描述必須遵循折線物件的 ArcGIS REST API JSON 規格。",
|
|
3291
3291
|
"examples": "\n##### 範例\n\n\n\n```arcade\n// Creates a Polyline object\nvar polylineJSON = '{\"paths\": [[[-97.06138,32.837],[-97.06133,32.836],[-97.06124,32.834],[-97.06127,32.832]], [[-97.06326,32.759],[-97.06298,32.755]]], \"spatialReference\": { \"wkid\": 3857 } }'\nPolyline(polylineJSON);\n```\n\n",
|
|
3292
3292
|
"completion": {
|
|
3293
3293
|
"label": "Polyline",
|
|
@@ -3298,7 +3298,7 @@
|
|
|
3298
3298
|
"kind": 3,
|
|
3299
3299
|
"documentation": {
|
|
3300
3300
|
"kind": "markdown",
|
|
3301
|
-
"value": "從序列化的 JSON 文字建構折線物件。 JSON
|
|
3301
|
+
"value": "從序列化的 JSON 文字建構折線物件。 JSON 結構描述必須遵循折線物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構折線幾何物件的 JSON 文字。\n\n**返回值**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline)"
|
|
3302
3302
|
}
|
|
3303
3303
|
},
|
|
3304
3304
|
"parametersInfo": {
|
|
@@ -3873,7 +3873,7 @@
|
|
|
3873
3873
|
"kind": 3,
|
|
3874
3874
|
"documentation": {
|
|
3875
3875
|
"kind": "markdown",
|
|
3876
|
-
"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 -
|
|
3876
|
+
"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](https://developers.arcgis.com/arcade/guide/types/#dateonly) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 要進行雜湊的變數。 從版本 1.24 開始支援 DateOnly 和時間值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3877
3877
|
}
|
|
3878
3878
|
},
|
|
3879
3879
|
"parametersInfo": {
|
|
@@ -4134,7 +4134,7 @@
|
|
|
4134
4134
|
"name": "round",
|
|
4135
4135
|
"bundle": "core",
|
|
4136
4136
|
"link": "https://developers.arcgis.com/arcade/function-reference/math_functions/#round",
|
|
4137
|
-
"description": "傳回輸入值,捨去至指定的小數位數。 \n_附註: 如果您正在試著設定值格式,以便在標籤或快顯視窗中顯示,請使用
|
|
4137
|
+
"description": "傳回輸入值,捨去至指定的小數位數。 \n_附註: 如果您正在試著設定值格式,以便在標籤或快顯視窗中顯示,請使用 `Text()` 函數。_",
|
|
4138
4138
|
"examples": "\n##### 範例\n\nprints 2316.26\n\n```arcade\nRound(2316.2562, 2)\n```\n\n",
|
|
4139
4139
|
"completion": {
|
|
4140
4140
|
"label": "Round",
|
|
@@ -4145,7 +4145,7 @@
|
|
|
4145
4145
|
"kind": 3,
|
|
4146
4146
|
"documentation": {
|
|
4147
4147
|
"kind": "markdown",
|
|
4148
|
-
"value": "傳回輸入值,捨去至指定的小數位數。 \n_附註: 如果您正在試著設定值格式,以便在標籤或快顯視窗中顯示,請使用
|
|
4148
|
+
"value": "傳回輸入值,捨去至指定的小數位數。 \n_附註: 如果您正在試著設定值格式,以便在標籤或快顯視窗中顯示,請使用 `Text()` 函數。_\n\n**參數**\n\n- **value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要捨去的數字。\n- **numPlaces** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要將數字捨去到的小數位數。 預設為 `0`。 將截斷尾端的零。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
4149
4149
|
}
|
|
4150
4150
|
},
|
|
4151
4151
|
"parametersInfo": {
|
|
@@ -4397,7 +4397,7 @@
|
|
|
4397
4397
|
"kind": 3,
|
|
4398
4398
|
"documentation": {
|
|
4399
4399
|
"kind": "markdown",
|
|
4400
|
-
"value": "將值串連在一起並傳回一個文字值。\n\n**參數**\n\n- **values** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要串連的文字值的陣列。\n- **separator** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 若 `values` 參數是陣列,則為使用於串連的分隔符號。 或若為第一個參數提供單一值,則為要串連的文字。 若未提供,則為空白。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) -
|
|
4400
|
+
"value": "將值串連在一起並傳回一個文字值。\n\n**參數**\n\n- **values** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要串連的文字值的陣列。\n- **separator** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 若 `values` 參數是陣列,則為使用於串連的分隔符號。 或若為第一個參數提供單一值,則為要串連的文字。 若未提供,則為空白。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日期或數字的特殊格式字元。 此參數適用於 Arcade 1.3 和更高版本。 \n可能值: \n - `0`: 數字 \n - `#`: 數字,省略前導/尾隨零 \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n - `h`: 平民小時,未填充 (0 - 12) \n - `hh`: 平民小時,填充 (00 - 12) \n - `H`: 軍事小時,未填充 (0 - 24) \n - `HH`: 軍事小時,填充 (00 - 24) \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59) \n - `SSS`: 毫秒,已填補 (000 - 999) \n - `A`: AM/PM \n - `Z`: 狹窄時數內的時區偏移 +/- UTC (例如 `-7` 或 `+11`) \n - `ZZ`: 時數內的時區偏移 +/- UTC (例如 `-07:00` 或 `+11:00`) \n - `ZZZ`: 精簡時數內的時區偏移 +/- UTC (例如 `-0700` 或 `+1100`) \n - `ZZZZ`: 縮寫的指定時區 (例如 `EST`) \n - `ZZZZZ`: 指定的時區 (例如 `Eastern Standard Time`) \n\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
4401
4401
|
}
|
|
4402
4402
|
},
|
|
4403
4403
|
"parametersInfo": {
|
|
@@ -4726,8 +4726,8 @@
|
|
|
4726
4726
|
"name": "text",
|
|
4727
4727
|
"bundle": "core",
|
|
4728
4728
|
"link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
|
|
4729
|
-
"description": "
|
|
4730
|
-
"examples": "\n##### 範例\n\n將數字填補到的小數點左側\n\n```arcade\nText(123, '0000') // '0123'\n```\n\n限制小數點左側的數字\n\n```arcade\nText(123, '00') // '23'\n```\n\n按千位數分組數字\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\n將數字捨去為二位小數\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\n將數字格式設為貨幣\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\n將數字捨去為二位小數\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\n保留有效數字,並按千位數分組\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\n格式化數字和格式化正數/負數 - 若有負子模式,則只能指定負字首和字尾\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\n乘以 100 並設為百分比格式\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\n設定現在的日期和時間格式,例如 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n
|
|
4729
|
+
"description": "將任何值轉換為文字值。 提供可選的 `format` 參數以允許格式化日期和數字資料輸入。 如果無法確定等效的文字轉換,則傳回 `null`。",
|
|
4730
|
+
"examples": "\n##### 範例\n\n將數字填補到的小數點左側\n\n```arcade\nText(123, '0000') // '0123'\n```\n\n限制小數點左側的數字\n\n```arcade\nText(123, '00') // '23'\n```\n\n按千位數分組數字\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\n將數字捨去為二位小數\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\n將數字格式設為貨幣\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\n將數字捨去為二位小數\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\n保留有效數字,並按千位數分組\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\n格式化數字和格式化正數/負數 - 若有負子模式,則只能指定負字首和字尾\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\n乘以 100 並設為百分比格式\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\n設定現在的日期和時間格式,例如 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n使用時區格式化日期和時間\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",
|
|
4731
4731
|
"completion": {
|
|
4732
4732
|
"label": "Text",
|
|
4733
4733
|
"detail": "Text(value, format?) -> Text",
|
|
@@ -4737,7 +4737,7 @@
|
|
|
4737
4737
|
"kind": 3,
|
|
4738
4738
|
"documentation": {
|
|
4739
4739
|
"kind": "markdown",
|
|
4740
|
-
"value": "
|
|
4740
|
+
"value": "將任何值轉換為文字值。 提供可選的 `format` 參數以允許格式化日期和數字資料輸入。 如果無法確定等效的文字轉換,則傳回 `null`。\n\n**參數**\n\n- **value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 要轉換為文字的值 (即日期、數字或其他資料類型)。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用於格式化日期或數字的特殊字元。 \n可能值: \n - `0`: 數字 \n - `#`: 數字,省略前導/尾隨零 \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n - `h`: 平民小時,未填充 (0 - 12) \n - `hh`: 平民小時,填充 (00 - 12) \n - `H`: 軍事小時,未填充 (0 - 24) \n - `HH`: 軍事小時,填充 (00 - 24) \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59) \n - `SSS`: 毫秒,已填補 (000 - 999) \n - `A`: AM/PM \n - `Z`: 狹窄時數內的時區偏移 +/- UTC (例如 `-7` 或 `+11`) \n - `ZZ`: 時數內的時區偏移 +/- UTC (例如 `-07:00` 或 `+11:00`) \n - `ZZZ`: 精簡時數內的時區偏移 +/- UTC (例如 `-0700` 或 `+1100`) \n - `ZZZZ`: 縮寫的指定時區 (例如 `EST`) \n - `ZZZZZ`: 指定的時區 (例如 `Eastern Standard Time`) \n\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
4741
4741
|
}
|
|
4742
4742
|
},
|
|
4743
4743
|
"parametersInfo": {
|
|
@@ -4905,8 +4905,8 @@
|
|
|
4905
4905
|
"bundle": "core",
|
|
4906
4906
|
"sinceVersion": "1.24",
|
|
4907
4907
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
|
|
4908
|
-
"description": "
|
|
4909
|
-
"examples": "\n##### 範例\n\
|
|
4908
|
+
"description": "變更用於顯示給定日期值的時區。 如果輸入 `dateValue` 具有 `unknown` 時區,則輸出日期值將顯示與輸入 `dateValue` 相同的日期和時間,但會指派 `newTimeZone`。",
|
|
4909
|
+
"examples": "\n##### 範例\n\n將指定日期的時區從 `America/New_York` 變為 `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\n將時區為 `unknown` 的日期指派給時間偏移 `+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",
|
|
4910
4910
|
"completion": {
|
|
4911
4911
|
"label": "ChangeTimeZone",
|
|
4912
4912
|
"detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
|
|
@@ -4916,7 +4916,7 @@
|
|
|
4916
4916
|
"kind": 3,
|
|
4917
4917
|
"documentation": {
|
|
4918
4918
|
"kind": "markdown",
|
|
4919
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
4919
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n變更用於顯示給定日期值的時區。 如果輸入 `dateValue` 具有 `unknown` 時區,則輸出日期值將顯示與輸入 `dateValue` 相同的日期和時間,但會指派 `newTimeZone`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 包含日期和時間資訊的日期值。\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 將用於顯示指定日期值的新時區。 時區必須是以下之一:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
4920
4920
|
}
|
|
4921
4921
|
},
|
|
4922
4922
|
"parametersInfo": {
|
|
@@ -4930,8 +4930,8 @@
|
|
|
4930
4930
|
"name": "date",
|
|
4931
4931
|
"bundle": "core",
|
|
4932
4932
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
|
|
4933
|
-
"description": "
|
|
4934
|
-
"examples": "\n##### 範例\n\
|
|
4933
|
+
"description": "從一組參數建立一個日期物件。 預設情況下,日期是在設定檔的執行內容的時區中建立的。",
|
|
4934
|
+
"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建立具有在特定時區中定義之時間的日期\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",
|
|
4935
4935
|
"completion": {
|
|
4936
4936
|
"label": "Date",
|
|
4937
4937
|
"detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
|
|
@@ -4941,7 +4941,7 @@
|
|
|
4941
4941
|
"kind": 3,
|
|
4942
4942
|
"documentation": {
|
|
4943
4943
|
"kind": "markdown",
|
|
4944
|
-
"value": "
|
|
4944
|
+
"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) - 月 (0-11),其中 `0` 是一月,`11` 是十二月。\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 月中日期 (1-31)。\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 日中小時 (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- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 開始_ 日期的時區。 若未指定,則將在設定檔的執行內容的預設時區中建立日期。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
4945
4945
|
}
|
|
4946
4946
|
},
|
|
4947
4947
|
"parametersInfo": {
|
|
@@ -4954,8 +4954,8 @@
|
|
|
4954
4954
|
"name": "date",
|
|
4955
4955
|
"bundle": "core",
|
|
4956
4956
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
|
|
4957
|
-
"description": "
|
|
4958
|
-
"examples": "\n##### 範例\n\
|
|
4957
|
+
"description": "建立具有指定 Unix 紀元號的日期。 預設情況下,將在設定檔的執行內容的時區中顯示日期。 若未提供紀元,則在設定檔的預設時區中的目前日期和時間上建立日期。",
|
|
4958
|
+
"examples": "\n##### 範例\n\n自 1970 年 1 月 1 日以來的毫秒數\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n建立日期,表示執行 Arcade 的設定檔之執行內容的時區中的目前時間\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
|
|
4959
4959
|
"completion": {
|
|
4960
4960
|
"label": "Date",
|
|
4961
4961
|
"detail": "Date(epoch?) -> Date",
|
|
@@ -4965,7 +4965,7 @@
|
|
|
4965
4965
|
"kind": 3,
|
|
4966
4966
|
"documentation": {
|
|
4967
4967
|
"kind": "markdown",
|
|
4968
|
-
"value": "
|
|
4968
|
+
"value": "建立具有指定 Unix 紀元號的日期。 預設情況下,將在設定檔的執行內容的時區中顯示日期。 若未提供紀元,則在設定檔的預設時區中的目前日期和時間上建立日期。\n\n**參數**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 自 1970 年 1 月 1 日 UTC 後經過的毫秒數。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
4969
4969
|
}
|
|
4970
4970
|
},
|
|
4971
4971
|
"parametersInfo": {
|
|
@@ -4978,8 +4978,8 @@
|
|
|
4978
4978
|
"name": "date",
|
|
4979
4979
|
"bundle": "core",
|
|
4980
4980
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
|
|
4981
|
-
"description": "
|
|
4982
|
-
"examples": "\n##### 範例\n\
|
|
4981
|
+
"description": "從 ISO 8601 文字值建立日期值。 如果提供了 UTC 偏移,仍將在設定檔的時區中顯示日期。 若未提供文字值,則在設定檔的時區中的目前日期和時間上建立日期。",
|
|
4982
|
+
"examples": "\n##### 範例\n\n從具有已知時間偏移的 ISO 8601 文字值建立日期\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\n從具有未知時間偏移的 ISO 8601 文字值建立日期\n\n```arcade\nDate('2016-10-20T17:41:37') // 'Thu Oct 20 2016 5:41:37 PM PDT'\n```\n\n",
|
|
4983
4983
|
"completion": {
|
|
4984
4984
|
"label": "Date",
|
|
4985
4985
|
"detail": "Date(timestamp?) -> Date",
|
|
@@ -4989,7 +4989,7 @@
|
|
|
4989
4989
|
"kind": 3,
|
|
4990
4990
|
"documentation": {
|
|
4991
4991
|
"kind": "markdown",
|
|
4992
|
-
"value": "
|
|
4992
|
+
"value": "從 ISO 8601 文字值建立日期值。 如果提供了 UTC 偏移,仍將在設定檔的時區中顯示日期。 若未提供文字值,則在設定檔的時區中的目前日期和時間上建立日期。\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)"
|
|
4993
4993
|
}
|
|
4994
4994
|
},
|
|
4995
4995
|
"parametersInfo": {
|
|
@@ -5003,8 +5003,8 @@
|
|
|
5003
5003
|
"bundle": "core",
|
|
5004
5004
|
"sinceVersion": "1.24",
|
|
5005
5005
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
|
|
5006
|
-
"description": "
|
|
5007
|
-
"examples": "\n##### 範例\n\
|
|
5006
|
+
"description": "從 DateOnly 值建立日期,並包含可選的時間和時區值。",
|
|
5007
|
+
"examples": "\n##### 範例\n\n從 DateOnly 和時間類型建立日期\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",
|
|
5008
5008
|
"completion": {
|
|
5009
5009
|
"label": "Date",
|
|
5010
5010
|
"detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
|
|
@@ -5014,7 +5014,7 @@
|
|
|
5014
5014
|
"kind": 3,
|
|
5015
5015
|
"documentation": {
|
|
5016
5016
|
"kind": "markdown",
|
|
5017
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5017
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從 DateOnly 值建立日期,並包含可選的時間和時區值。\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 用於建立日期值的 DateOnly 值。\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 日期的時間值。 若未指定,將使用時間 `00:00:00` 建立日期。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日期的時區。 若未指定,將在 `unknown` 時區中建立日期。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5018
5018
|
}
|
|
5019
5019
|
},
|
|
5020
5020
|
"parametersInfo": {
|
|
@@ -5028,8 +5028,8 @@
|
|
|
5028
5028
|
"bundle": "core",
|
|
5029
5029
|
"sinceVersion": "1.24",
|
|
5030
5030
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
|
|
5031
|
-
"description": "
|
|
5032
|
-
"examples": "\n##### 範例\n\
|
|
5031
|
+
"description": "建立指定日期的副本。",
|
|
5032
|
+
"examples": "\n##### 範例\n\n建立目前日期值的副本\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
|
|
5033
5033
|
"completion": {
|
|
5034
5034
|
"label": "Date",
|
|
5035
5035
|
"detail": "Date(dateValue) -> Date",
|
|
@@ -5039,7 +5039,7 @@
|
|
|
5039
5039
|
"kind": 3,
|
|
5040
5040
|
"documentation": {
|
|
5041
5041
|
"kind": "markdown",
|
|
5042
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5042
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立指定日期的副本。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 要複製的日期。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5043
5043
|
}
|
|
5044
5044
|
},
|
|
5045
5045
|
"parametersInfo": {
|
|
@@ -5054,8 +5054,8 @@
|
|
|
5054
5054
|
"name": "dateadd",
|
|
5055
5055
|
"bundle": "core",
|
|
5056
5056
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
|
|
5057
|
-
"description": "
|
|
5058
|
-
"examples": "\n##### 範例\n\
|
|
5057
|
+
"description": "將指定單位的指定時間量新增至日期,並傳回新日期。 如果日期具有 IANA 時區,則將套用日光節約和其他時區驅動的邏輯。",
|
|
5058
|
+
"examples": "\n##### 範例\n\n將 7 天新增至指定的日期\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",
|
|
5059
5059
|
"completion": {
|
|
5060
5060
|
"label": "DateAdd",
|
|
5061
5061
|
"detail": "DateAdd(dateValue, addValue, units?) -> Date",
|
|
@@ -5065,7 +5065,7 @@
|
|
|
5065
5065
|
"kind": 3,
|
|
5066
5066
|
"documentation": {
|
|
5067
5067
|
"kind": "markdown",
|
|
5068
|
-
"value": "
|
|
5068
|
+
"value": "將指定單位的指定時間量新增至日期,並傳回新日期。 如果日期具有 IANA 時區,則將套用日光節約和其他時區驅動的邏輯。\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)"
|
|
5069
5069
|
}
|
|
5070
5070
|
},
|
|
5071
5071
|
"parametersInfo": {
|
|
@@ -5079,8 +5079,8 @@
|
|
|
5079
5079
|
"bundle": "core",
|
|
5080
5080
|
"sinceVersion": "1.24",
|
|
5081
5081
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
|
|
5082
|
-
"description": "
|
|
5083
|
-
"examples": "\n##### 範例\n\
|
|
5082
|
+
"description": "將指定單位的指定時間量新增至 DateOnly 值,並傳回新 DateOnly 值。",
|
|
5083
|
+
"examples": "\n##### 範例\n\n在提供的欄位中將 7 天新增至日期\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\n在提供的欄位中將 12 小時新增至日期\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",
|
|
5084
5084
|
"completion": {
|
|
5085
5085
|
"label": "DateAdd",
|
|
5086
5086
|
"detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
|
|
@@ -5090,7 +5090,7 @@
|
|
|
5090
5090
|
"kind": 3,
|
|
5091
5091
|
"documentation": {
|
|
5092
5092
|
"kind": "markdown",
|
|
5093
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5093
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n將指定單位的指定時間量新增至 DateOnly 值,並傳回新 DateOnly 值。\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 加入時間的輸入 DateOnly 值。\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要以指定單位新增至日期的值。 對於 DateOnly 輸入,此值將根據 24 小時間隔向下捨入到最近的一天。 如果要新增的值小於 24 小時,則不會在 DateOnly 輸入中新增任何值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要新增至日期的數字單位。 預設為 `milliseconds`。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years`\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
|
|
5094
5094
|
}
|
|
5095
5095
|
},
|
|
5096
5096
|
"parametersInfo": {
|
|
@@ -5104,8 +5104,8 @@
|
|
|
5104
5104
|
"bundle": "core",
|
|
5105
5105
|
"sinceVersion": "1.24",
|
|
5106
5106
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
|
|
5107
|
-
"description": "
|
|
5108
|
-
"examples": "\n##### 範例\n\
|
|
5107
|
+
"description": "將指定單位的指定時間量新增至時間值,並傳回新時間值。",
|
|
5108
|
+
"examples": "\n##### 範例\n\n將 7 小時新增至指定的時間\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\n將 90 秒新增至指定的時間\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\n將 25 小時新增至指定的時間\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",
|
|
5109
5109
|
"completion": {
|
|
5110
5110
|
"label": "DateAdd",
|
|
5111
5111
|
"detail": "DateAdd(timeValue, addValue, units?) -> Time",
|
|
@@ -5115,7 +5115,7 @@
|
|
|
5115
5115
|
"kind": 3,
|
|
5116
5116
|
"documentation": {
|
|
5117
5117
|
"kind": "markdown",
|
|
5118
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5118
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n將指定單位的指定時間量新增至時間值,並傳回新時間值。\n\n**參數**\n\n- **timeValue**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 加入時間的輸入時間值。\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`\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
|
|
5119
5119
|
}
|
|
5120
5120
|
},
|
|
5121
5121
|
"parametersInfo": {
|
|
@@ -5130,8 +5130,8 @@
|
|
|
5130
5130
|
"name": "datediff",
|
|
5131
5131
|
"bundle": "core",
|
|
5132
5132
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
5133
|
-
"description": "
|
|
5134
|
-
"examples": "\n##### 範例\n\
|
|
5133
|
+
"description": "減去兩個日期,並傳回指定單位中的差異。",
|
|
5134
|
+
"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減去兩個日期並傳回差異。 由於時區是洛杉磯\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",
|
|
5135
5135
|
"completion": {
|
|
5136
5136
|
"label": "DateDiff",
|
|
5137
5137
|
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
@@ -5141,7 +5141,7 @@
|
|
|
5141
5141
|
"kind": 3,
|
|
5142
5142
|
"documentation": {
|
|
5143
5143
|
"kind": "markdown",
|
|
5144
|
-
"value": "
|
|
5144
|
+
"value": "減去兩個日期,並傳回指定單位中的差異。\n\n**參數**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 要從中減去第二個日期的日期值。\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從第一個指定日期減去的日期值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用來傳回兩個給定日期差的單位。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years`。 預設值是 `milliseconds`。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 版開始_ 指派給時區未知的輸入日期的時區。 如果未指定,則會發生以下情況: (1) 如果一個輸入具有已定義的時區,而另一個輸入未知,則具有未知時區的值將採用與另一個輸入相符的時區。 (2) 如果兩個輸入都是未知時區,則將在兩個日期上計算 DateDiff,就好像它們是在同一時區中定義的一樣。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5145
5145
|
}
|
|
5146
5146
|
},
|
|
5147
5147
|
"parametersInfo": {
|
|
@@ -5155,8 +5155,8 @@
|
|
|
5155
5155
|
"bundle": "core",
|
|
5156
5156
|
"sinceVersion": "1.24",
|
|
5157
5157
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
|
|
5158
|
-
"description": "
|
|
5159
|
-
"examples": "\n##### 範例\n\
|
|
5158
|
+
"description": "減去兩個 DateOnly 值,並傳回指定單位中的差異。",
|
|
5159
|
+
"examples": "\n##### 範例\n\n減去兩個 DateOnly 值並傳回年差異。\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",
|
|
5160
5160
|
"completion": {
|
|
5161
5161
|
"label": "DateDiff",
|
|
5162
5162
|
"detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
|
|
@@ -5166,7 +5166,7 @@
|
|
|
5166
5166
|
"kind": 3,
|
|
5167
5167
|
"documentation": {
|
|
5168
5168
|
"kind": "markdown",
|
|
5169
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5169
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n減去兩個 DateOnly 值,並傳回指定單位中的差異。\n\n**參數**\n\n- **dateOnly1**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要從中減去第二個 DateOnly 值的 DateOnly 值。\n- **dateOnly2**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要從第一個指定 DateOnly 值減去的 DateOnly 值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用來傳回兩個指定 DateOnly 值差的單位。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years`。 預設值是 `milliseconds`。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5170
5170
|
}
|
|
5171
5171
|
},
|
|
5172
5172
|
"parametersInfo": {
|
|
@@ -5180,8 +5180,8 @@
|
|
|
5180
5180
|
"bundle": "core",
|
|
5181
5181
|
"sinceVersion": "1.24",
|
|
5182
5182
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
|
|
5183
|
-
"description": "
|
|
5184
|
-
"examples": "\n##### 範例\n\
|
|
5183
|
+
"description": "減去兩個時間值,並傳回指定單位中的差異。",
|
|
5184
|
+
"examples": "\n##### 範例\n\n減去兩個時間值並傳回小時差異。\n\n```arcade\nDateDiff(Time(23,0), Time(9,0), 'hours')\n// returns 14\n```\n\n",
|
|
5185
5185
|
"completion": {
|
|
5186
5186
|
"label": "DateDiff",
|
|
5187
5187
|
"detail": "DateDiff(time1, time2, units?) -> Number",
|
|
@@ -5191,7 +5191,7 @@
|
|
|
5191
5191
|
"kind": 3,
|
|
5192
5192
|
"documentation": {
|
|
5193
5193
|
"kind": "markdown",
|
|
5194
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5194
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n減去兩個時間值,並傳回指定單位中的差異。\n\n**參數**\n\n- **time1**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 要從中減去第二個時間值的時間值。\n- **time2**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 從第一個指定時間值減去的時間值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用來傳回兩個給定時間值差的單位。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`。 預設值是 `milliseconds`。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5195
5195
|
}
|
|
5196
5196
|
},
|
|
5197
5197
|
"parametersInfo": {
|
|
@@ -5207,8 +5207,8 @@
|
|
|
5207
5207
|
"bundle": "core",
|
|
5208
5208
|
"sinceVersion": "1.24",
|
|
5209
5209
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
|
|
5210
|
-
"description": "
|
|
5211
|
-
"examples": "\n##### 範例\n\
|
|
5210
|
+
"description": "根據設定檔的執行內容的時區中的目前日期來建立 DateOnly 值。",
|
|
5211
|
+
"examples": "\n##### 範例\n\n傳回目前 DateOnly (無時間)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
|
|
5212
5212
|
"completion": {
|
|
5213
5213
|
"label": "DateOnly",
|
|
5214
5214
|
"detail": "DateOnly() -> DateOnly",
|
|
@@ -5218,7 +5218,7 @@
|
|
|
5218
5218
|
"kind": 3,
|
|
5219
5219
|
"documentation": {
|
|
5220
5220
|
"kind": "markdown",
|
|
5221
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5221
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據設定檔的執行內容的時區中的目前日期來建立 DateOnly 值。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
|
|
5222
5222
|
}
|
|
5223
5223
|
},
|
|
5224
5224
|
"parametersInfo": {
|
|
@@ -5232,23 +5232,23 @@
|
|
|
5232
5232
|
"bundle": "core",
|
|
5233
5233
|
"sinceVersion": "1.24",
|
|
5234
5234
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
|
|
5235
|
-
"description": "
|
|
5236
|
-
"examples": "\n##### 範例\n\
|
|
5235
|
+
"description": "從表示年、月和日的輸入中建立 DateOnly 值。",
|
|
5236
|
+
"examples": "\n##### 範例\n\n從表示年、月和日的輸入中建立 DateOnly 值\n\n```arcade\nDateOnly(1996, 11, 10)\n// returns 1996-12-10\n```\n\n",
|
|
5237
5237
|
"completion": {
|
|
5238
5238
|
"label": "DateOnly",
|
|
5239
|
-
"detail": "DateOnly(
|
|
5240
|
-
"insertText": "DateOnly(${1:
|
|
5239
|
+
"detail": "DateOnly(year, month, day) -> DateOnly",
|
|
5240
|
+
"insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
|
|
5241
5241
|
"insertTextMode": 2,
|
|
5242
5242
|
"insertTextFormat": 2,
|
|
5243
5243
|
"kind": 3,
|
|
5244
5244
|
"documentation": {
|
|
5245
5245
|
"kind": "markdown",
|
|
5246
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5246
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示年、月和日的輸入中建立 DateOnly 值。\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) - 月 (0-11),其中 `0` 是一月,`11` 是十二月。 若此值超出正常範圍 (0-11),則函數將傳回 `null`。\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 月中日期 (1-31)。 若此值超出正常範圍 (1-31),則函數將傳回 `null`。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
|
|
5247
5247
|
}
|
|
5248
5248
|
},
|
|
5249
5249
|
"parametersInfo": {
|
|
5250
|
-
"min":
|
|
5251
|
-
"max":
|
|
5250
|
+
"min": 3,
|
|
5251
|
+
"max": 3
|
|
5252
5252
|
}
|
|
5253
5253
|
},
|
|
5254
5254
|
{
|
|
@@ -5257,8 +5257,8 @@
|
|
|
5257
5257
|
"bundle": "core",
|
|
5258
5258
|
"sinceVersion": "1.24",
|
|
5259
5259
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
|
|
5260
|
-
"description": "
|
|
5261
|
-
"examples": "\n##### 範例\n\
|
|
5260
|
+
"description": "建立具有指定 Unix 紀元號的 DateOnly 日期。",
|
|
5261
|
+
"examples": "\n##### 範例\n\n傳回 DateOnly 自 1970 年 1 月 1 日以來的毫秒數\n\n```arcade\nDateOnly(1476987783555);\n// returns 2016-10-20\n```\n\n",
|
|
5262
5262
|
"completion": {
|
|
5263
5263
|
"label": "DateOnly",
|
|
5264
5264
|
"detail": "DateOnly(epoch) -> DateOnly",
|
|
@@ -5268,7 +5268,7 @@
|
|
|
5268
5268
|
"kind": 3,
|
|
5269
5269
|
"documentation": {
|
|
5270
5270
|
"kind": "markdown",
|
|
5271
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5271
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立具有指定 Unix 紀元號的 DateOnly 日期。\n\n**參數**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 自 1970 年 1 月 1 日 UTC 後經過的毫秒數。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
|
|
5272
5272
|
}
|
|
5273
5273
|
},
|
|
5274
5274
|
"parametersInfo": {
|
|
@@ -5282,23 +5282,23 @@
|
|
|
5282
5282
|
"bundle": "core",
|
|
5283
5283
|
"sinceVersion": "1.24",
|
|
5284
5284
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
|
|
5285
|
-
"description": "
|
|
5286
|
-
"examples": "\n##### 範例\n\
|
|
5285
|
+
"description": "從表示 ISO 格式日期或其他格式化文字模式的文字輸入中,建立 DateOnly 值。",
|
|
5286
|
+
"examples": "\n##### 範例\n\n從表示日期的文字值中建立 DateOnly 值\n\n```arcade\nDateOnly(\"2023-05-11T13:43:18.990+01:00\");\n// returns 2023-05-11\n```\n\n從給定格式表示日期的文字值中建立 DateOnly 值\n\n```arcade\nDateOnly(\"10 Jan 2022\",\"D MMM Y\")\n// returns 2022-01-10\n```\n\n",
|
|
5287
5287
|
"completion": {
|
|
5288
5288
|
"label": "DateOnly",
|
|
5289
|
-
"detail": "DateOnly(
|
|
5290
|
-
"insertText": "DateOnly(${1:
|
|
5289
|
+
"detail": "DateOnly(textValue, format?) -> DateOnly",
|
|
5290
|
+
"insertText": "DateOnly(${1:textValue_})$0",
|
|
5291
5291
|
"insertTextMode": 2,
|
|
5292
5292
|
"insertTextFormat": 2,
|
|
5293
5293
|
"kind": 3,
|
|
5294
5294
|
"documentation": {
|
|
5295
5295
|
"kind": "markdown",
|
|
5296
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5296
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示 ISO 格式日期或其他格式化文字模式的文字輸入中,建立 DateOnly 值。\n\n**參數**\n\n- **textValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 表示日期的文字值。 這應該是 ISO 格式的日期或表示日期的其他格式文字。 如果此值未遵循 ISO 格式,則必須定義 `format` 參數來指示日期的格式。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指示 `dateValue` 輸入格式的文字值。 \n可能值: \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
|
|
5297
5297
|
}
|
|
5298
5298
|
},
|
|
5299
5299
|
"parametersInfo": {
|
|
5300
|
-
"min":
|
|
5301
|
-
"max":
|
|
5300
|
+
"min": 1,
|
|
5301
|
+
"max": 2
|
|
5302
5302
|
}
|
|
5303
5303
|
},
|
|
5304
5304
|
{
|
|
@@ -5307,23 +5307,23 @@
|
|
|
5307
5307
|
"bundle": "core",
|
|
5308
5308
|
"sinceVersion": "1.24",
|
|
5309
5309
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
|
|
5310
|
-
"description": "
|
|
5311
|
-
"examples": "\n##### 範例\n\
|
|
5310
|
+
"description": "從指定的日期中建立 DateOnly 值。",
|
|
5311
|
+
"examples": "\n##### 範例\n\n從指定的日期中傳回 DateOnly\n\n```arcade\nDateOnly(Date(2008,10,11,10,30));\n// returns 2008-11-11\n```\n\n",
|
|
5312
5312
|
"completion": {
|
|
5313
5313
|
"label": "DateOnly",
|
|
5314
|
-
"detail": "DateOnly(dateValue
|
|
5314
|
+
"detail": "DateOnly(dateValue) -> DateOnly",
|
|
5315
5315
|
"insertText": "DateOnly(${1:dateValue_})$0",
|
|
5316
5316
|
"insertTextMode": 2,
|
|
5317
5317
|
"insertTextFormat": 2,
|
|
5318
5318
|
"kind": 3,
|
|
5319
5319
|
"documentation": {
|
|
5320
5320
|
"kind": "markdown",
|
|
5321
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5321
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從指定的日期中建立 DateOnly 值。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從中建立 DateOnly 值的日期。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
|
|
5322
5322
|
}
|
|
5323
5323
|
},
|
|
5324
5324
|
"parametersInfo": {
|
|
5325
5325
|
"min": 1,
|
|
5326
|
-
"max":
|
|
5326
|
+
"max": 1
|
|
5327
5327
|
}
|
|
5328
5328
|
},
|
|
5329
5329
|
{
|
|
@@ -5332,8 +5332,8 @@
|
|
|
5332
5332
|
"bundle": "core",
|
|
5333
5333
|
"sinceVersion": "1.24",
|
|
5334
5334
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
|
|
5335
|
-
"description": "
|
|
5336
|
-
"examples": "\n##### 範例\n\
|
|
5335
|
+
"description": "建立 DateOnly 值的副本。",
|
|
5336
|
+
"examples": "\n##### 範例\n\n建立 DateOnly 值的副本。\n\n```arcade\nvar originalDateOnly = DateOnly(1996,11,10)\nvar copiedDateOnly = DateOnly(originalDateOnly)\nreturn copiedDateOnly;\n```\n\n",
|
|
5337
5337
|
"completion": {
|
|
5338
5338
|
"label": "DateOnly",
|
|
5339
5339
|
"detail": "DateOnly(dateOnlyValue) -> DateOnly",
|
|
@@ -5343,7 +5343,7 @@
|
|
|
5343
5343
|
"kind": 3,
|
|
5344
5344
|
"documentation": {
|
|
5345
5345
|
"kind": "markdown",
|
|
5346
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5346
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立 DateOnly 值的副本。\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要複製的 DateOnly 值。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
|
|
5347
5347
|
}
|
|
5348
5348
|
},
|
|
5349
5349
|
"parametersInfo": {
|
|
@@ -5358,7 +5358,7 @@
|
|
|
5358
5358
|
"bundle": "core",
|
|
5359
5359
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
|
|
5360
5360
|
"description": "傳回指定日期的月中日期。",
|
|
5361
|
-
"examples": "\n##### 範例\n\n傳回目前日期的月中日期\n\n```arcade\nDay(Now())\n```\n\
|
|
5361
|
+
"examples": "\n##### 範例\n\n傳回目前日期的月中日期\n\n```arcade\nDay(Now())\n```\n\n從 DateOnly 值傳回月中日期\n\n```arcade\nDay(DateOnly(1996, 11, 10))\n// returns 10\n```\n\n",
|
|
5362
5362
|
"completion": {
|
|
5363
5363
|
"label": "Day",
|
|
5364
5364
|
"detail": "Day(dateValue) -> Number",
|
|
@@ -5368,7 +5368,7 @@
|
|
|
5368
5368
|
"kind": 3,
|
|
5369
5369
|
"documentation": {
|
|
5370
5370
|
"kind": "markdown",
|
|
5371
|
-
"value": "傳回指定日期的月中日期。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly -
|
|
5371
|
+
"value": "傳回指定日期的月中日期。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月中日期的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5372
5372
|
}
|
|
5373
5373
|
},
|
|
5374
5374
|
"parametersInfo": {
|
|
@@ -5382,43 +5382,18 @@
|
|
|
5382
5382
|
"name": "hour",
|
|
5383
5383
|
"bundle": "core",
|
|
5384
5384
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
|
|
5385
|
-
"description": "
|
|
5386
|
-
"examples": "\n##### 範例\n\
|
|
5387
|
-
"completion": {
|
|
5388
|
-
"label": "Hour",
|
|
5389
|
-
"detail": "Hour(dateValue) -> Number",
|
|
5390
|
-
"insertText": "Hour(${1:dateValue_})$0",
|
|
5391
|
-
"insertTextMode": 2,
|
|
5392
|
-
"insertTextFormat": 2,
|
|
5393
|
-
"kind": 3,
|
|
5394
|
-
"documentation": {
|
|
5395
|
-
"kind": "markdown",
|
|
5396
|
-
"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)"
|
|
5397
|
-
}
|
|
5398
|
-
},
|
|
5399
|
-
"parametersInfo": {
|
|
5400
|
-
"min": 1,
|
|
5401
|
-
"max": 1
|
|
5402
|
-
}
|
|
5403
|
-
},
|
|
5404
|
-
{
|
|
5405
|
-
"type": "function",
|
|
5406
|
-
"name": "hour",
|
|
5407
|
-
"bundle": "core",
|
|
5408
|
-
"sinceVersion": "1.24",
|
|
5409
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
|
|
5410
|
-
"description": "Returns the hour of the given time (0-23).",
|
|
5411
|
-
"examples": "\n##### 範例\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
|
|
5385
|
+
"description": "傳回指定日期或時間值中的時間小時 (0-23)。",
|
|
5386
|
+
"examples": "\n##### 範例\n\n傳回目前時間的小時\n\n```arcade\nHour(Now())\n```\n\n傳回時間的小時\n\n```arcade\nHour(Date(2023, 1, 1, 12, 59, 23))\n// returns 12\n```\n\n傳回時間的小時\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
|
|
5412
5387
|
"completion": {
|
|
5413
5388
|
"label": "Hour",
|
|
5414
|
-
"detail": "Hour(
|
|
5415
|
-
"insertText": "Hour(${1:
|
|
5389
|
+
"detail": "Hour(dateTimeValue) -> Number",
|
|
5390
|
+
"insertText": "Hour(${1:dateTimeValue_})$0",
|
|
5416
5391
|
"insertTextMode": 2,
|
|
5417
5392
|
"insertTextFormat": 2,
|
|
5418
5393
|
"kind": 3,
|
|
5419
5394
|
"documentation": {
|
|
5420
5395
|
"kind": "markdown",
|
|
5421
|
-
"value": "**[
|
|
5396
|
+
"value": "傳回指定日期或時間值中的時間小時 (0-23)。\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 從中取得時間之小時的日期或時間值。 從版本 1.24 開始支援時間值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5422
5397
|
}
|
|
5423
5398
|
},
|
|
5424
5399
|
"parametersInfo": {
|
|
@@ -5434,7 +5409,7 @@
|
|
|
5434
5409
|
"sinceVersion": "1.12",
|
|
5435
5410
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
|
|
5436
5411
|
"description": "根據 ISO 8601 標準傳回指定日期的月份。 值範圍為 1-12,1 月為 `1`,12 月為 `12`。",
|
|
5437
|
-
"examples": "\n##### 範例\n\n根據 ISO 8601 標準取得指定日期的月份。 傳回 12,代表 12 月。\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\
|
|
5412
|
+
"examples": "\n##### 範例\n\n根據 ISO 8601 標準取得指定日期的月份。 傳回 12,代表 12 月。\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n根據 ISO 8601 標準取得指定 DateOnly 值的月份。\n\n```arcade\nISOMonth(DateOnly(1996, 0, 10))\n// returns 1, for January\n```\n\n",
|
|
5438
5413
|
"completion": {
|
|
5439
5414
|
"label": "ISOMonth",
|
|
5440
5415
|
"detail": "ISOMonth(dateValue) -> Number",
|
|
@@ -5444,7 +5419,7 @@
|
|
|
5444
5419
|
"kind": 3,
|
|
5445
5420
|
"documentation": {
|
|
5446
5421
|
"kind": "markdown",
|
|
5447
|
-
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 標準傳回指定日期的月份。 值範圍為 1-12,1 月為 `1`,12 月為 `12`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly -
|
|
5422
|
+
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 標準傳回指定日期的月份。 值範圍為 1-12,1 月為 `1`,12 月為 `12`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月份的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5448
5423
|
}
|
|
5449
5424
|
},
|
|
5450
5425
|
"parametersInfo": {
|
|
@@ -5459,7 +5434,7 @@
|
|
|
5459
5434
|
"sinceVersion": "1.12",
|
|
5460
5435
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
|
|
5461
5436
|
"description": "根據 ISO 8601 週日期行事曆,傳回指定日期在一年當中的週次。 值範圍為 1-53,其中一年的第一週為 `1`,一年的最後一週為 `52` 或 `53` (根據年份而定)。",
|
|
5462
|
-
"examples": "\n##### 範例\n\n根據 ISO 8601 標準取得指定日期的週次。 傳回 `1`,因為此日期包含在明年的第一週。\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\
|
|
5437
|
+
"examples": "\n##### 範例\n\n根據 ISO 8601 標準取得指定日期的週次。 傳回 `1`,因為此日期包含在明年的第一週。\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n根據 ISO 8601 標準取得指定 DateOnly 值的週次。\n\n```arcade\nISOWeek(DateOnly(1996, 11, 10))\n// returns 50\n```\n\n",
|
|
5463
5438
|
"completion": {
|
|
5464
5439
|
"label": "ISOWeek",
|
|
5465
5440
|
"detail": "ISOWeek(dateValue) -> Number",
|
|
@@ -5469,7 +5444,7 @@
|
|
|
5469
5444
|
"kind": 3,
|
|
5470
5445
|
"documentation": {
|
|
5471
5446
|
"kind": "markdown",
|
|
5472
|
-
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 週日期行事曆,傳回指定日期在一年當中的週次。 值範圍為 1-53,其中一年的第一週為 `1`,一年的最後一週為 `52` 或 `53` (根據年份而定)。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly -
|
|
5447
|
+
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 週日期行事曆,傳回指定日期在一年當中的週次。 值範圍為 1-53,其中一年的第一週為 `1`,一年的最後一週為 `52` 或 `53` (根據年份而定)。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要取得週次的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5473
5448
|
}
|
|
5474
5449
|
},
|
|
5475
5450
|
"parametersInfo": {
|
|
@@ -5484,7 +5459,7 @@
|
|
|
5484
5459
|
"sinceVersion": "1.12",
|
|
5485
5460
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
|
|
5486
5461
|
"description": "根據 ISO 8601 標準傳回指定日期的星期幾。 值範圍為 1-7,其中星期一為 `1,星期日為 `7`。",
|
|
5487
|
-
"examples": "\n##### 範例\n\n根據 ISO 8601 標準傳回指定日期的星期幾。 傳回 `3` 代表星期三。\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\
|
|
5462
|
+
"examples": "\n##### 範例\n\n根據 ISO 8601 標準傳回指定日期的星期幾。 傳回 `3` 代表星期三。\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n根據 ISO 8601 標準傳回指定 DateOnly 值的星期幾。\n\n```arcade\nISOWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
|
|
5488
5463
|
"completion": {
|
|
5489
5464
|
"label": "ISOWeekday",
|
|
5490
5465
|
"detail": "ISOWeekday(dateValue) -> Number",
|
|
@@ -5494,7 +5469,7 @@
|
|
|
5494
5469
|
"kind": 3,
|
|
5495
5470
|
"documentation": {
|
|
5496
5471
|
"kind": "markdown",
|
|
5497
|
-
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 標準傳回指定日期的星期幾。 值範圍為 1-7,其中星期一為 `1,星期日為 `7`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly -
|
|
5472
|
+
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 標準傳回指定日期的星期幾。 值範圍為 1-7,其中星期一為 `1,星期日為 `7`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中傳回星期幾的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5498
5473
|
}
|
|
5499
5474
|
},
|
|
5500
5475
|
"parametersInfo": {
|
|
@@ -5509,7 +5484,7 @@
|
|
|
5509
5484
|
"sinceVersion": "1.12",
|
|
5510
5485
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
|
|
5511
5486
|
"description": "根據 ISO 8601 週日期行事曆,傳回指定日期的年份。",
|
|
5512
|
-
"examples": "\n##### 範例\n\n根據 ISO 8601 週日期行事曆,取得指定日期的年份。 傳回 `1981`,因為此日期包含在明年的第一週。\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\
|
|
5487
|
+
"examples": "\n##### 範例\n\n根據 ISO 8601 週日期行事曆,取得指定日期的年份。 傳回 `1981`,因為此日期包含在明年的第一週。\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n根據 ISO 8601 週日期行事曆,取得指定 DateOnly 值的年份。\n\n```arcade\nISOYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
|
|
5513
5488
|
"completion": {
|
|
5514
5489
|
"label": "ISOYear",
|
|
5515
5490
|
"detail": "ISOYear(dateValue) -> Number",
|
|
@@ -5519,7 +5494,7 @@
|
|
|
5519
5494
|
"kind": 3,
|
|
5520
5495
|
"documentation": {
|
|
5521
5496
|
"kind": "markdown",
|
|
5522
|
-
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 週日期行事曆,傳回指定日期的年份。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly -
|
|
5497
|
+
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據 ISO 8601 週日期行事曆,傳回指定日期的年份。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得年的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5523
5498
|
}
|
|
5524
5499
|
},
|
|
5525
5500
|
"parametersInfo": {
|
|
@@ -5533,43 +5508,18 @@
|
|
|
5533
5508
|
"name": "millisecond",
|
|
5534
5509
|
"bundle": "core",
|
|
5535
5510
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
|
|
5536
|
-
"description": "
|
|
5537
|
-
"examples": "\n##### 範例\n\
|
|
5538
|
-
"completion": {
|
|
5539
|
-
"label": "Millisecond",
|
|
5540
|
-
"detail": "Millisecond(dateValue) -> Number",
|
|
5541
|
-
"insertText": "Millisecond(${1:dateValue_})$0",
|
|
5542
|
-
"insertTextMode": 2,
|
|
5543
|
-
"insertTextFormat": 2,
|
|
5544
|
-
"kind": 3,
|
|
5545
|
-
"documentation": {
|
|
5546
|
-
"kind": "markdown",
|
|
5547
|
-
"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)"
|
|
5548
|
-
}
|
|
5549
|
-
},
|
|
5550
|
-
"parametersInfo": {
|
|
5551
|
-
"min": 1,
|
|
5552
|
-
"max": 1
|
|
5553
|
-
}
|
|
5554
|
-
},
|
|
5555
|
-
{
|
|
5556
|
-
"type": "function",
|
|
5557
|
-
"name": "millisecond",
|
|
5558
|
-
"bundle": "core",
|
|
5559
|
-
"sinceVersion": "1.24",
|
|
5560
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
|
|
5561
|
-
"description": "Returns the millisecond of the given time.",
|
|
5562
|
-
"examples": "\n##### 範例\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
|
|
5511
|
+
"description": "傳回指定時間或日期值中時間的毫秒。",
|
|
5512
|
+
"examples": "\n##### 範例\n\n傳回目前時間的毫秒\n\n```arcade\nMillisecond(Now())\n```\n\n傳回時間的毫秒\n\n```arcade\nMillisecond(Date(2023, 1, 1, 12, 59, 23, 999))\n// returns 999\n```\n\n傳回時間的毫秒\n\n```arcade\nMillisecond(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
|
|
5563
5513
|
"completion": {
|
|
5564
5514
|
"label": "Millisecond",
|
|
5565
|
-
"detail": "Millisecond(
|
|
5566
|
-
"insertText": "Millisecond(${1:
|
|
5515
|
+
"detail": "Millisecond(dateTimeValue) -> Number",
|
|
5516
|
+
"insertText": "Millisecond(${1:dateTimeValue_})$0",
|
|
5567
5517
|
"insertTextMode": 2,
|
|
5568
5518
|
"insertTextFormat": 2,
|
|
5569
5519
|
"kind": 3,
|
|
5570
5520
|
"documentation": {
|
|
5571
5521
|
"kind": "markdown",
|
|
5572
|
-
"value": "**[
|
|
5522
|
+
"value": "傳回指定時間或日期值中時間的毫秒。\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 從中取得時間之毫秒的日期或時間值。 從版本 1.24 開始支援時間值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5573
5523
|
}
|
|
5574
5524
|
},
|
|
5575
5525
|
"parametersInfo": {
|
|
@@ -5584,43 +5534,18 @@
|
|
|
5584
5534
|
"name": "minute",
|
|
5585
5535
|
"bundle": "core",
|
|
5586
5536
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
|
|
5587
|
-
"description": "
|
|
5588
|
-
"examples": "\n##### 範例\n\
|
|
5589
|
-
"completion": {
|
|
5590
|
-
"label": "Minute",
|
|
5591
|
-
"detail": "Minute(dateValue) -> Number",
|
|
5592
|
-
"insertText": "Minute(${1:dateValue_})$0",
|
|
5593
|
-
"insertTextMode": 2,
|
|
5594
|
-
"insertTextFormat": 2,
|
|
5595
|
-
"kind": 3,
|
|
5596
|
-
"documentation": {
|
|
5597
|
-
"kind": "markdown",
|
|
5598
|
-
"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)"
|
|
5599
|
-
}
|
|
5600
|
-
},
|
|
5601
|
-
"parametersInfo": {
|
|
5602
|
-
"min": 1,
|
|
5603
|
-
"max": 1
|
|
5604
|
-
}
|
|
5605
|
-
},
|
|
5606
|
-
{
|
|
5607
|
-
"type": "function",
|
|
5608
|
-
"name": "minute",
|
|
5609
|
-
"bundle": "core",
|
|
5610
|
-
"sinceVersion": "1.24",
|
|
5611
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
|
|
5612
|
-
"description": "Returns the minute of the given time.",
|
|
5613
|
-
"examples": "\n##### 範例\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
|
|
5537
|
+
"description": "傳回指定時間或日期值中時間的分鐘。",
|
|
5538
|
+
"examples": "\n##### 範例\n\n傳回目前時間的分鐘\n\n```arcade\nMinute(Now())\n```\n\n傳回時間的分鐘\n\n```arcade\nMinute(Date(2013, 1, 1, 2, 15, 23))\n// returns 15\n```\n\n傳回時間的分鐘\n\n```arcade\nMinute(Time(2, 59, 23))\n// returns 59\n```\n\n",
|
|
5614
5539
|
"completion": {
|
|
5615
5540
|
"label": "Minute",
|
|
5616
|
-
"detail": "Minute(
|
|
5617
|
-
"insertText": "Minute(${1:
|
|
5541
|
+
"detail": "Minute(dateTimeValue) -> Number",
|
|
5542
|
+
"insertText": "Minute(${1:dateTimeValue_})$0",
|
|
5618
5543
|
"insertTextMode": 2,
|
|
5619
5544
|
"insertTextFormat": 2,
|
|
5620
5545
|
"kind": 3,
|
|
5621
5546
|
"documentation": {
|
|
5622
5547
|
"kind": "markdown",
|
|
5623
|
-
"value": "**[
|
|
5548
|
+
"value": "傳回指定時間或日期值中時間的分鐘。\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 從中取得時間之分鐘的日期或時間值。 從版本 1.24 開始支援時間值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5624
5549
|
}
|
|
5625
5550
|
},
|
|
5626
5551
|
"parametersInfo": {
|
|
@@ -5635,7 +5560,7 @@
|
|
|
5635
5560
|
"bundle": "core",
|
|
5636
5561
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
|
|
5637
5562
|
"description": "傳回指定日期的月份。 值範圍從 0-11,其中一月是 `0`,十二月是 `11`。",
|
|
5638
|
-
"examples": "\n##### 範例\n\n取得指定日期的月份。
|
|
5563
|
+
"examples": "\n##### 範例\n\n取得指定日期的月份。 值可以在 0-11 之間,其中 `0` 代表一月,`11` 代表十二月。\n\n```arcade\nMonth(Date(1980, 11, 31))\n// returns 11\n```\n\n取得指定 DateOnly 值的月份。\n\n```arcade\nMonth(DateOnly(1996, 0, 31))\n// returns 0, for the month of January\n```\n\n",
|
|
5639
5564
|
"completion": {
|
|
5640
5565
|
"label": "Month",
|
|
5641
5566
|
"detail": "Month(dateValue) -> Number",
|
|
@@ -5645,7 +5570,7 @@
|
|
|
5645
5570
|
"kind": 3,
|
|
5646
5571
|
"documentation": {
|
|
5647
5572
|
"kind": "markdown",
|
|
5648
|
-
"value": "傳回指定日期的月份。 值範圍從 0-11,其中一月是 `0`,十二月是 `11`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly -
|
|
5573
|
+
"value": "傳回指定日期的月份。 值範圍從 0-11,其中一月是 `0`,十二月是 `11`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月份的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5649
5574
|
}
|
|
5650
5575
|
},
|
|
5651
5576
|
"parametersInfo": {
|
|
@@ -5658,8 +5583,8 @@
|
|
|
5658
5583
|
"name": "now",
|
|
5659
5584
|
"bundle": "core",
|
|
5660
5585
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#now",
|
|
5661
|
-
"description": "
|
|
5662
|
-
"examples": "\n##### 範例\n\n
|
|
5586
|
+
"description": "建立日期值,表示設定檔之執行內容的時區中的目前日期和時間。",
|
|
5587
|
+
"examples": "\n##### 範例\n\n傳回設定檔的預設時區的目前日期和時間\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nNow()\n```\n\n",
|
|
5663
5588
|
"completion": {
|
|
5664
5589
|
"label": "Now",
|
|
5665
5590
|
"detail": "Now() -> Date",
|
|
@@ -5669,7 +5594,7 @@
|
|
|
5669
5594
|
"kind": 3,
|
|
5670
5595
|
"documentation": {
|
|
5671
5596
|
"kind": "markdown",
|
|
5672
|
-
"value": "
|
|
5597
|
+
"value": "建立日期值,表示設定檔之執行內容的時區中的目前日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5673
5598
|
}
|
|
5674
5599
|
},
|
|
5675
5600
|
"parametersInfo": {
|
|
@@ -5683,75 +5608,75 @@
|
|
|
5683
5608
|
"name": "second",
|
|
5684
5609
|
"bundle": "core",
|
|
5685
5610
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
|
|
5686
|
-
"description": "
|
|
5687
|
-
"examples": "\n##### 範例\n\
|
|
5611
|
+
"description": "傳回指定日期或時間值中的時間秒。",
|
|
5612
|
+
"examples": "\n##### 範例\n\n取得目前時間的秒\n\n```arcade\nSecond(Now())\n```\n\n取得時間的秒\n\n```arcade\nSecond(Date(2023, 1, 1, 2, 59, 01))\n// returns 1\n```\n\n取得時間的秒\n\n```arcade\nSecond(Time(2, 59, 23))\n// returns 23\n```\n\n",
|
|
5688
5613
|
"completion": {
|
|
5689
5614
|
"label": "Second",
|
|
5690
|
-
"detail": "Second(
|
|
5691
|
-
"insertText": "Second(${1:
|
|
5615
|
+
"detail": "Second(dateTimeValue) -> Number",
|
|
5616
|
+
"insertText": "Second(${1:dateTimeValue_})$0",
|
|
5692
5617
|
"insertTextMode": 2,
|
|
5693
5618
|
"insertTextFormat": 2,
|
|
5694
5619
|
"kind": 3,
|
|
5695
5620
|
"documentation": {
|
|
5696
5621
|
"kind": "markdown",
|
|
5697
|
-
"value": "
|
|
5622
|
+
"value": "傳回指定日期或時間值中的時間秒。\n\n**參數**\n\n- **dateTimeValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 從中取得時間之秒的日期或時間值。 從版本 1.24 開始支援時間值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5698
5623
|
}
|
|
5699
5624
|
},
|
|
5700
5625
|
"parametersInfo": {
|
|
5701
5626
|
"min": 1,
|
|
5702
5627
|
"max": 1
|
|
5703
5628
|
}
|
|
5704
|
-
}
|
|
5629
|
+
}
|
|
5630
|
+
],
|
|
5631
|
+
[
|
|
5705
5632
|
{
|
|
5706
5633
|
"type": "function",
|
|
5707
|
-
"name": "
|
|
5634
|
+
"name": "time",
|
|
5708
5635
|
"bundle": "core",
|
|
5709
5636
|
"sinceVersion": "1.24",
|
|
5710
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
5711
|
-
"description": "
|
|
5712
|
-
"examples": "\n##### 範例\n\
|
|
5637
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
|
|
5638
|
+
"description": "建立時間值,表示設定檔之執行內容的時區中的目前時間。",
|
|
5639
|
+
"examples": "\n##### 範例\n\n傳回使用設定檔的預設時區顯示的目前時間\n\n```arcade\n// Time represents 12:41:20 PM\nTime()\n```\n\n",
|
|
5713
5640
|
"completion": {
|
|
5714
|
-
"label": "
|
|
5715
|
-
"detail": "
|
|
5716
|
-
"insertText": "
|
|
5641
|
+
"label": "Time",
|
|
5642
|
+
"detail": "Time() -> Time",
|
|
5643
|
+
"insertText": "Time($0)",
|
|
5717
5644
|
"insertTextMode": 2,
|
|
5718
5645
|
"insertTextFormat": 2,
|
|
5719
5646
|
"kind": 3,
|
|
5720
5647
|
"documentation": {
|
|
5721
5648
|
"kind": "markdown",
|
|
5722
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5649
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立時間值,表示設定檔之執行內容的時區中的目前時間。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
|
|
5723
5650
|
}
|
|
5724
5651
|
},
|
|
5725
5652
|
"parametersInfo": {
|
|
5726
|
-
"min":
|
|
5727
|
-
"max":
|
|
5653
|
+
"min": 0,
|
|
5654
|
+
"max": 0
|
|
5728
5655
|
}
|
|
5729
|
-
}
|
|
5730
|
-
],
|
|
5731
|
-
[
|
|
5656
|
+
},
|
|
5732
5657
|
{
|
|
5733
5658
|
"type": "function",
|
|
5734
5659
|
"name": "time",
|
|
5735
5660
|
"bundle": "core",
|
|
5736
5661
|
"sinceVersion": "1.24",
|
|
5737
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
5738
|
-
"description": "
|
|
5739
|
-
"examples": "\n##### 範例\n\
|
|
5662
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
|
|
5663
|
+
"description": "從表示小時、分鐘、秒和毫秒的輸入中建立時間值。",
|
|
5664
|
+
"examples": "\n##### 範例\n\n從表示小時、分鐘、秒和毫秒的輸入中建立時間值\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",
|
|
5740
5665
|
"completion": {
|
|
5741
5666
|
"label": "Time",
|
|
5742
|
-
"detail": "Time() -> Time",
|
|
5743
|
-
"insertText": "Time($0
|
|
5667
|
+
"detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
|
|
5668
|
+
"insertText": "Time(${1:hours_}, ${2:minutes_})$0",
|
|
5744
5669
|
"insertTextMode": 2,
|
|
5745
5670
|
"insertTextFormat": 2,
|
|
5746
5671
|
"kind": 3,
|
|
5747
5672
|
"documentation": {
|
|
5748
5673
|
"kind": "markdown",
|
|
5749
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5674
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示小時、分鐘、秒和毫秒的輸入中建立時間值。\n\n**參數**\n\n- **hours**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 表示時間值之小時 (0-23) 的數字。 若此值超出正常範圍 (0-23),則函數將傳回 `null`。\n- **minutes**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 表示時間值之分鐘的數字 (0-59)。 若此值超出正常範圍 (0-59),則函數將傳回 `null`。\n- **seconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 表示時間值之秒的數字 (0-59)。 若此值超出正常範圍 (0-59),則函數將傳回 `null`。\n- **milliseconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 表示時間值之毫秒的數字 (0-999)。 若此值超出正常範圍 (0-999),則函數將傳回 `null`。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
|
|
5750
5675
|
}
|
|
5751
5676
|
},
|
|
5752
5677
|
"parametersInfo": {
|
|
5753
|
-
"min":
|
|
5754
|
-
"max":
|
|
5678
|
+
"min": 2,
|
|
5679
|
+
"max": 4
|
|
5755
5680
|
}
|
|
5756
5681
|
},
|
|
5757
5682
|
{
|
|
@@ -5759,19 +5684,19 @@
|
|
|
5759
5684
|
"name": "time",
|
|
5760
5685
|
"bundle": "core",
|
|
5761
5686
|
"sinceVersion": "1.24",
|
|
5762
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
5763
|
-
"description": "
|
|
5764
|
-
"examples": "\n##### 範例\n\
|
|
5687
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
|
|
5688
|
+
"description": "從表示自午夜以來的毫秒數的給定數字中建立時間值。",
|
|
5689
|
+
"examples": "\n##### 範例\n\n傳回自午夜以來的毫秒數的時間\n\n```arcade\nTime(8119800);\n// returns a Time value of 02:15:19.800\n```\n\n傳回自午夜以來的毫秒數的時間\n\n```arcade\nTime(86400001);\n// returns null - the input value exceeds the number of milliseconds in a day\n```\n\n",
|
|
5765
5690
|
"completion": {
|
|
5766
5691
|
"label": "Time",
|
|
5767
|
-
"detail": "Time(
|
|
5768
|
-
"insertText": "Time(${1:
|
|
5692
|
+
"detail": "Time(numValue) -> Time",
|
|
5693
|
+
"insertText": "Time(${1:numValue_})$0",
|
|
5769
5694
|
"insertTextMode": 2,
|
|
5770
5695
|
"insertTextFormat": 2,
|
|
5771
5696
|
"kind": 3,
|
|
5772
5697
|
"documentation": {
|
|
5773
5698
|
"kind": "markdown",
|
|
5774
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5699
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示自午夜以來的毫秒數的給定數字中建立時間值。\n\n**參數**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 自午夜以來的毫秒數。 如果此值大於 86,400,000 (一天中的最大毫秒數) 或小於 0,則函數將傳回 `null`。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
|
|
5775
5700
|
}
|
|
5776
5701
|
},
|
|
5777
5702
|
"parametersInfo": {
|
|
@@ -5784,24 +5709,24 @@
|
|
|
5784
5709
|
"name": "time",
|
|
5785
5710
|
"bundle": "core",
|
|
5786
5711
|
"sinceVersion": "1.24",
|
|
5787
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
5788
|
-
"description": "
|
|
5789
|
-
"examples": "\n##### 範例\n\
|
|
5712
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
|
|
5713
|
+
"description": "從表示時間的文字輸入中建立時間值,並選擇性使用指示文字格式的輸入。",
|
|
5714
|
+
"examples": "\n##### 範例\n\n從表示時間的文字值中建立時間值\n\n```arcade\nTime(\"1:20 PM\");\n// returns a Time value of 13:20:00\n```\n\n從表示時間和格式的文字值中建立時間值\n\n```arcade\nTime(\"12 05 04\", \"HH MM ss\")\n// returns a Time value of 12:05:04\n```\n\n",
|
|
5790
5715
|
"completion": {
|
|
5791
5716
|
"label": "Time",
|
|
5792
|
-
"detail": "Time(
|
|
5793
|
-
"insertText": "Time(${1:
|
|
5717
|
+
"detail": "Time(textValue, format?) -> Time",
|
|
5718
|
+
"insertText": "Time(${1:textValue_})$0",
|
|
5794
5719
|
"insertTextMode": 2,
|
|
5795
5720
|
"insertTextFormat": 2,
|
|
5796
5721
|
"kind": 3,
|
|
5797
5722
|
"documentation": {
|
|
5798
5723
|
"kind": "markdown",
|
|
5799
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5724
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示時間的文字輸入中建立時間值,並選擇性使用指示文字格式的輸入。\n\n**參數**\n\n- **textValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 表示時間的文字值。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指示 `timeValue` 輸入格式的文字值。 \n可能值: \n - `h`: 平民小時,未填充 (0 - 12) \n - `hh`: 平民小時,填充 (00 - 12) \n - `H`: 軍事小時,未填充 (0 - 24) \n - `HH`: 軍事小時,填充 (00 - 24) \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59) \n - `A`: AM/PM \n\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
|
|
5800
5725
|
}
|
|
5801
5726
|
},
|
|
5802
5727
|
"parametersInfo": {
|
|
5803
5728
|
"min": 1,
|
|
5804
|
-
"max":
|
|
5729
|
+
"max": 2
|
|
5805
5730
|
}
|
|
5806
5731
|
},
|
|
5807
5732
|
{
|
|
@@ -5809,24 +5734,24 @@
|
|
|
5809
5734
|
"name": "time",
|
|
5810
5735
|
"bundle": "core",
|
|
5811
5736
|
"sinceVersion": "1.24",
|
|
5812
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
5813
|
-
"description": "
|
|
5814
|
-
"examples": "\n##### 範例\n\
|
|
5737
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
|
|
5738
|
+
"description": "從指定的日期中建立時間值。",
|
|
5739
|
+
"examples": "\n##### 範例\n\n從指定的日期中傳回時間\n\n```arcade\nTime(Date(2008,10,11,10,30));\n// returns a Time value of 10:30:00 AM\n```\n\n",
|
|
5815
5740
|
"completion": {
|
|
5816
5741
|
"label": "Time",
|
|
5817
|
-
"detail": "Time(
|
|
5818
|
-
"insertText": "Time(${1:
|
|
5742
|
+
"detail": "Time(dateValue) -> Time",
|
|
5743
|
+
"insertText": "Time(${1:dateValue_})$0",
|
|
5819
5744
|
"insertTextMode": 2,
|
|
5820
5745
|
"insertTextFormat": 2,
|
|
5821
5746
|
"kind": 3,
|
|
5822
5747
|
"documentation": {
|
|
5823
5748
|
"kind": "markdown",
|
|
5824
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5749
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從指定的日期中建立時間值。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從中取得時間的日期。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
|
|
5825
5750
|
}
|
|
5826
5751
|
},
|
|
5827
5752
|
"parametersInfo": {
|
|
5828
|
-
"min":
|
|
5829
|
-
"max":
|
|
5753
|
+
"min": 1,
|
|
5754
|
+
"max": 1
|
|
5830
5755
|
}
|
|
5831
5756
|
},
|
|
5832
5757
|
{
|
|
@@ -5834,24 +5759,24 @@
|
|
|
5834
5759
|
"name": "time",
|
|
5835
5760
|
"bundle": "core",
|
|
5836
5761
|
"sinceVersion": "1.24",
|
|
5837
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#
|
|
5838
|
-
"description": "
|
|
5839
|
-
"examples": "\n##### 範例\n\
|
|
5762
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time6",
|
|
5763
|
+
"description": "建立時間值的副本。",
|
|
5764
|
+
"examples": "\n##### 範例\n\n建立時間值的副本\n\n```arcade\nvar originalTime = Time(23,32,00)\nvar copiedTime = Time(originalTime)\nreturn copiedTime;\n```\n\n",
|
|
5840
5765
|
"completion": {
|
|
5841
5766
|
"label": "Time",
|
|
5842
|
-
"detail": "Time(timeValue
|
|
5767
|
+
"detail": "Time(timeValue) -> Time",
|
|
5843
5768
|
"insertText": "Time(${1:timeValue_})$0",
|
|
5844
5769
|
"insertTextMode": 2,
|
|
5845
5770
|
"insertTextFormat": 2,
|
|
5846
5771
|
"kind": 3,
|
|
5847
5772
|
"documentation": {
|
|
5848
5773
|
"kind": "markdown",
|
|
5849
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5774
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立時間值的副本。\n\n**參數**\n\n- **timeValue**: [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 要複製的時間值。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
|
|
5850
5775
|
}
|
|
5851
5776
|
},
|
|
5852
5777
|
"parametersInfo": {
|
|
5853
5778
|
"min": 1,
|
|
5854
|
-
"max":
|
|
5779
|
+
"max": 1
|
|
5855
5780
|
}
|
|
5856
5781
|
}
|
|
5857
5782
|
],
|
|
@@ -5886,8 +5811,8 @@
|
|
|
5886
5811
|
"bundle": "core",
|
|
5887
5812
|
"sinceVersion": "1.24",
|
|
5888
5813
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
5889
|
-
"description": "
|
|
5890
|
-
"examples": "\n##### 範例\n\
|
|
5814
|
+
"description": "傳回指定日期的時區。 時區將是以下之一:\n\n- 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n- 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n- `system` - 時區將基於用戶端或系統的本地時區\n\n- `UTC` - 座標通用時間\n\n- `Unknown` - 未定義時區資訊。",
|
|
5815
|
+
"examples": "\n##### 範例\n\n傳回日期的時區\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",
|
|
5891
5816
|
"completion": {
|
|
5892
5817
|
"label": "TimeZone",
|
|
5893
5818
|
"detail": "TimeZone(dateValue) -> Text",
|
|
@@ -5897,7 +5822,7 @@
|
|
|
5897
5822
|
"kind": 3,
|
|
5898
5823
|
"documentation": {
|
|
5899
5824
|
"kind": "markdown",
|
|
5900
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5825
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指定日期的時區。 時區將是以下之一:\n\n- 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n- 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n- `system` - 時區將基於用戶端或系統的本地時區\n\n- `UTC` - 座標通用時間\n\n- `Unknown` - 未定義時區資訊。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從中取得時區的日期值。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
5901
5826
|
}
|
|
5902
5827
|
},
|
|
5903
5828
|
"parametersInfo": {
|
|
@@ -5911,8 +5836,8 @@
|
|
|
5911
5836
|
"bundle": "core",
|
|
5912
5837
|
"sinceVersion": "1.24",
|
|
5913
5838
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
|
|
5914
|
-
"description": "
|
|
5915
|
-
"examples": "\n##### 範例\n\
|
|
5839
|
+
"description": "從給定日期的 UTC 中傳回以毫秒為單位的時區偏移。",
|
|
5840
|
+
"examples": "\n##### 範例\n\n從 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",
|
|
5916
5841
|
"completion": {
|
|
5917
5842
|
"label": "TimeZoneOffset",
|
|
5918
5843
|
"detail": "TimeZoneOffset(dateValue) -> Number",
|
|
@@ -5922,7 +5847,7 @@
|
|
|
5922
5847
|
"kind": 3,
|
|
5923
5848
|
"documentation": {
|
|
5924
5849
|
"kind": "markdown",
|
|
5925
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5850
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從給定日期的 UTC 中傳回以毫秒為單位的時區偏移。\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)"
|
|
5926
5851
|
}
|
|
5927
5852
|
},
|
|
5928
5853
|
"parametersInfo": {
|
|
@@ -5935,8 +5860,8 @@
|
|
|
5935
5860
|
"name": "today",
|
|
5936
5861
|
"bundle": "core",
|
|
5937
5862
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#today",
|
|
5938
|
-
"description": "
|
|
5939
|
-
"examples": "\n##### 範例\n\n
|
|
5863
|
+
"description": "傳回設定檔的執行內容所在時區的目前日期午夜。",
|
|
5864
|
+
"examples": "\n##### 範例\n\n傳回目前日期午夜,例如 Mon Oct 24 2016 00:00:00 GMT-0700 (PDT)\n\n```arcade\nToday()\n```\n\n",
|
|
5940
5865
|
"completion": {
|
|
5941
5866
|
"label": "Today",
|
|
5942
5867
|
"detail": "Today() -> Date",
|
|
@@ -5946,7 +5871,7 @@
|
|
|
5946
5871
|
"kind": 3,
|
|
5947
5872
|
"documentation": {
|
|
5948
5873
|
"kind": "markdown",
|
|
5949
|
-
"value": "
|
|
5874
|
+
"value": "傳回設定檔的執行內容所在時區的目前日期午夜。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5950
5875
|
}
|
|
5951
5876
|
},
|
|
5952
5877
|
"parametersInfo": {
|
|
@@ -5961,7 +5886,7 @@
|
|
|
5961
5886
|
"sinceVersion": "1.1",
|
|
5962
5887
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#tolocal",
|
|
5963
5888
|
"description": "建立與輸入日期的紀元相符的新日期值,並將時區設為用戶端的本地或系統時區。",
|
|
5964
|
-
"examples": "\n##### 範例\n\n
|
|
5889
|
+
"examples": "\n##### 範例\n\n建立與輸入日期同一紀元的當地時間日期\n\n```arcade\n// Date represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nToLocal(Timestamp())\n```\n\n",
|
|
5965
5890
|
"completion": {
|
|
5966
5891
|
"label": "ToLocal",
|
|
5967
5892
|
"detail": "ToLocal(inputDate) -> Date",
|
|
@@ -5971,7 +5896,7 @@
|
|
|
5971
5896
|
"kind": 3,
|
|
5972
5897
|
"documentation": {
|
|
5973
5898
|
"kind": "markdown",
|
|
5974
|
-
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為用戶端的本地或系統時區。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) -
|
|
5899
|
+
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為用戶端的本地或系統時區。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 以用戶端當地時間表示的日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5975
5900
|
}
|
|
5976
5901
|
},
|
|
5977
5902
|
"parametersInfo": {
|
|
@@ -5985,8 +5910,8 @@
|
|
|
5985
5910
|
"bundle": "core",
|
|
5986
5911
|
"sinceVersion": "1.1",
|
|
5987
5912
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#toutc",
|
|
5988
|
-
"description": "建立與輸入日期的紀元相符的新日期值,並將時區設為 UTC。",
|
|
5989
|
-
"examples": "\n##### 範例\n\n
|
|
5913
|
+
"description": "建立與輸入日期的紀元相符的新日期值,並將時區設為 UTC (座標通用時間)。",
|
|
5914
|
+
"examples": "\n##### 範例\n\n建立與輸入日期同一紀元的 UTC 時間日期。\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nNow()\n// Date represents Jan 27, 2023, 8:41:20 PM UTC\nToUTC(Now())\n```\n\n",
|
|
5990
5915
|
"completion": {
|
|
5991
5916
|
"label": "ToUTC",
|
|
5992
5917
|
"detail": "ToUTC(inputDate) -> Date",
|
|
@@ -5996,7 +5921,7 @@
|
|
|
5996
5921
|
"kind": 3,
|
|
5997
5922
|
"documentation": {
|
|
5998
5923
|
"kind": "markdown",
|
|
5999
|
-
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為 UTC。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) -
|
|
5924
|
+
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為 UTC (座標通用時間)。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 以 UTC 時間表示的日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
6000
5925
|
}
|
|
6001
5926
|
},
|
|
6002
5927
|
"parametersInfo": {
|
|
@@ -6011,7 +5936,7 @@
|
|
|
6011
5936
|
"sinceVersion": "1.14",
|
|
6012
5937
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
|
|
6013
5938
|
"description": "傳回給定日期年份中的週數。 值範圍為 0-53,其中一年的第一週為 `0`,一年的最後一週為 `51`、 `52` 或 `53` (根據年份而定)。 第一週和最後一週的長度可能不是完整 7 天。",
|
|
6014
|
-
"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\
|
|
5939
|
+
"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從 DateOnly 值傳回週次\n\n```arcade\nWeek(DateOnly(1996, 11, 10))\n// returns 49\n```\n\n",
|
|
6015
5940
|
"completion": {
|
|
6016
5941
|
"label": "Week",
|
|
6017
5942
|
"detail": "Week(dateValue, startDay?) -> Number",
|
|
@@ -6021,7 +5946,7 @@
|
|
|
6021
5946
|
"kind": 3,
|
|
6022
5947
|
"documentation": {
|
|
6023
5948
|
"kind": "markdown",
|
|
6024
|
-
"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 -
|
|
5949
|
+
"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](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要從中取得週次的日期或 DateOnly 值。 從版本 1.24 開始支援 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)"
|
|
6025
5950
|
}
|
|
6026
5951
|
},
|
|
6027
5952
|
"parametersInfo": {
|
|
@@ -6035,7 +5960,7 @@
|
|
|
6035
5960
|
"bundle": "core",
|
|
6036
5961
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
|
|
6037
5962
|
"description": "傳回指定日期的星期幾。 值範圍為 0-6,其中星期日為 `0`,星期六為 `6`。",
|
|
6038
|
-
"examples": "\n##### 範例\n\n傳回指定日期的星期幾。 傳回 `3` 代表星期三。\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\
|
|
5963
|
+
"examples": "\n##### 範例\n\n傳回指定日期的星期幾。 傳回 `3` 代表星期三。\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n傳回給定 DateOnly 值的星期幾。\n\n```arcade\nWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
|
|
6039
5964
|
"completion": {
|
|
6040
5965
|
"label": "Weekday",
|
|
6041
5966
|
"detail": "Weekday(dateValue) -> Number",
|
|
@@ -6045,7 +5970,7 @@
|
|
|
6045
5970
|
"kind": 3,
|
|
6046
5971
|
"documentation": {
|
|
6047
5972
|
"kind": "markdown",
|
|
6048
|
-
"value": "傳回指定日期的星期幾。 值範圍為 0-6,其中星期日為 `0`,星期六為 `6`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly -
|
|
5973
|
+
"value": "傳回指定日期的星期幾。 值範圍為 0-6,其中星期日為 `0`,星期六為 `6`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中傳回星期幾的日期或 DateOnly 值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
6049
5974
|
}
|
|
6050
5975
|
},
|
|
6051
5976
|
"parametersInfo": {
|
|
@@ -6059,7 +5984,7 @@
|
|
|
6059
5984
|
"bundle": "core",
|
|
6060
5985
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
|
|
6061
5986
|
"description": "傳回指定日期的年。",
|
|
6062
|
-
"examples": "\n##### 範例\n\n取得目前日期的年\n\n```arcade\nYear(Now())\n```\n\
|
|
5987
|
+
"examples": "\n##### 範例\n\n取得目前日期的年\n\n```arcade\nYear(Now())\n```\n\n取得指定 DateOnly 值的年\n\n```arcade\nYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
|
|
6063
5988
|
"completion": {
|
|
6064
5989
|
"label": "Year",
|
|
6065
5990
|
"detail": "Year(dateValue) -> Number",
|
|
@@ -6069,7 +5994,7 @@
|
|
|
6069
5994
|
"kind": 3,
|
|
6070
5995
|
"documentation": {
|
|
6071
5996
|
"kind": "markdown",
|
|
6072
|
-
"value": "傳回指定日期的年。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly -
|
|
5997
|
+
"value": "傳回指定日期的年。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 要從中取得年的日期或 DateOnly 值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
6073
5998
|
}
|
|
6074
5999
|
},
|
|
6075
6000
|
"parametersInfo": {
|
|
@@ -6567,8 +6492,8 @@
|
|
|
6567
6492
|
"bundle": "core",
|
|
6568
6493
|
"sinceVersion": "1.24",
|
|
6569
6494
|
"link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
|
|
6570
|
-
"description": "
|
|
6571
|
-
"examples": "\n##### 範例\n\
|
|
6495
|
+
"description": "指示兩個值是否相等。 僅當它們是同一物件時,物件類型 (即陣列、圖徵、字典、幾何) 才會傳回 true。",
|
|
6496
|
+
"examples": "\n##### 範例\n\n比較兩個值是否相等\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
6497
|
"completion": {
|
|
6573
6498
|
"label": "Equals",
|
|
6574
6499
|
"detail": "Equals(value1, value2) -> Boolean",
|
|
@@ -6578,7 +6503,7 @@
|
|
|
6578
6503
|
"kind": 3,
|
|
6579
6504
|
"documentation": {
|
|
6580
6505
|
"kind": "markdown",
|
|
6581
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
6506
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n指示兩個值是否相等。 僅當它們是同一物件時,物件類型 (即陣列、圖徵、字典、幾何) 才會傳回 true。\n\n**參數**\n\n- **value1**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 第一個輸入值。\n- **value2**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 第二個輸入值。\n\n**返回值**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
6582
6507
|
}
|
|
6583
6508
|
},
|
|
6584
6509
|
"parametersInfo": {
|
|
@@ -6821,7 +6746,7 @@
|
|
|
6821
6746
|
"bundle": "core",
|
|
6822
6747
|
"sinceVersion": "1.12",
|
|
6823
6748
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#back",
|
|
6824
|
-
"description": "傳回陣列的最後一個元素。
|
|
6749
|
+
"description": "傳回陣列的最後一個元素。 如果輸入點陣為空,則表達式評估將失敗。",
|
|
6825
6750
|
"examples": "\n##### 範例\n\n傳回 `'gray'`。\n\n```arcade\nvar colors = ['orange', 'purple', 'gray']\nBack(colors)\n```\n\n",
|
|
6826
6751
|
"completion": {
|
|
6827
6752
|
"label": "Back",
|
|
@@ -6832,7 +6757,7 @@
|
|
|
6832
6757
|
"kind": 3,
|
|
6833
6758
|
"documentation": {
|
|
6834
6759
|
"kind": "markdown",
|
|
6835
|
-
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回陣列的最後一個元素。
|
|
6760
|
+
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回陣列的最後一個元素。 如果輸入點陣為空,則表達式評估將失敗。\n\n**參數**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 要從中取得最後一個值的陣列。\n\n**返回值**: [Any](https://developers.arcgis.com/arcade/guide/types/#any)"
|
|
6836
6761
|
}
|
|
6837
6762
|
},
|
|
6838
6763
|
"parametersInfo": {
|
|
@@ -6993,11 +6918,10 @@
|
|
|
6993
6918
|
{
|
|
6994
6919
|
"type": "function",
|
|
6995
6920
|
"name": "front",
|
|
6996
|
-
"disableDocumentation": true,
|
|
6997
6921
|
"bundle": "core",
|
|
6998
6922
|
"sinceVersion": "1.12",
|
|
6999
6923
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
7000
|
-
"description": "傳回陣列的第一個元素。
|
|
6924
|
+
"description": "傳回陣列的第一個元素。 如果輸入點陣為空,則表達式評估將失敗。",
|
|
7001
6925
|
"examples": "\n##### 範例\n\n傳回 `'orange'`。\n\n```arcade\nvar colors = ['orange', 'purple', 'gray']\nFront(colors)\n```\n\n",
|
|
7002
6926
|
"completion": {
|
|
7003
6927
|
"label": "Front",
|
|
@@ -7008,7 +6932,7 @@
|
|
|
7008
6932
|
"kind": 3,
|
|
7009
6933
|
"documentation": {
|
|
7010
6934
|
"kind": "markdown",
|
|
7011
|
-
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回陣列的第一個元素。
|
|
6935
|
+
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回陣列的第一個元素。 如果輸入點陣為空,則表達式評估將失敗。\n\n**參數**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 從中取得第一個值的陣列。\n\n**返回值**: [Any](https://developers.arcgis.com/arcade/guide/types/#any)"
|
|
7012
6936
|
}
|
|
7013
6937
|
},
|
|
7014
6938
|
"parametersInfo": {
|