public final class Timecode extends XmpTypeBase implements com.aspose.ms.System.IEquatable<Timecode>
Represents timecode value in video.
Constructor and Description |
---|
Timecode(TimeFormat format,
String timeValue)
Initializes a new instance of the
Timecode class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified
System.Object , is equal to this instance. |
TimeFormat |
getFormat()
Gets or sets the format used in the
TimeValue . |
String |
getTimeValue()
Gets or sets the time value in the specified format.
|
String |
getXmpRepresentation()
Returns the string contained value in XMP format.
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isEquals(Timecode other)
Indicates whether the current object is equal to another object of the same type.
|
void |
setFormat(TimeFormat value)
Gets or sets the format used in the
TimeValue . |
void |
setTimeValue(String value)
Gets or sets the time value in the specified format.
|
public Timecode(TimeFormat format, String timeValue)
Initializes a new instance of the Timecode
class.
format
- The time format.timeValue
- The time value.public TimeFormat getFormat()
Gets or sets the format used in the TimeValue
.
TimeValue
.public void setFormat(TimeFormat value)
Gets or sets the format used in the TimeValue
.
TimeValue
.public String getTimeValue()
Gets or sets the time value in the specified format.
Value: The time value in the specified format.public void setTimeValue(String value)
Gets or sets the time value in the specified format.
Value: The time value in the specified format.public String getXmpRepresentation()
Returns the string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpTypeBase
public boolean isEquals(Timecode other)
Indicates whether the current object is equal to another object of the same type.
other
- An object to compare with this object.other
parameter; otherwise, false.public boolean equals(Object obj)
Determines whether the specified System.Object
, is equal to this instance.