# Class: com.pnfsoftware.jeb.util.format.TimeFormatter

Utility methods to format timestamps and time deltas.

## Constructor: TimeFormatter


## Static Method: formatExecutionTime
- parameter: `exectimeMs`, type: `long`
- return type: `java.lang.String`

Description: Format an execution time as a human\-readable string. The reported duration uses `ms, s, m, h, d` for milliseconds, seconds, minutes, hours, and days.
parameter: exectimeMs: execution time in milliseconds
return: the formatted execution time

## Static Method: formatTimestamp
- parameter: `unixTimestampMs`, type: `long`
- return type: `java.lang.String`

Description: Format an epoch timestamp as a UTC string using the following format:  

```

 YYYY/MM/DD-hh:mm:ss
 
```
parameter: unixTimestampMs: Unix epoch timestamp in milliseconds
return: 

## Static Method: formatTimestamp
- parameter: `unixTimestampMs`, type: `long`
- parameter: `timezone`, type: `java.lang.String`
- return type: `java.lang.String`

Description: Format an epoch timestamp as using the following format:  

```

 YYYY/MM/DD-hh:mm:ss
 
```
parameter: unixTimestampMs: Unix epoch timestamp in milliseconds
return: 

## Static Method: formatTimestampDelta
- parameter: `deltaMs`, type: `long`
- return type: `java.lang.String`

Description: Format a time delta or time duration as a human\-readable string. The reported duration uses `s, m, h, d` for seconds, minutes, hours, and days.
parameter: deltaMs: delta or duration in milliseconds; it may be negative
return: the formatted rounded delta

## Static Method: formatTimestampLocal
- parameter: `unixTimestampMs`, type: `long`
- return type: `java.lang.String`

Description: Format an epoch timestamp as a local, system specific date\-and\-time string.
parameter: unixTimestampMs: Unix epoch timestamp in milliseconds
return: 

