org.jcodec.containers.mkv.ebml
Class DateElement
java.lang.Object
org.jcodec.containers.mkv.ebml.Element
org.jcodec.containers.mkv.ebml.BinaryElement
org.jcodec.containers.mkv.ebml.SignedIntegerElement
org.jcodec.containers.mkv.ebml.DateElement
public class DateElement
- extends SignedIntegerElement
|
Method Summary |
Date |
getDate()
Get the Date value of this element |
void |
setDate(Date value)
Set the Date of this element |
void |
setMiliseconds(long milliseconds)
It's not recommended to use this method. |
void |
setValue(long value)
|
| Methods inherited from class org.jcodec.containers.mkv.ebml.Element |
ebmlBytes, ebmlBytes, getEbmlSize, getId, getSize, isSameEbmlId, isSameMatroskaType, mux, mux, readData, setParent, skipData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnixEpochDelay
public static long UnixEpochDelay
DateElement
public DateElement(byte[] type)
setDate
public void setDate(Date value)
- Set the Date of this element
- Parameters:
value - Date to set
getDate
public Date getDate()
- Get the Date value of this element
- Returns:
- Date of this element
setMiliseconds
public void setMiliseconds(long milliseconds)
- It's not recommended to use this method.
Use the setDate(Date) method instead.
setValue
public void setValue(long value)
- Overrides:
setValue in class SignedIntegerElement
Copyright © 2013. All Rights Reserved.