Earth Engine is introducing noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. All noncommercial projects will need to select a quota tier by April 27, 2026 or will use the Community Tier by default. Tier quotas will take effect for all projects (regardless of tier selection date) on April 27, 2026. Learn more.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[],["The `contains()` method checks if a given `Date` or `DateRange` falls within a specified `DateRange`. It takes an `other` object as an argument and returns a Boolean value. For example, if `dateRange1` is '2017-06-24' to '2017-07-24' and `dateRange2` is '2017-06-30' to '2017-07-10', `dateRange1.contains(dateRange2)` will return `true`. Otherwise it will return `false`. The method is used in both JavaScript and Python.\n"]]