|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.aduna.text.DateTimeUtil
public class DateTimeUtil
Constructor Summary | |
---|---|
DateTimeUtil()
|
Method Summary | |
---|---|
static java.lang.String |
getNiceDateTimeString(java.util.Date date)
Gets a "nice" human readable string for the supplied date. |
static java.lang.String |
getNiceDateTimeString(long date)
Converts the supplied 'date' to a Date object and call getNiceDateTimeString(Date). |
static java.lang.String |
getNiceDurationString(long duration)
Gets a "nice" human readable string for the supplied duration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateTimeUtil()
Method Detail |
---|
public static java.lang.String getNiceDateTimeString(long date)
getNiceDateTimeString(long)
public static java.lang.String getNiceDateTimeString(java.util.Date date)
public static java.lang.String getNiceDurationString(long duration)
duration
- A time in milliseconds
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |