public class MillisField extends DCField
Modifier and Type | Field and Description |
---|---|
static int |
LENGTH |
Constructor and Description |
---|
MillisField() |
MillisField(FieldKey key) |
MillisField(FieldKey key,
long val) |
MillisField(int id,
byte[] val)
Deprecated.
deprecated use MillisField(FieldKey) followed by setValue(byte[])
|
MillisField(int id,
long val)
Deprecated.
Use MillisField(FieldKey key, long val)
|
MillisField(java.lang.String id,
byte[] val)
Deprecated.
use MillisField(FieldKey) followed by setValue(byte[])
|
MillisField(java.lang.String id,
long val)
deprecated
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDateValue() |
double |
getDoubleValue() |
long |
getLongValue() |
java.lang.String |
getStringValue() |
int |
getType() |
void |
setValue(long l)
Sets the value of this MillisField from the given long value
|
clone, create, dup, equals, equalsValue, getBytes, getBytesValue, getByteValue, getDCField, getDCField, getDCField, getFloatValue, getID, getIntValue, getKey, getLength, getShortValue, getStaticAttrLength, init, init, init, isEmpty, isVarLength, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromStream, readValueFromStream, setID, setID, setKey, setType, setValue, toString, writeValueToStream
public static final int LENGTH
public MillisField()
public MillisField(FieldKey key)
public MillisField(FieldKey key, long val)
public MillisField(int id, byte[] val)
public MillisField(java.lang.String id, byte[] val)
public MillisField(int id, long val)
public MillisField(java.lang.String id, long val)
public void setValue(long l) throws NDKException
NDKException
public int getType()
public java.util.Date getDateValue() throws java.lang.ClassCastException
getDateValue
in class DCField
java.lang.ClassCastException
public double getDoubleValue() throws java.lang.ClassCastException
getDoubleValue
in class DCField
java.lang.ClassCastException
public long getLongValue() throws java.lang.ClassCastException
getLongValue
in class DCField
java.lang.ClassCastException
public java.lang.String getStringValue() throws java.lang.ClassCastException
getStringValue
in class DCField
java.lang.ClassCastException