Why not use the datetimeformat to parse the date instead of reimplementing the
wheel?
--
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
Hi,
Yesturday, Oct 31th, 2013, I had a bug with gwt date (I do not understand
if the java.util.date has something to do with GWT but well...).
I have an 'event application', and when I was using the gwt datepicker to
go the the *2nd NOV, 2013*, my application has also to calculate the date
of
Yesturday, Oct 31th, 2013, I had a bug with gwt date (I do not
understand if the java.util.date has something to do with GWT but well...)
.
I have an 'event application', and when I was using the gwt datepicker to
go the the *2nd NOV, 2013*, my application has also to calculate the date
You really need indicate the manner in which you're calculating the
tomorrow date before anyone can actually do much other than speculate to
help you here.
I would imagine you should be able to determine what the code is doing
differently just by stepping through your code in the browser's
Ok, I will try to debug it, maybe do a mini app. read doc etc... and think
a little more etc... but now I also have other pending things to do...
Quickly, here is my context :
.
//FUNCTIONS
*public static Date set___Str___To___Date(String s) // convert STRING
(format ENGLISH = EN =
The problem is this code:
Date date = new Date();
date.setYear(Integer.valueOf(y) - 1900);
date.setMonth(Integer.valueOf(m) - 1);
date.setDate(Integer.valueOf(d));
You found this bug when you ran it yesterday, October 31st. That's
pertinent because the first line above creates a new date
Thanks you.
:)
--
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