Re: About Date object in GWT

2010-05-18 Thread euzuro
Apologies if this message is duplicated... I thought I sent it earlier this morning but it seems to have not gone through for some reason If you look at the code in the com.google.gwt.user.datepicker.client package, you'll see that the gwt developers themselves use these deprecated Date methods

Re: About Date object in GWT

2010-05-18 Thread euzuro
If you look at the files in the com.google.gwt.user.datepicker.client package[1], you can take a tip from the google guys themselves -- they use all these deprecated java.util.Date functions all over the place. Each method that uses them they prefix with: @SuppressWarnings(/* Required to use Date

Re: About Date object in GWT

2010-05-18 Thread euzuro
If you look at some of the files in the com.google.gwt.user.datepicker.client[1], you'll see that the gwt developers themselves are freely using these deprecated java.util.Date methods. To avoid the java warnings, they put a @SuppressWarnings() at the head of any method that uses them (or

Re: About Date object in GWT

2010-05-17 Thread Sabbir
and how about reading the years, months, day, hour, minutes and seconds from the date object? On May 15, 6:13 am, Sabbir leo.sh...@gmail.com wrote: the methods inDateobjecat as getTime, getHour, etc are deprecated ones. And in GWT calendarobjectis not allowed. so how do set thedateobjectin

Re: About Date object in GWT

2010-05-17 Thread aditya sanas
Ignore deprecation warning u have only one option on client side i.e. Date() object from java.util so user getYear(),getMonth() etc. methods for getting hrs minutes secs and year -- Aditya On Mon, May 17, 2010 at 12:20 PM, Sabbir leo.sh...@gmail.com wrote: and how about reading the years,

Re: About Date object in GWT

2010-05-15 Thread rjcarr
What Jim said, or: com.google.gwt.i18n.client.DateTimeFormat On May 14, 7:00 pm, Jim Douglas jdoug...@basis.com wrote: Just use java.util.Date; ignore the deprecation warnings. On May 14, 6:13 pm, Sabbir leo.sh...@gmail.com wrote: the methods in Date objecat as getTime, getHour, etc are

About Date object in GWT

2010-05-14 Thread Sabbir
the methods in Date objecat as getTime, getHour, etc are deprecated ones. And in GWT calendar object is not allowed. so how do set the date object in GWT??? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: About Date object in GWT

2010-05-14 Thread Jim Douglas
Just use java.util.Date; ignore the deprecation warnings. On May 14, 6:13 pm, Sabbir leo.sh...@gmail.com wrote: the methods in Date objecat as getTime, getHour, etc are deprecated ones. And in GWT calendar object is not allowed. so how do set the date object in GWT??? -- You received this