Interface IntervalLength

  • All Superinterfaces:
    Duration

    @UML(identifier="TM_IntervalLength",
         specification=ISO_19108)
    public interface IntervalLength
    extends Duration
    A data type for intervals of time which supports the expression of duration in terms of a specified multiple of a single unit of time.
    Since:
    2.3
    • Method Detail

      • getUnit

        @UML(identifier="unit",
             obligation=MANDATORY,
             specification=ISO_19108)
        Unit getUnit()
        Returns Unit of measure used to express the length of the interval.
        Returns:
        Unit of measure used to express the length of the interval.
      • getRadix

        @UML(identifier="radix",
             obligation=MANDATORY,
             specification=ISO_19108)
        int getRadix()
        Returns positive integer that is the base of the multiplier of the unit.
        Returns:
        positive integer that is the base of the multiplier of the unit.
      • getFactor

        @UML(identifier="factor",
             obligation=MANDATORY,
             specification=ISO_19108)
        int getFactor()
        Returns the exposant of the base.
        Returns:
        the exposant of the base.
      • getValue

        @UML(identifier="value",
             obligation=MANDATORY,
             specification=ISO_19108)
        int getValue()
        Returns the length of the time interval as an integer multiple of one radix(-factor) of the specified unit.
        Returns:
        the length of the time interval.