| Home | Trees | Indices | Help |
|
|---|
|
|
Date manipulation helper functions.
| Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| Variables | |
DateTimeType = datetime
|
|
endOfMonth = RelativeDateTime(months= 1, day=-1)
|
|
FRENCH_FIXED_HOLIDAYS = {'jour_an': '%s-01-01', 'fete_travail'
|
|
FRENCH_MOBILE_HOLIDAYS = {'paques2004': '2004-04-12', 'ascensi
|
|
ONEDAY = timedelta(days= 1)
|
|
ONEWEEK = timedelta(days= 7)
|
|
| Function Details |
yields each date between begin and end
:param begin: the start date
:param end: the end date
:param incr: the step to use to iterate over dates. Default is
one day.
:param include: None (means no exclusion) or a function taking a
date as parameter, and returning True if the date
should be included.
When using mx datetime, you should *NOT* use incmonth argument, use instead
oneDay, oneHour, oneMinute, oneSecond, oneWeek or endOfMonth (to enumerate
months) as `incday` argument
|
return the number of seconds since the begining of the day for that date
|
| Variables Details |
FRENCH_FIXED_HOLIDAYS
|
FRENCH_MOBILE_HOLIDAYS
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Dec 8 00:00:57 2017 | http://epydoc.sourceforge.net |