com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class Time

  • All Implemented Interfaces:
    IXmpType


    public final class Time
    extends XmpTypeBase

    Representation of a time value in seconds.

    • Constructor Detail

      • Time

        public Time(XmpRational scale,
            int value)

        Initializes a new instance of the Time class.

        Parameters:
        scale - The scale.
        value - The value.
    • Method Detail

      • getScale

        public final XmpRational getScale()

        Gets scale for the time value.

        Returns:
        The scale.
      • setScale

        public final void setScale(XmpRational value)

        Sets scale for the time value.

        Parameters:
        value - The scale.
      • getValue

        public final int getValue()

        Gets time value in the specified scale.

        Returns:
        The value.
      • setValue

        public final void setValue(int value)

        Sets time value in the specified scale.

        Parameters:
        value - The value.