|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.opensmus.LValue net.sf.opensmus.LDate
public class LDate
Class representing a Lingo compatible date value (LDate for short) Date values are stored and retrieved as an opaque array of bytes Lingo is a trademark of Adobe, Inc. All rights reserved.
Field Summary |
---|
Fields inherited from class net.sf.opensmus.LValue |
---|
valueType, vt_3dTransform, vt_3dVector, vt_Color, vt_Date, vt_Float, vt_Integer, vt_List, vt_Media, vt_Picture, vt_Point, vt_PropList, vt_Rect, vt_String, vt_Symbol, vt_Void |
Constructor Summary | |
---|---|
LDate()
Constructor |
|
LDate(byte[] initbytes)
Constructor |
Method Summary | |
---|---|
void |
dump()
Reserved for internal use of OpenSMUS. |
int |
extractFromBytes(byte[] rawBytes,
int offset)
Reserved for internal use of OpenSMUS. |
byte[] |
getBytes()
Reserved for internal use of OpenSMUS. |
byte[] |
toBytes()
Returns the byte array storing the date value in binary format |
java.util.Date |
toDate()
Returns a Java Date object |
java.lang.String |
toString()
Base method, returns this LValue as a String. |
Methods inherited from class net.sf.opensmus.LValue |
---|
fromRawBytes, getLValue, getLValue, getLValue, getLValue, getLValue, getType, setType, toDouble, toInteger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LDate(byte[] initbytes)
public LDate()
Method Detail |
---|
public byte[] toBytes()
toBytes
in class LValue
public java.util.Date toDate()
public int extractFromBytes(byte[] rawBytes, int offset)
extractFromBytes
in class LValue
public byte[] getBytes()
getBytes
in class LValue
public void dump()
dump
in class LValue
public java.lang.String toString()
LValue
toString
in class LValue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |