cf.second

cf.second(value)[source]

A Query object for a “second of the minute” condition.

Parameter
value:

The query condition’s value.

Returns
Query

The query object.

Examples

>>> d = cf.dt(2002, 6, 16, 18, 30, 0)
>>> d == cf.second(0)
True
>>> d == cf.second(cf.le(30))
True
>>> d == cf.second(30)
False
>>> d == cf.second(cf.wi(0, 30))
True