org.mentawai.util
Class DateUtils

java.lang.Object
  extended by org.mentawai.util.DateUtils

public final class DateUtils
extends Object


Constructor Summary
DateUtils()
           
 
Method Summary
static long daysDiff(Date d1, Date d2)
           
static String getRelativeDate(Date date, Locale loc)
           
static boolean isToday(Date date)
           
static Date onlyDate(Date 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

onlyDate

public static Date onlyDate(Date date)

isToday

public static boolean isToday(Date date)

daysDiff

public static long daysDiff(Date d1,
                            Date d2)

getRelativeDate

public static String getRelativeDate(Date date,
                                     Locale loc)


Copyright © 2013. All Rights Reserved.