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 Date
date()
boolean
equals(Object other)
Force subclasses to implement.int
getType()
Returns the type of thisNCType
object.int
hashCode()
Force subclasses to implement.long
millis()
String
toString()
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:NCType
Returns the type of thisNCType
object.
-
hashCode
public int hashCode()
Description copied from class:NCType
Force subclasses to implement.- Specified by:
hashCode
in classNCType
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object other)
Description copied from class:NCType
Force subclasses to implement.- Specified by:
equals
in classNCType
- See Also:
Object.equals(java.lang.Object)
-
toString
public String toString()
Description copied from class:NCType
Force subclasses to implement.- Specified by:
toString
in classNCType
- See Also:
Object.toString()
-
-