Calculate the number of weekdays between to dated

Implement something like this:

calculate_weekenddays_between(timestamp1, timestamp2): calculates the number of saturdays and sundays between timestamp1 and timestamp2

calculate_nonweekendhoursbetween(timestamp1, timestamp2): calculates the hours between two timestamps excluding saturdays and sundays. This probably would be: timestamp2 - timestamp1 - calculate_weekenddays_between(timestamp1, timestamp2)

Both Functions should operate on Python datetime objects and return timedelta objects.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) The code produced should follow PEP 8 - "Style Guide for Python Code" and result in a pylint score of 8 or more. It also should come with Unittests using 3) Use of OpenSource Software is encouraged. Your code will be published undder a BSD like license so you can use it in other projects.

## Platform

MAcOS X.4/FreeBSD 5.4, Python 2.4

Skills: Engineering, MySQL, PHP, Python, Software Architecture, Software Testing

See more: sundays, pep, python opensource, result number, hours python, form calculates php, calculate score php, form php calculate, program calculate, calculate form using, calculate form, form calculate, opensource php projects, php form calculates

About the Employer:
( 31 reviews ) Germany

Project ID: #3941405

Awarded to:


See private message.

$21.25 USD in 21 days
(46 Reviews)