|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.plist.PlistObject christophedelory.plist.Date
public class Date
The date primitive type. Contents should conform to a subset of ISO 8601 (in particular, YYYY '-' MM '-' DD 'T' HH ':' MM ':' SS 'Z'. Smaller units may be omitted with a loss of precision).
Constructor Summary | |
---|---|
Date()
Builds a new and empty date. |
|
Date(Date value)
Builds a new date with the specified value. |
Method Summary | |
---|---|
Date |
getValue()
Returns the date. |
String |
getValueString()
Returns the date. |
void |
setValue(Date value)
Initializes the date. |
void |
setValueString(String value)
Initializes the date. |
Methods inherited from class christophedelory.plist.PlistObject |
---|
getParent, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Date()
public Date(Date value)
value
- the date value. Shall not be null
.
NullPointerException
- if value
is null
.Method Detail |
---|
public String getValueString()
null
.
NullPointerException
- if no date has been defined in this instance.setValueString(java.lang.String)
,
getValue()
public void setValueString(String value) throws ParseException
value
- a date. Shall not be null
.
NullPointerException
- if value
is null
.
ParseException
- if the beginning of the specified string cannot be parsed.getValueString()
,
setValue(java.util.Date)
public Date getValue()
null
if not yet initialized.setValue(java.util.Date)
,
getValueString()
public void setValue(Date value)
value
- a date. Shall not be null
.
NullPointerException
- if value
is null
.getValue()
,
setValueString(java.lang.String)
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |