|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.chorem.jtimer.io.GTimerTimeUtil
public class GTimerTimeUtil
Util class to manipulate gTimer date format.
Field Summary | |
---|---|
protected static DateFormat |
GTIMERDATEFORMAT
gtimer day string date format |
Constructor Summary | |
---|---|
protected |
GTimerTimeUtil()
Protected constructor. |
Method Summary | |
---|---|
static String |
date2yyyyMMdd(Date date)
Convert a calendar to yyyyMMdd date string. |
static Date |
yyyyMMdd2Date(String dateAsString)
Convert a yyyyMMdd date string to Calendar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final DateFormat GTIMERDATEFORMAT
Constructor Detail |
---|
protected GTimerTimeUtil()
Method Detail |
---|
public static Date yyyyMMdd2Date(String dateAsString)
dateAsString
- yyyyMMdd sting to convert
Date
IllegalArgumentException
public static String date2yyyyMMdd(Date date)
date
- date to convert
IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |