Timecode

Inheritance: java.lang.Object, com.aspose.psd.xmp.types.XmpTypeBase

All Implemented Interfaces: com.aspose.ms.System.IEquatable

public final class Timecode extends XmpTypeBase implements System.IEquatable<Timecode>

Represents timecode value in video.

Constructors

ConstructorDescription
Timecode(TimeFormat format, String timeValue)Initializes a new instance of the Timecode class.

Methods

MethodDescription
equals(Object obj)Determines whether the specified System.Object , is equal to this instance.
getClass()
getFormat()Gets or sets the format used in the TimeValue .
getTimeValue()Gets or sets the time value in the specified format.
getXmpRepresentation()Returns the string contained value in XMP format.
hashCode()Returns a hash code for this instance.
isEquals(Timecode other)Indicates whether the current object is equal to another object of the same type.
notify()
notifyAll()
setFormat(TimeFormat value)Gets or sets the format used in the TimeValue .
setTimeValue(String value)Gets or sets the time value in the specified format.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Timecode(TimeFormat format, String timeValue)

public Timecode(TimeFormat format, String timeValue)

Initializes a new instance of the Timecode class.

Parameters:

ParameterTypeDescription
formatTimeFormatThe time format.
timeValuejava.lang.StringThe time value.

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified System.Object , is equal to this instance.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe System.Object to compare with this instance.

Returns: boolean - true if the specified System.Object is equal to this instance; otherwise, false .

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFormat()

public TimeFormat getFormat()

Gets or sets the format used in the TimeValue .

Value: The format used in the TimeValue .

Returns: TimeFormat

getTimeValue()

public String getTimeValue()

Gets or sets the time value in the specified format.

Value: The time value in the specified format.

Returns: java.lang.String

getXmpRepresentation()

public String getXmpRepresentation()

Returns the string contained value in XMP format.

Returns: java.lang.String - Returns the string contained value in XMP format.

hashCode()

public int hashCode()

Returns a hash code for this instance.

Returns: int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

isEquals(Timecode other)

public boolean isEquals(Timecode other)

Indicates whether the current object is equal to another object of the same type.

Parameters:

ParameterTypeDescription
otherTimecodeAn object to compare with this object.

Returns: boolean - true if the current object is equal to the other parameter; otherwise, false.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setFormat(TimeFormat value)

public void setFormat(TimeFormat value)

Gets or sets the format used in the TimeValue .

Value: The format used in the TimeValue .

Parameters:

ParameterTypeDescription
valueTimeFormat

setTimeValue(String value)

public void setTimeValue(String value)

Gets or sets the time value in the specified format.

Value: The time value in the specified format.

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int