|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.commons.util.TimeUtil
public final class TimeUtil
A utility class for Time.
| Method Summary | |
|---|---|
static String |
getPattern(Locale locale)
Returns the pattern for the locale. |
static String |
toString(Time value,
String pattern)
Converts the Time value to text. |
static Time |
toTime(Object o)
Converts the object to Time. |
static Time |
toTime(String text,
String pattern)
Converts the text to Time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Time toTime(Object o)
Time.
o - the object
public static Time toTime(String text,
String pattern)
Time.
text - the textpattern - the pattern for SimpleDateFormat
public static String toString(Time value,
String pattern)
Time value to text.
value - the Time valuepattern - the pattern for SimpleDateFormat
public static String getPattern(Locale locale)
locale - the locale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||