com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class Timecode

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


    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 - Time format.
        timeValue - Time value.
    • Method Detail

      • getFormat

        public final TimeFormat getFormat()

        Format used in the TimeValue.

        Returns:
        The format.
      • setFormat

        public final void setFormat(TimeFormat value)

        Format used in the TimeValue.

      • getTimeValue

        public final String getTimeValue()

        Time value in the specified format.

        Returns:
        The time value.
      • setTimeValue

        public final void setTimeValue(String value)

        Time value in the specified format.

      • equals

        public final 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)

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

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<Timecode>
        Overrides:
        equals in class Object
        Parameters:
        obj - An object to compare with this object.
        Returns:
        true if the current object is equal to the obj parameter; 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.