Venkat,
My apologies - I misunderstood what you were asking about.
As you probably know, BusinessCalendar has an add function, but not a subtract. The calendar package is not documented at all - not even any significant comments.
I think you'll want to use BusinessCalendar.findDayPart to get the beginning and end time-segments for your interval, add the deltas for each end, and then sum the durations of all the intervening DayParts. It doesn't look too hard. You might consider contributing it back, especially if you write test code to make sure you got it right.
-Ed Staub
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005886#4005886
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005886
"PeterJ" wrote : All I did was follow the installation instructions that came with Messaging (ran the util/release-admin.xml Ant script). Well, I also switch databases to MySQL or PostgreSQL. However, the only messaging client I am using in the app server is a message-driven EJB.
Yep, I used the same script to install the messaging. I haven't deployed any MDB yet due to the errors I got but I will be putting one there soon.
Can you try to run the example/stateless? It should do a automatic deploy of a EJB and uppon successful running it, it will undeploy it automatically.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005874#4005874
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005874