mrchimp / tock

Timer Object/Class. Kickass!
MIT License
237 stars 33 forks source link

add/remove ms to current time #44

Open rafa-acioly opened 5 years ago

rafa-acioly commented 5 years ago

A method that accepts an int value (ms) and sums it to the current time; (it is possible)

I am building a timer to track the job and sometimes i forget to pause or need to add a few minutes to the timer.

example:

// current time 00:40:00

timer.add(1500)

result: 00:42:00

timer.remove(1500)

result: 00:40:00