Packages

 

com.aspose.cad.xmp.schemas.xmpdm

Class Time

  • All Implemented Interfaces:
    IXmpType


    public final class Time
    extends XmpTypeBase

    Representation of a time value in seconds.

    • Constructor Detail

      • Time

        public Time(Rational scale,
            int value)

        Initializes a new instance of the Time class.

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

      • getScale

        public Rational getScale()

        Gets or sets scale for the time value.


         For NTSC, use 1001/30000, or the less accurate 100/2997.
         For PAL, use 1/25.
         

        Returns:
        The scale for the time value.
      • setScale

        public void setScale(Rational value)

        Gets or sets scale for the time value.


         For NTSC, use 1001/30000, or the less accurate 100/2997.
         For PAL, use 1/25.
         

        Parameters:
        value - The scale for the time value.
      • getValue

        public int getValue()

        Gets or sets time value in the specified scale.

        Returns:
        The time value in the specified scale.
      • setValue

        public void setValue(int value)

        Gets or sets time value in the specified scale.

        Parameters:
        value - The time value in the specified scale.