|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.plist.NSObject
net.sf.plist.NSDate
public class NSDate
Represents a date and time.
In this implementation, a Date
is used to represent the NSDate
.
Date
Constructor Summary | |
---|---|
NSDate(Date theDate)
Constructor. |
Method Summary | |
---|---|
Date |
date()
Get the Date represented by this object. |
static SimpleDateFormat |
getFormatter()
Get the format used for dates in Property List files |
Date |
getValue()
Get the unmodifiable value of this object. |
long |
time()
|
Methods inherited from class net.sf.plist.NSObject |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NSDate(Date theDate)
theDate
- value of the new objectMethod Detail |
---|
public static SimpleDateFormat getFormatter()
public Date getValue()
getValue
in class NSObject
date()
public Date date()
Date
represented by this object.
Date
public long time()
Date.getTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |