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 |
like strftime, but returns a unicode string instead of an encoded string which' may be problematic with localized date. encoding is guessed by locale.getpreferredencoding() |
Variables Details |
FRENCH_FIXED_HOLIDAYS
|
FRENCH_MOBILE_HOLIDAYS
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun May 1 23:05:02 2011 | http://epydoc.sourceforge.net |