public class JenkinsPluginUtility extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getDateFromMilliTimeStamp(long time) |
static double |
getDoubleFormattedToTwoDecimalPlaces(double inputValue) |
static long |
getDuration(String startDateStr,
String endDateStr) |
static String |
getDurationInString(long startTime,
long endTime) |
static String[] |
getEMTimeinDateFormat(long startTime,
long endTime,
String emTimeZone) |
static long[] |
getEMTimeinMillis(long startTime,
long endTime,
String emTimeZone) |
static String |
getGMTTime(long time) |
static String |
getGMTTimeOfInput(String dateStr) |
static long |
getLongTimeValue(String dateStr) |
public static String getGMTTime(long time)
public static long[] getEMTimeinMillis(long startTime, long endTime, String emTimeZone) throws ParseException
ParseException
public static String[] getEMTimeinDateFormat(long startTime, long endTime, String emTimeZone) throws ParseException
ParseException
public static long getLongTimeValue(String dateStr)
public static double getDoubleFormattedToTwoDecimalPlaces(double inputValue)
public static String getDurationInString(long startTime, long endTime)
public static String getDateFromMilliTimeStamp(long time)
Copyright © 2016–2019. All rights reserved.