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(Date value)
Public constructor
|
NCDate(long millis)
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
Date |
date() |
boolean |
equals(Object other)
Force subclasses to implement.
|
int |
getType()
Returns the type of this
NCType object. |
int |
hashCode()
Force subclasses to implement.
|
long |
millis() |
String |
toString()
Force subclasses to implement.
|
externalizepublic NCDate(Date value)
value - date valuepublic NCDate(long millis)
millis - date valuepublic long millis()
public Date date()
public int getType()
NCTypeNCType object.public int hashCode()
NCTypehashCode in class NCTypeObject.hashCode()public boolean equals(Object other)
NCTypeequals in class NCTypeObject.equals(java.lang.Object)public String toString()
NCTypetoString in class NCTypeObject.toString()Copyright © 2010 - 2020 Adobe. All Rights Reserved