I can only suggest reading the online docs and the API javadoc. You have methods on DateTime (which handles time zones) to add days - plusDays() - and methods to convert to a local time format - toLocalTime() - for comparison.
Stephen Venkatesh Thanikachalam wrote: > Hi, > > thanks a lot. I looked at the samples..I found the date calculations and > everything. My major concern is on the time. > > For ex: I need to compare the business closing time also across time > zones. I need to get the next business date say 3 days from the current > date. They will also provide the business closing time say 4 PM CST. If > the new business date's ( 3 business date from current date) closing > time is 3 PM EST, I need to compare the time between the different time > zone and I will need to recalculate the business date. Since I am new to > Joda, I am not able to quickly get the idea of putting this logic > together. Is it a way you can help me on this. > > On Tue, Dec 1, 2009 at 8:58 PM, Stephen Colebourne <scolebou...@joda.org > <mailto:scolebou...@joda.org>> wrote: > > Venkatesh Thanikachalam wrote: > > I wanted to use the JODA for my project for the manipulation of dates > > and time. > > > > My requirement is to find the next business date given a particular. > > Also I need to handle time (for many timezones). > > > > Is there any sample project available in joda for this? > > See the holiday calculation related project > http://joda-time.sourceforge.net/related.html (a separate project that > uses Joda-Time, rather than being part of Joda-Time) > > Stephen > > > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Joda-interest mailing list > Joda-interest@lists.sourceforge.net > <mailto:Joda-interest@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/joda-interest > > > > > -- > Regards, > Venky > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > > > ------------------------------------------------------------------------ > > _______________________________________________ > Joda-interest mailing list > Joda-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/joda-interest ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest