|
|
|
|
|
|
|
|
|
|
|
get_national_holidays(begin,
end)
return french national days off between begin and end |
source code
|
|
|
add_days_worked(start,
days)
adds date but try to only take days worked into account |
source code
|
|
|
|
|
|
|
|
|
|
|
todate(somedate)
return a date from a date (leaving unchanged) or a datetime |
source code
|
|
|
totime(somedate)
return a time from a time (leaving unchanged), date or datetime |
source code
|
|
|
todatetime(somedate)
return a date from a date (leaving unchanged) or a datetime |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ustrftime(somedate,
fmt='%Y-%m-%d')
like strftime, but returns a unicode string instead of an encoded
string which may be problematic with localized date. |
source code
|
|
|
|
|
|
|
|
|
timedelta_to_days(delta)
return the time delta as a number of seconds |
source code
|
|
|
timedelta_to_seconds(delta)
return the time delta as a fraction of days |
source code
|
|