public final class NCDate extends NCType
TYPE_BOOLEAN, TYPE_BYTEBUFFER, TYPE_DATE, TYPE_DOUBLE, TYPE_INTEGER, TYPE_LIST, TYPE_LONG, TYPE_MAP, TYPE_NULL, TYPE_STRING
Constructor and Description |
---|
NCDate(java.util.Date value)
Public constructor
|
NCDate(long millis)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
date() |
boolean |
equals(java.lang.Object other)
Force subclasses to implement.
|
int |
getType()
Returns the type of this
NCType object. |
int |
hashCode()
Force subclasses to implement.
|
long |
millis() |
java.lang.String |
toString()
Force subclasses to implement.
|
externalize
public NCDate(java.util.Date value)
value
- date valuepublic NCDate(long millis)
millis
- date valuepublic long millis()
public java.util.Date date()
public int getType()
NCType
NCType
object.public int hashCode()
NCType
public boolean equals(java.lang.Object other)
NCType
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"