d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Gwt Cast A Date To String
Add Reply New Topic New Poll
Member
Posts: 21,362
Joined: Sep 16 2009
Gold: 13.13
May 24 2012 02:54pm
using this at the moment:

Code
DateFormat formatter;
Date date;
formatter = new SimpleDateFormat("dd-MM-yyyy");          
date = result.getBirthday(); // my date
txtbirthday.setText(formatter.format(date));


error: No source code is available for type java.text.DateFormat; did you forget to inherit a required module?

i guess its not supported by GWT

somebody has an idea?

This post was edited by tinaschatz on May 24 2012 02:54pm
Member
Posts: 4,605
Joined: Sep 15 2011
Gold: 9,464.00
May 24 2012 04:03pm
Doesn't look like an issue related to GWT to me. Make sure your compiler actually includes the correct JSDK...

This post was edited by irimi on May 24 2012 04:03pm
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll