|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbforms.util.TimeUtil
public class TimeUtil
DOCUMENT ME!
| Constructor Summary | |
|---|---|
TimeUtil()
|
|
| Method Summary | |
|---|---|
static Date |
findEndOfDay(Date d)
finds the end of the given day |
static String |
minutes2String(long minutes)
Reformats minutes to time string with format: dd:hh:mm |
static Calendar |
parseDate(SimpleDateFormat format,
String s)
Tries to parse a String into a Calendar objectvalue. |
static Date |
parseISO8601Date(String s)
Parses an ISO8601 date format string |
static String |
seconds2String(Integer seconds)
Reformats seconds to time string with format: dd:hh:mm:ss |
static String |
seconds2String(long seconds)
Reformats seconds to time string with format: dd:hh:mm:ss |
static String |
seconds2String(Long seconds)
Reformats seconds to time string with format: dd:hh:mm:ss |
static String |
seconds2String(String seconds)
Reformats seconds to time string with format: dd:hh:mm:ss |
static void |
splitDate(String format,
StringBuffer sDate,
StringBuffer sTime)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeUtil()
| Method Detail |
|---|
public static final String seconds2String(String seconds)
seconds - string to format
public static final String seconds2String(Integer seconds)
seconds - Integer to format
public static final String seconds2String(Long seconds)
seconds - string to format
public static final String seconds2String(long seconds)
seconds - string to format
public static final String minutes2String(long minutes)
seconds - string to format
public static Date findEndOfDay(Date d)
d - date of which end should be find
public static Calendar parseDate(SimpleDateFormat format,
String s)
loc - locale to useformat - java format string for date/times - string to be parsed
public static Date parseISO8601Date(String s)
s - string to be parsed
public static void splitDate(String format,
StringBuffer sDate,
StringBuffer sTime)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||