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 or sets scale for the time value.

        Value: The scale.
      • setScale

        public final void setScale(XmpRational value)

        Gets or sets scale for the time value.

        Value: The scale.
      • getValue

        public final int getValue()

        Gets or sets time value in the specified scale.

        Value: The value.
      • setValue

        public final void setValue(int value)

        Gets or sets time value in the specified scale.

        Value: The value.