public class DateUtil
extends Object
- Author:
- svu
-
Constructor Summary
Constructors
-
Method Summary
static int
static int
static int
static int
static boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DateUtil
public DateUtil()
-
Method Details
-
getWeek
public static int getWeek(Date date)
-
addDays
public static Date addDays(Date sourceDate,
long days)
-
dayDiff
public static int dayDiff(Date firstDate,
Date secondDate)
-
isSameDate
public static boolean isSameDate(Date date0,
Date date1)
-
getYear
public static int getYear(Date date)
-
getMonth
public static int getMonth(Date date)