Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
[[["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."],[[["\u003cp\u003eThe \u003ccode\u003econtains()\u003c/code\u003e method determines if a given Date or DateRange falls entirely within another DateRange.\u003c/p\u003e\n"],["\u003cp\u003eIt returns \u003ccode\u003etrue\u003c/code\u003e if the provided Date or DateRange is fully enclosed by the target DateRange, otherwise it returns \u003ccode\u003efalse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis method is applicable to \u003ccode\u003eee.DateRange\u003c/code\u003e objects in Earth Engine.\u003c/p\u003e\n"],["\u003cp\u003eExamples are provided in both JavaScript and Python to illustrate the usage of \u003ccode\u003econtains()\u003c/code\u003e.\u003c/p\u003e\n"]]],["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"],null,[]]