|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aelitis.azureus.core.metasearch.utils.MomentsAgoDateFormatter
public class MomentsAgoDateFormatter
Improvement based on AZWEB-318.
Constructor Summary | |
---|---|
MomentsAgoDateFormatter()
|
Method Summary | |
---|---|
static java.lang.String |
getMomentsAgoString(java.util.Date pastDate)
Returns "x |
static java.lang.String |
getMomentsAgoString(java.util.Date pastDate,
java.text.DateFormat format)
Returns "x |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MomentsAgoDateFormatter()
Method Detail |
---|
public static java.lang.String getMomentsAgoString(java.util.Date pastDate, java.text.DateFormat format)
pastDate
- A date in the pastformat
- The format for the pastDate
public static java.lang.String getMomentsAgoString(java.util.Date pastDate)
pastDate
- A default locale date in the past
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |