Code example for Timestamp

Methods: setTime

0
    { 
    } 
 
    public static final Timestamp getCurrentTimestamp()
    { 
        currentTimestamp.setTime(System.currentTimeMillis());
        return currentTimestamp;
    } 
 
    public void start() 
    { 
        startTime = System.currentTimeMillis();
    } 
 
    public void stop() 
    { 
        endTime = System.currentTimeMillis();
    } 
 
    public void reset() 
    {