You aren't saying what the type is for startDate and endDate.
If they are java.util.Date, I suggest looking ate the javadoc b/c the
method returns 0-11 and is also deprecated.

Richard

On Apr 23, 11:14 am, andy <[email protected]> wrote:
> int startMonth = startDate.getMonth();
> int endMonth = endDate.getMonth();
> giving wrong value ....
> what to do now?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to