|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.logging.adapter.util.TimeParser
The class parses a time stamp based on a time format string and a locale. The java.text.SimpleDateFormat class does the actual parsing.
| Constructor Summary | |
|---|---|
TimeParser(java.lang.String timeFormat,
java.util.Locale locale)
Deprecated. Construct a TimeParser with specified time format string and locale. |
|
| Method Summary | |
|---|---|
long |
parse(java.lang.String strTime)
Deprecated. Converts the formatted time string to milliseconds |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TimeParser(java.lang.String timeFormat,
java.util.Locale locale)
throws AdapterException
timeFormat - - time format stringlocale - - locale for time parsing
AdapterException - if the time format string is not valid.| Method Detail |
public long parse(java.lang.String strTime)
throws AdapterException
strTime -
AdapterException
|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||