类 TimeClock
java.lang.Object
io.github.amsonix.molt.internal.reschiper.utils.TimeClock
A utility class for measuring elapsed time.
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
TimeClock
public TimeClock()Constructs a TimeClock and starts the timer.
-
-
方法详细资料
-
getElapsedTime
Gets the elapsed time since the TimeClock was constructed.- 返回:
- A string representing the elapsed time in a human-readable format (e.g., "1min 30s", "45s", "500ms").
-