cf.minute¶
- cf.minute(value)[source]¶
A
Queryobject for a “minute of the hour” condition.- Parameter:
- value:
The query condition’s value. If value is a sequence then it is automatically converted to a “member of set” condition for the values, e.g.
[12, 1]is equivalent tocf.set([12, 1]).
- Returns:
QueryThe query object.
Examples
>>> d = cf.dt(2002, 6, 16, 18, 30, 0) >>> d == cf.minute(30) True >>> d == cf.minute(cf.le(45)) True >>> d == cf.minute(7) False >>> d == cf.minute(cf.wi(15, 45)) True >>> d == cf.minute([5, 30]) True >>> d == cf.minute(cf.set([5, 30])) True