How to do something like 5 minutes before now in GWT
peter tong
Ranch Hand
Joined: Mar 15, 2008
Posts: 219
posted
0
As GWT has no Calendar Class as in java, I search and found there is a CalendarUtil in GWT, but it has only
and
but no any method for handling adding or subtracting hours, minutes, seconds, so how to do something like
5 minutes before current times, 1hour before current times...etc?
Maybe its easier to get the necessary Time/Date with a RPC? So you can use any java function on the server. Or is this not possible/wanted in this case?