|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.advjavacalendar.util.CalendarUtil
public class CalendarUtil
Util class for Calendar
| Constructor Summary | |
|---|---|
CalendarUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
formatDate(java.util.Date toFormat,
int length)
Returns the given date formatted by the current locale |
static java.lang.String |
getCurrentLocalizedMonth()
Returns the current month string in the current locale |
static java.lang.String |
getLocalizedDuration(long longValue)
Returns the localized string of the given duration |
static java.util.List<java.lang.String> |
getLocalizedMonthNames()
Returns the month strings of the current locale as string array |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalendarUtil()
| Method Detail |
|---|
public static java.util.List<java.lang.String> getLocalizedMonthNames()
public static java.lang.String getCurrentLocalizedMonth()
public static java.lang.String formatDate(java.util.Date toFormat,
int length)
toFormat -
public static java.lang.String getLocalizedDuration(long longValue)
duration -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||