Package org.apache.jmeter.report.core
Class TimeHelper
java.lang.Object
org.apache.jmeter.report.core.TimeHelper
The class TimeHelper provides helper functions to ease time displaying.
- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatTimeStamp
(long timeStamp) Format the specified time stamp to string using JMeter properties.static String
formatTimeStamp
(long timeStamp, String format) Format the specified time stamp to string using the format.static String
time
(long t)
-
Constructor Details
-
TimeHelper
public TimeHelper()
-
-
Method Details
-
time
-
formatTimeStamp
Format the specified time stamp to string using JMeter properties.- Parameters:
timeStamp
- the time stamp- Returns:
- the string
-
formatTimeStamp
Format the specified time stamp to string using the format.- Parameters:
timeStamp
- the time stampformat
- the format- Returns:
- the string
-