cf.month¶
-
cf.
month
(value)[source]¶ A
Query
object for a “month of the year” condition.See also
cf.year
,cf.day
,cf.hour
,cf.minute
,cf.second
, cf.seasons`,cf.djf
,cf.mam
,cf.jja
,cf.son
Parameter: - value:
The query condition’s value.
Returns: Query
The query object.
Examples:
>>> d = cf.dt(2002, 6, 16) >>> d == cf.month(6) True >>> d == cf.month(cf.le(7)) True >>> d == cf.month(7) False >>> d == cf.month(cf.wi(1, 6)) True