Return a comparison object for a date-time object being not earlier than a date and time.
cf.dtge(*args, **kwargs) is equivalent to cf.ge(cf.dt(*args, **kwargs)).
Parameters : |
|
---|---|
Returns : |
|
Examples
>>> d = cf.dt(2002, 6, 16)
>>> d == cf.dtge(1990, 1, 1)
True
>>> d == cf.dtge(2002, 6, 16)
True
>>> d == cf.dtge('2100-1-1')
False
>>> d == cf.dtge('2001-1-1') & cf.dtle(2010, 12, 31)
True
The last example is equivalent to:
>>> d == cf.wi(cf.dt(2001, 1, 1), cf.dt('2010-12-31'))
True