Find Jobs
Hire Freelancers

Calculate the number of weekdays between to dated

$30-100 USD

已完成
已发布超过 17 年前

$30-100 USD

货到付款
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 coverage.py. 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
项目 ID: 3941405

关于此项目

1条提案
远程项目
活跃17 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$21.25 USD 在21天之内
4.9 (46条评论)
4.6
4.6

关于客户

GERMANY的国旗
Germany
4.2
31
会员自10月 24, 2006起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。