net.sf.colossus.webcommon
Class FormatWhen
java.lang.Object
net.sf.colossus.webcommon.FormatWhen
public class FormatWhen
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATE_FORMAT
public static final java.lang.String DATE_FORMAT
- See Also:
- Constant Field Values
TIME_FORMAT
public static final java.lang.String TIME_FORMAT
- See Also:
- Constant Field Values
dateFormatter
private final java.text.SimpleDateFormat dateFormatter
timeFormatter
private final java.text.SimpleDateFormat timeFormatter
datePrev
private java.lang.String datePrev
changedDateString
private java.lang.String changedDateString
FormatWhen
public FormatWhen()
hasDateChanged
public java.lang.String hasDateChanged()
timeAsString
public java.lang.String timeAsString(long when)