Packages

 

com.aspose.cad.xmp.schemas.xmpdm

Class Timecode

  • All Implemented Interfaces:
    IXmpType, com.aspose.ms.System.IEquatable<Timecode>


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

    Represents timecode value in video.

    • Constructor Detail

      • Timecode

        public Timecode(TimeFormat format,
                        String timeValue)

        Initializes a new instance of the Timecode class.

        Parameters:
        format - The time format.
        timeValue - The time value.
    • Method Detail

      • getFormat

        public TimeFormat getFormat()

        Gets or sets the format used in the TimeValue.

        Value: The format used in the TimeValue.
      • setFormat

        public void setFormat(TimeFormat value)

        Gets or sets the format used in the TimeValue.

        Value: The format used in the TimeValue.
      • getTimeValue

        public String getTimeValue()

        Gets or sets the time value in the specified format.

        Value: The time value in the specified format.
      • setTimeValue

        public void setTimeValue(String value)

        Gets or sets the time value in the specified format.

        Value: The time value in the specified format.
      • equals

        public boolean equals(Timecode other)

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

        Parameters:
        other - An object to compare with this object.
        Returns:
        true if the current object is equal to the other parameter; otherwise, false.
      • equals

        public boolean equals(Object obj)

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

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<Timecode>
        Overrides:
        equals in class Object
        Parameters:
        obj - The System.Object to compare with this instance.
        Returns:
        true if the specified System.Object is equal to this instance; otherwise, false.
      • hashCode

        public int hashCode()

        Returns a hash code for this instance.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.