Return a cf.Query object for date-time minutes.
In this context, any object which has a minute attribute is considered to be a date-time variable.
If value is a cf.Query object then cf.minute(value) is equivalent to value.addattr('minute'). Otherwise cf.minute(value) is equivalent to cf.eq(value, attr='minute').
See also
cf.year, cf.month, cf.day, cf.hour, cf.second, cf.dteq, cf.dtge, cf.dtgt, cf.dtne, cf.dtle, cf.dtlt
Parameters: |
|
---|---|
Returns: |
|
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