org.starhope.util
Class GetTexty
java.lang.Object
org.starhope.util.GetTexty
public class GetTexty
- extends Object
- Author:
- brpocock@star-hope.org
Method Summary |
static String |
formatFutureDate(Date targetDate)
Format a date into a user-friendly visible object relative to
"now." |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messages
public static Properties messages
- The message catalog
GetTexty
public GetTexty()
formatFutureDate
public static String formatFutureDate(Date targetDate)
- Format a date into a user-friendly visible object relative to
"now."
- Parameters:
targetDate
- the date (in the future)
- Returns:
- a user-visible string form