I need help setting a TimeStamp object + 1 hour. Apparently my system retrives the timestamp data -1 hour from original sql data.
I want to know if there is a quick way in Java to add 1 hour manually. Im thinking in the lines of what my code example below shows.
public boolean chooseBreak(String time, int id) throws IllegalArgumentException
{
Timestamp ts = Timestamp.valueOf(time);
ts.setTime(+ 1);