Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C++ (http://www.velocityreviews.com/forums/f39-c.html)
-   -   datetime arithmetic over business calendar (http://www.velocityreviews.com/forums/t621627-datetime-arithmetic-over-business-calendar.html)

Massimiliano Campagnoli 06-22-2008 09:18 AM

datetime arithmetic over business calendar
 
Hy All,
is there a library in C++ supporting datetime arithmetic over a given
business calendar.
For instance, a typical 8 hours shift in a company is from 8am to
12am and from 1:30pm to 5:30pm with a break interval between 12 and
1:30pm

So 11am + 2 hours should gives 2:30pm and not 12 as expected because
the time interval is not a continuum but is a sequence of working
intervals and not working intervals.

Any help is really appreciated.


All times are GMT. The time now is 11:09 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57