|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.shept.util.DateUtils
public class DateUtils
| Constructor Summary | |
|---|---|
DateUtils()
|
|
| Method Summary | |
|---|---|
static Date |
add(Date d,
int field,
int amount)
Deprecated. |
static Date |
datePart_Old(Date date)
Deprecated. |
static Calendar |
datePart(Calendar date)
Return a calendars day-part only |
static Date |
datePart(Date date)
Return a date's day part only |
static boolean |
isSameDay(Calendar day1,
Calendar day2)
Return true if both calenday date's are of the same day |
static Date |
merge_Old(Date date,
Date time)
Deprecated. |
static Calendar |
merge(Calendar date,
Calendar time)
Merge two calendars, one with the day date component and the other with a time component. |
static Date |
merge(Date date,
Date time)
Deprecated. |
static Integer |
minOfDay(Calendar calendar)
Return the calendars minute count since midnight |
static Integer |
minOfDay(Date d)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateUtils()
| Method Detail |
|---|
public static Calendar merge(Calendar date,
Calendar time)
date - time -
public static Date merge(Date date,
Date time)
date - time -
@Deprecated
public static Date merge_Old(Date date,
Date time)
public static Calendar datePart(Calendar date)
date -
public static Date datePart(Date date)
date -
@Deprecated public static Date datePart_Old(Date date)
@Deprecated
public static Date add(Date d,
int field,
int amount)
public static boolean isSameDay(Calendar day1,
Calendar day2)
day1 - day2 -
public static Integer minOfDay(Calendar calendar)
calendar -
@Deprecated public static Integer minOfDay(Date d)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||