org.apache.maven.archiva.common.utils
Class DateUtil

java.lang.Object
  extended by org.apache.maven.archiva.common.utils.DateUtil

public class DateUtil
extends Object

DateUtil - some (not-so) common date utility methods.

Version:
$Id$

Constructor Summary
DateUtil()
           
 
Method Summary
static String getDuration(Calendar cal1, Calendar cal2)
           
static String getDuration(Date d1, Date d2)
           
static String getDuration(long duration)
           
static String getDuration(long ms1, long ms2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateUtil

public DateUtil()
Method Detail

getDuration

public static String getDuration(long duration)

getDuration

public static String getDuration(long ms1,
                                 long ms2)

getDuration

public static String getDuration(Date d1,
                                 Date d2)

getDuration

public static String getDuration(Calendar cal1,
                                 Calendar cal2)


Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.