|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ireasoning.protocol.tl1.TL1Date
This class represents the date in TL1 response header. Its format is "YY[YY]-MM-DD"
Constructor Summary | |
TL1Date(String date)
Constructs a TL1Date object with passed string |
Method Summary | |
String |
getDay()
Returns day value |
String |
getMonth()
Returns month value |
String |
getYear()
Returns year value |
void |
setDay(String day)
Sets a new day value |
void |
setMonth(String month)
Sets a new month value |
void |
setYear(String year)
Sets a new year value |
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 TL1Date(String date) throws TL1ParsingException
date
- the date string
TL1ParsingException
- if the passed date string is not validMethod Detail |
public String getDay()
public void setDay(String day)
public String getMonth()
public void setMonth(String month)
public String getYear()
public void setYear(String year)
public String toString()
|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |