Package org.apache.jmeter.report.core
Class TimeHelper
-
- All Implemented Interfaces:
public class TimeHelper
The class TimeHelper provides helper functions to ease time displaying.
- Since:
3.0
-
-
Constructor Summary
Constructors Constructor Description TimeHelper()
-
Method Summary
Modifier and Type Method Description static String
time(long t)
static 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. -
-
Method Detail
-
formatTimeStamp
static String formatTimeStamp(long timeStamp)
Format the specified time stamp to string using JMeter properties.
- Parameters:
timeStamp
- the time stamp- Returns:
the string
-
formatTimeStamp
static String formatTimeStamp(long timeStamp, String format)
Format the specified time stamp to string using the format.
- Parameters:
timeStamp
- the time stampformat
- the format- Returns:
the string
-
-
-
-