com.adobe.mediacore.utils
Class DateUtils

java.lang.Object
  extended by com.adobe.mediacore.utils.DateUtils

public class DateUtils
extends Object


Constructor Summary
DateUtils()
           
 
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
 

Constructor Detail

DateUtils

public DateUtils()
Method Detail

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.