|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdip.order.result.Result
dip.order.result.TimeResult
TimeResult
Timestamp result, with an optional message. Time is always in UTC.
| Field Summary |
| Fields inherited from class dip.order.result.Result |
message, power |
| Constructor Summary | |
TimeResult(Power power,
java.lang.String resource)
A TimeStamped result, applicable to a particular power. |
|
TimeResult(java.lang.String resource)
A TimeStamped result, applicable to all powers. |
|
| Method Summary | |
long |
getGMTMillis()
Get the milliseconds since midnight, January 1, 1970 UTC. |
java.lang.String |
getMessage(OrderFormatOptions ofo)
Converts the Resource to a properly-internationlized text message. |
java.lang.String |
toString()
Convert the output to a String |
| Methods inherited from class dip.order.result.Result |
compareTo, getMessage, getPower |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TimeResult(Power power,
java.lang.String resource)
Note that resource must correspond to an il8n resource!
public TimeResult(java.lang.String resource)
| Method Detail |
public long getGMTMillis()
public java.lang.String getMessage(OrderFormatOptions ofo)
getMessage in class Resultpublic java.lang.String toString()
toString in class Result
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||