Em Andamento

Working Hours calculation methods

I need 2 methods that will calculate working hours.

The first method needs to return the due date when a datetime, working hours, normal work day list and holiday list is provider.

2nd method needs to return elapsed working hours when it is provider with the start time, end time, normal work day list and holiday list.

## Deliverables

See attached file for the specifics.

**********************

It very important that the methods be very efficient !!!!

**********************

Example1:

If normal work day is Monday to Friday 8:00am to 5:00pm

You are allowed 2.5 working hours to work the task

and request came in at 4:00pm on Friday

then the method should return that it is due at 9:30am on Monday

Example2:

If normal work day is Monday to Friday 8:00am to 5:00pm

You are allowed 10.5 working hours to work the task

and request came in at 4:00pm on Thursday

Monday is a holiday

then the method should return that it is due at 9:30am on Tuesday

Example3:

If normal work day is Monday to Friday 8:00am to 5:00pm

Task was started 4:00pm on Friday

Task was completed 9:30am on the following Monday

then method should return that it took 2.5 hours to complete

Example4:

If normal work day is Monday to Friday 8:00am to 5:00pm

Task was started 4:00pm on Thursday

Task was completed 9:30am on the following Tuesday

Monday is a holiday

then method should return that it took 10.5 hours to complete

Habilidades: Arquitetura de software

Ver mais: date calculation, datetime, end day software, method calculation, efficient software, start working, work needs hours complete, day hours, hours day

Acerca do Empregador:
( 52 comentários ) Tyler, United States

ID do Projeto: #3033833

Premiar a:

jpcentral

See private message.

$17 USD em 14 dias
(20 Avaliações)
4.5

5 freelancers estão ofertando em média $17 para este trabalho

pbalamurali

See private message.

$8.5 USD in 14 dias
(21 Comentários)
4.5
ivankorhner

See private message.

$17 USD in 14 dias
(32 Comentários)
4.5
pranjalinfosoft

See private message.

$21.25 USD in 14 dias
(7 Comentários)
1.0
iisuru

See private message.

$21.25 USD in 14 dias
(0 Comentários)
0.0