Interface IntervalLength

All Superinterfaces:
Duration
All Known Implementing Classes:
DefaultIntervalLength

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.
Author:
Stephane Fellah (Image Matters), Alexander Petkov, Martin Desruisseaux (IRD)
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The exponent of the base.
    int
    A positive integer that is the base of the mulitplier of the unit.
    Unit
    The unit of measure used to express the length of the interval.
    int
    The length of the time interval as an integer multiple of one radix(-factor) of the specified unit.
  • Method Details

    • getUnit

      Unit getUnit()
      The unit of measure used to express the length of the interval.
    • getRadix

      int getRadix()
      A positive integer that is the base of the mulitplier of the unit.
    • getFactor

      int getFactor()
      The exponent of the base.
    • getValue

      int getValue()
      The length of the time interval as an integer multiple of one radix(-factor) of the specified unit.