I´m building an application where I need to print the day of the week
and the current date, like so:
"Tuesday, 2009-05-19"
This would be very easy using the Calender class. But since this isn´t
part of the JRE emulation, I guess I have to solve it another way.
What would be the best way to do this?
I solved it by creating a simple Javabean:
public class CustomDate implements IsSerializable {
public CustomDate() {
}
private Date date;
private String dayOfWeek;
//Get / Set
}
which I populate with info from the Calendar class.
Is this a godd way to solve the problem? How would you solve it?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---