Hi

i try to create a date with only the week and the year.

DateTime dt = new DateTime();
dt.withWeekyear(29);
dt.withYear(2011);
            
System.out.println("dt " +  dt.getWeekyear()+ " " + dt.getYear());

i get: dt 2012 2012

System.out.println("dt " +  dt.getWeekOfWeekyear()+ " " + dt.getYear());

i get: dt 16 2012


is there a way to get: 29 2011?

thanks

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to