|
HOME | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ireasoning.protocol.tl1.TL1Time
public class TL1Time
This class represents the time in TL1 response header. Its format is "HH:MM:SS"
Constructor Summary | |
---|---|
TL1Time(java.lang.String time)
Constructs a new TL1Time object with the passed string |
Method Summary | |
---|---|
java.lang.String |
getHour()
Returns the hour value |
java.lang.String |
getMinute()
Returns the minute value |
java.lang.String |
getSecond()
Returns the second value |
void |
setHour(java.lang.String hour)
Sets a new hour value |
void |
setMinute(java.lang.String minute)
Sets a new minute value |
void |
setSecond(java.lang.String second)
Sets a new second value |
java.lang.String |
toString()
Returns a String representations of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TL1Time(java.lang.String time) throws TL1ParsingException
time
- the time string
TL1ParsingException
- if the passed time string is not validMethod Detail |
---|
public java.lang.String getHour()
public void setHour(java.lang.String hour)
public java.lang.String getMinute()
public void setMinute(java.lang.String minute)
public java.lang.String getSecond()
public void setSecond(java.lang.String second)
public java.lang.String toString()
toString
in class java.lang.Object
|
HOME | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |