Ugur Artun
Ugur Artun

Reputation: 1804

Time operations in Java

I wonder that is there any way to perform time operations more special and except from System.currentTimeMillis() and System.nanoTime() ? It can be dependent JVM.

Upvotes: 0

Views: 255

Answers (1)

Masudul
Masudul

Reputation: 21961

There is another Class to perform timing and delay operations in multithreading environment. That is.

java.util.concurrent.TimeUnit

Upvotes: 1

Related Questions