|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.nachocalendar.components.CalendarUtils
public final class CalendarUtils
Collection of utilities.
| Method Summary | |
|---|---|
static java.util.Date |
convertToDate(java.lang.Object o)
Converts Object to Date. |
static java.lang.String |
getMessage(java.lang.String key)
Returns a localized message. |
static boolean |
isSameDay(java.util.Date d1,
java.util.Date d2)
Compares two dates. |
static boolean |
isToday(java.util.Date date)
Compares provided date with the current Date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Date convertToDate(java.lang.Object o)
throws java.text.ParseException
o - Object to convert
java.text.ParseException - if something goes wrong
public static boolean isSameDay(java.util.Date d1,
java.util.Date d2)
d1 - first dated2 - second date
public static boolean isToday(java.util.Date date)
date - date to compare
public static java.lang.String getMessage(java.lang.String key)
key - message key
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||