HI,

take a look at the DateTimeFormat class.

Am Donnerstag, 13. Juni 2013 05:15:52 UTC+2 schrieb Shashank Beerla:
>
> Hi all,
>
> this particular logic in java returns the logic what I am asking for but 
> GWT does not support java util package of calender. Can someone help me 
> converting this logic with GWT util package
>
> Calendar cal = Calendar.getInstance();
> cal.setTime(new SimpleDateFormat("MMM").parse("July"));int monthInt = 
> cal.get(Calendar.MONTH) + 1;
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to