|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.monitorenter.util.SimpleDateFormatAnalyzer
public final class SimpleDateFormatAnalyzer
Hack for a
to get further
information about the fields that will be displayed.
SimpleDateFormat
Method Summary | |
---|---|
static boolean |
displaysDay(java.text.SimpleDateFormat format)
Returns true if the given date format displays days. |
static boolean |
displaysHour(java.text.SimpleDateFormat format)
Returns true if the given date format displays hours. |
static boolean |
displaysMillisecond(java.text.SimpleDateFormat format)
Returns true if the given date format displays milliseconds. |
static boolean |
displaysMinute(java.text.SimpleDateFormat format)
Returns true if the given date format displays minutes. |
static boolean |
displaysMonth(java.text.SimpleDateFormat format)
Returns true if the given date format displays months. |
static boolean |
displaysSecond(java.text.SimpleDateFormat format)
Returns true if the given date format displays seconds. |
static boolean |
displaysWeek(java.text.SimpleDateFormat format)
Returns true if the given date format displays weeks. |
static boolean |
displaysYear(java.text.SimpleDateFormat format)
Returns true if the given date format displays years. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean displaysDay(java.text.SimpleDateFormat format)
format
- the date format to check.
public static boolean displaysHour(java.text.SimpleDateFormat format)
format
- the date format to check.
public static boolean displaysMillisecond(java.text.SimpleDateFormat format)
format
- the date format to check.
public static boolean displaysMinute(java.text.SimpleDateFormat format)
format
- the date format to check.
public static boolean displaysMonth(java.text.SimpleDateFormat format)
format
- the date format to check.
public static boolean displaysSecond(java.text.SimpleDateFormat format)
format
- the date format to check.
public static boolean displaysWeek(java.text.SimpleDateFormat format)
format
- the date format to check.
public static boolean displaysYear(java.text.SimpleDateFormat format)
format
- the date format to check.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |