Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > datetime arithmetic over business calendar

Reply
Thread Tools

datetime arithmetic over business calendar

 
 
Massimiliano Campagnoli
Guest
Posts: n/a
 
      06-22-2008
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [2.4.4] creating a datetime.datetime from an XML xs:dateTime skip@pobox.com Python 2 01-06-2009 01:31 PM
[2.4.4] creating a datetime.datetime from an XML xs:dateTime Martin Python 0 12-27-2008 08:08 PM
mx.DateTime to datetime.datetime mp Python 1 07-28-2006 10:57 PM
datetime: .datetime-.datetime = .timedelta, .time-.time=TypeError ? Christos TZOTZIOY Georgiou Python 3 09-13-2003 10:44 AM
RE: datetime: .datetime-.datetime = .timedelta, .time-.time=TypeError ? Tim Peters Python 0 09-09-2003 12:57 AM



Advertisments