Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Filter.dateRangeContains
Stay organized with collections
Save and categorize content based on your preferences.
Creates a unary or binary filter that passes if the left operand, a date range, contains the right operand, a date.
Usage | Returns | ee.Filter.dateRangeContains(leftField, rightValue, rightField, leftValue) | Filter |
Argument | Type | Details | leftField | String, default: null | A selector for the left operand. Should not be specified if leftValue is specified. |
rightValue | Object, default: null | The value of the right operand. Should not be specified if rightField is specified. |
rightField | String, default: null | A selector for the right operand. Should not be specified if rightValue is specified. |
leftValue | Object, default: null | The value of the left operand. Should not be specified if leftField is specified. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eCreates a filter that checks if a date range includes a specific date.\u003c/p\u003e\n"],["\u003cp\u003eThe filter uses either property selectors (\u003ccode\u003eleftField\u003c/code\u003e, \u003ccode\u003erightField\u003c/code\u003e) or direct values (\u003ccode\u003eleftValue\u003c/code\u003e, \u003ccode\u003erightValue\u003c/code\u003e) to define the date range and the date to check.\u003c/p\u003e\n"],["\u003cp\u003eIt returns a filter object that can be applied to Earth Engine collections.\u003c/p\u003e\n"]]],[],null,["# ee.Filter.dateRangeContains\n\nCreates a unary or binary filter that passes if the left operand, a date range, contains the right operand, a date.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------------------------------------------------|---------|\n| `ee.Filter.dateRangeContains(`*leftField* `, `*rightValue* `, `*rightField* `, `*leftValue*`)` | Filter |\n\n| Argument | Type | Details |\n|--------------|-----------------------|---------------------------------------------------------------------------------------|\n| `leftField` | String, default: null | A selector for the left operand. Should not be specified if leftValue is specified. |\n| `rightValue` | Object, default: null | The value of the right operand. Should not be specified if rightField is specified. |\n| `rightField` | String, default: null | A selector for the right operand. Should not be specified if rightValue is specified. |\n| `leftValue` | Object, default: null | The value of the left operand. Should not be specified if leftField is specified. |"]]