public class DateUtils extends Object
| Constructor and Description |
|---|
DateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
convertDateToSeconds(Date dateTime)
Convert date object to seconds
Required for functions that use time_t
|
static Date |
convertSecondsToDate(long seconds)
Convert seconds to appropriate date
Required for functions that use time_t
|
public static Date convertSecondsToDate(long seconds)
Required for functions that use time_t
seconds - seconds to be convertedpublic static long convertDateToSeconds(Date dateTime)
Required for functions that use time_t
dateTime - date to be convertedCopyright © 2016. All rights reserved.