Class NCDate
- java.lang.Object
-
- com.adobe.versioncue.nativecomm.msg.NCType
-
- com.adobe.versioncue.nativecomm.msg.NCDate
-
- All Implemented Interfaces:
INCExternalizable
public final class NCDate extends NCType
-
-
Field Summary
-
Fields inherited from class com.adobe.versioncue.nativecomm.msg.NCType
TYPE_BOOLEAN, TYPE_BYTEBUFFER, TYPE_DATE, TYPE_DOUBLE, TYPE_INTEGER, TYPE_LIST, TYPE_LONG, TYPE_MAP, TYPE_NULL, TYPE_STRING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Datedate()booleanequals(Object other)Force subclasses to implement.intgetType()Returns the type of thisNCTypeobject.inthashCode()Force subclasses to implement.longmillis()StringtoString()Force subclasses to implement.-
Methods inherited from class com.adobe.versioncue.nativecomm.msg.NCType
externalize
-
-
-
-
Constructor Detail
-
NCDate
public NCDate(Date value)
Public constructor- Parameters:
value- date value
-
NCDate
public NCDate(long millis)
Public constructor- Parameters:
millis- date value
-
-
Method Detail
-
millis
public long millis()
- Returns:
- date value
-
date
public Date date()
- Returns:
- date value
-
getType
public int getType()
Description copied from class:NCTypeReturns the type of thisNCTypeobject.
-
hashCode
public int hashCode()
Description copied from class:NCTypeForce subclasses to implement.- Specified by:
hashCodein classNCType- See Also:
Object.hashCode()
-
equals
public boolean equals(Object other)
Description copied from class:NCTypeForce subclasses to implement.- Specified by:
equalsin classNCType- See Also:
Object.equals(java.lang.Object)
-
toString
public String toString()
Description copied from class:NCTypeForce subclasses to implement.- Specified by:
toStringin classNCType- See Also:
Object.toString()
-
-