What is the month? The constructor only allows a day of month of 31 for 
months which have 31 days.

Michael Mehrle wrote:
>
> Value 31 for dayOfMonth must be in the range [1,30]
>
> Doesn’t make sense to me – why does the constructor not allow a 31 date?
>
> That’s how I’m setting it:
>
> *new LocalDate(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), 
> cal.get(Calendar.DAY_OF_MONTH));*
>
> * *
>
> Any input would be helpful.
>
> Michael
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to