geetools.DateRange.DateRangeAccessor#

class geetools.DateRange.DateRangeAccessor(obj)#

Toolbox for the ee.DateRange class.

Initialize the DateRange class.

Parameters:

obj (ee.DateRange)

Methods#

check_unit(unit)

Check if the unit is valid.

split(interval[, unit])

Convert a ee.DateRange to a list of ee.DateRange.

unitMillis(unit)

Get the milliseconds of a unit.