xsl
Class TimeFormat
java.lang.Object
xsl.TimeFormat
public class TimeFormat
- extends java.lang.Object
Tool for easy display of time, including time since
- Author:
- andy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TimeFormat
public TimeFormat(long time,
boolean showSince)
TimeFormat
public TimeFormat(long time)
getDate
public java.lang.String getDate()
getSince
public TimeFormat.Since getSince()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
format
public static java.lang.String format(long time,
java.lang.String pattern)