spierce7 schrieb:

> Lothar, your code works (at least for the current date) :

It should work for every date, just instantiate Date with
one of the non-default constructors.

> However, I can't find a way to get the first day of the week for any
> given date. For instance, lets say I wanted to find the first day of
> the week for September 27th, 2010, how would I do that?

Using the deprecated constructor of Date:

Date date = new Date(110, 08, 27);

You can also use the date-parsing classes of GTW to parse
a string to a date.


Regards, Lothar

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to