Package org.testng.util
Class TimeUtils
- java.lang.Object
-
- org.testng.util.TimeUtils
-
public final class TimeUtils extends Object
A Utility class that deals with time.
-
-
Method Detail
-
timeInUTC
public static String timeInUTC(long timeInMilliSeconds, String format)
- Parameters:
timeInMilliSeconds
- - The time in millisecondsformat
- - A format that can be used bySimpleDateFormat
- Returns:
- - A formatted string representation of the time in UTC/GMT timezone.
-
-