Hi!






Due to the fact that the Java Calendar Class is (unfortunately) not
compatible with GWT I’m having some problems:

I need to generate a Date-Object out of the Information by “week of
year” and “day of week”.

With the Calendar-class my code looks like:





Calendar cal = Calendar.getInstance();

cal.set(Calendar.WEEK_OF_YEAR, getComboBox_6().getSelectedIndex()+1 );

cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);





Is there any possibility to solve this problem by using the normal
‘Date’-class or ‘DateTimeFormat’ or any other suggestions?

Thanks for your reply!

-- 
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