com.adobe.mediacore.utils
Class DateUtils
java.lang.Object
com.adobe.mediacore.utils.DateUtils
public class DateUtils
- extends Object
Method Summary |
static long |
getMillisecondsSince(Date date)
Returns the number of milliseconds which have passed since the specified date. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateUtils
public DateUtils()
getMillisecondsSince
public static long getMillisecondsSince(Date date)
- Returns the number of milliseconds which have passed since the specified date.
- Parameters:
date
- specified date
- Returns:
- the number of milliseconds or 0 if the date is null or in the future.