I have an assignment as below. Please guide me if you have any ideas.
Assumption: There is a calender already defined which contains working and non-working day list for a whole year.
I have to create a Calender function whcih takes 2 parameters: one is a date (date of an event) and other is an integer (number of days to complete the event - turn around time).
Now add the int value to event date to find the turn around date, but there may be holidays or non-working days in between. If a holiday is encountered, then add one extra day to the turn around date.
Now the problem is to have the calendar in both days and hours based capabilities. I was able to design the days based calendar but I am blinking my eyes
to have the hours based calendar feature.
Any help is greatly appreciated. If this is not clear, I can explain again.