Hi all,
First I'd like to tell you Joda is a very good library, really nice work.
I dont know how to deal with a specific issue, I know I can resolve it but
I'd like to know the best way to achieve it.

My customer asks me for calculating the number of months between 2 dates
with the following pattern (actually an example):

start date = 17 january 2006
end date = 28 april 2006

The expected result is :
  (31-17+1)/31   (31 days in january)
+ 2              (february and march)
+ (28/30)        (30 days in april)
= 3.42

Any ideas? Thank you.
Richard




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to