public class InstantUtils extends Object
| Constructor and Description |
|---|
InstantUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
calendarToString(GregorianCalendar cal)
Return a String suitable for use as an edn
#inst, given
a GregorianCalendar. |
static String |
dateToString(Date date)
Return a String suitable for use as an edn
#inst, given
a Date. |
static String |
timestampToString(Timestamp ts)
Return a String suitable for use as an edn
#inst, given
a Timestamp. |
public static String calendarToString(GregorianCalendar cal)
#inst, given
a GregorianCalendar.cal - must not be null.public static String dateToString(Date date)
#inst, given
a Date.date - must not be null.Copyright © 2019. All rights reserved.