public class TimestampUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
generateTimestamp(long timestamp,
TimeUnit timeUnit)
Will generate a reverse timestamp with the precision of the provided timeunit.
|
static long |
revertTimestamp(String timestamp,
TimeUnit timeUnit)
Reverts the string timestamp into an epoch timestamp with the precision of the provided timeunit.
|
Copyright © 2014 Calrissian. All Rights Reserved.