Hi,

how can I get the previous month? I'm thinking of code like this:

Month jan = new Month(1, 2009);
Month dec = jan.getPreviousMonth(); // equals new Month(12, 2008)

Unfortunately there are no classes or methods for that.
How can I solve this with Joda Time?
-- 
View this message in context: 
http://n2.nabble.com/Get-previous-month-tp2428931p2428931.html
Sent from the Joda-Interest mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to