|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.utils.date.DateFormatter
public final class DateFormatter
This makes standard formatted dates.
This is used by the KeyGenerationUtil.
Method Summary | |
---|---|
static String |
getDddHHmm(Date in)
gets a date formatted in dddHHmm |
static String |
getDddHHmmss(Date in)
gets a date formatted in yyyymmddss |
static Date |
parseFormattedStringDddHHmm(String in)
Takes string that look like 20051017 |
static Date |
parseFormattedStringDddHHmmss(String in)
Takes string that look like 209123934 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Date parseFormattedStringDddHHmm(String in) throws ParseException
in
- in
ParseException
- ParseExceptionpublic static String getDddHHmm(Date in)
in
- date
public static Date parseFormattedStringDddHHmmss(String in) throws ParseException
in
- in
ParseException
- ParseExceptionpublic static String getDddHHmmss(Date in)
in
- date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |