|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.uispec4j.utils.DateUtils
public class DateUtils
Utility for checking date as String formatted by a date format. By default, the date format u
DateFormat| Field Summary | |
|---|---|
static java.text.SimpleDateFormat |
DEFAULT_DATE_FORMAT
|
| Method Summary | |
|---|---|
static java.util.Date |
getDate(java.lang.String yyyyMMdd)
Returns the date from the given value parsed by the date format. |
static java.lang.String |
getStandardDate(java.util.Date date)
Returns the Date as String formated by the date format. |
static void |
setDateFormat(java.text.DateFormat dateFormat)
Sets the date format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.text.SimpleDateFormat DEFAULT_DATE_FORMAT
| Method Detail |
|---|
public static java.util.Date getDate(java.lang.String yyyyMMdd)
throws java.text.ParseException
java.text.ParseExceptionpublic static java.lang.String getStandardDate(java.util.Date date)
public static void setDateFormat(java.text.DateFormat dateFormat)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||