Anuncio: Todos los proyectos no comerciales registrados para usar Earth Engine antes del
15 de abril de 2025 deben
verificar su elegibilidad no comercial para mantener el acceso. Si no realizas la verificación antes del 26 de septiembre de 2025, es posible que se suspenda tu acceso.
ee.DateRange.isUnbounded
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Devuelve verdadero si este DateRange contiene todas las fechas.
| Uso | Muestra |
|---|
DateRange.isUnbounded() | Booleano |
| Argumento | Tipo | Detalles |
|---|
esta: dateRange | DateRange | |
Ejemplos
Editor de código (JavaScript)
// A series of ee.DateRange objects.
var dateRangeBounded = ee.DateRange('2017-06-24', '2017-07-24');
var dateRangeUnbounded = ee.DateRange.unbounded();
// Determine if an ee.DateRange object is unbounded.
print('Is dateRangeBounded unbounded?', dateRangeBounded.isUnbounded());
print('Is dateRangeUnbounded unbounded?', dateRangeUnbounded.isUnbounded());
Configuración de Python
Consulta la página
Entorno de Python para obtener información sobre la API de Python y el uso de geemap para el desarrollo interactivo.
import ee
import geemap.core as geemap
Colab (Python)
# A series of ee.DateRange objects.
date_range_bounded = ee.DateRange('2017-06-24', '2017-07-24')
date_range_unbounded = ee.DateRange.unbounded()
# Determine if an ee.DateRange object is unbounded.
display('Is date_range_bounded unbounded?', date_range_bounded.isUnbounded())
display(
'Is date_range_unbounded unbounded?', date_range_unbounded.isUnbounded()
)
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 2025-07-26 (UTC)"],[],["The `isUnbounded()` method checks if a `DateRange` object contains all dates. It returns a boolean (`true` or `false`). The method is called on a `DateRange` object. The provided examples create bounded and unbounded `DateRange` objects and then use `isUnbounded()` to determine if they are unbounded. The outputs show if the object is unbounded, for example if the `DateRange` is `ee.DateRange.unbounded()`.\n"]]