application context, the browser, the date object (java.util) ?
Don't forget java Date Month start from 0 (January) to 11 (december).
Date today = new Date();
GWTLog.debug("Today month is "+today.getMonth());
// Display "Today month is 3" => April
On 23 avr, 20:14, andy <andy.anand1...@gmail.com> wrote:
> intstartMonth=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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment