public class MetricsUtil extends Object
Constructor and Description |
---|
MetricsUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getCalendarTime(long timestamp)
Formats timestamp (in seconds since Unix epoch) into human-readable format of MMM DD YYYY
hh:mm:ss.
|
public static String getCalendarTime(long timestamp)
Example: Apr 10 2013 09:14:43
timestamp
- time in seconds since Unix epoch of Jan 1, 1970 12:00:00This work is licensed under a Creative Commons Attribution 4.0 International License.