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)
Indicates whether the current object is equal to another object of the same type.
|
boolean |
equals(Timecode other)
Indicates whether the current object is equal to another object of the same type.
|
TimeFormat |
getFormat()
Format used in the
TimeValue . |
String |
getTimeValue()
Time value in the specified format.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
int |
hashCode()
Returns a hash code for this instance.
|
void |
setFormat(TimeFormat value)
Format used in the
TimeValue . |
void |
setTimeValue(String value)
Time value in the specified format.
|
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
public Timecode(TimeFormat format, String timeValue)
Initializes a new instance of the Timecode
class.
format
- Time format.timeValue
- Time value.public final TimeFormat getFormat()
Format used in the TimeValue
.
public final void setFormat(TimeFormat value)
Format used in the TimeValue
.
public final String getTimeValue()
Time value in the specified format.
Value: The time value.public final void setTimeValue(String value)
Time value in the specified format.
Value: The time value.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpTypeBase
string
contained XMP representation.public final boolean equals(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)
Indicates whether the current object is equal to another object of the same type.
Copyright © 2017. All rights reserved.