com.ihr.xbrl.om.formula.aspects

## Interface PeriodAspectInterface

- All Known Implementing Classes:
    DefaultAspectRule, PeriodAspectRule

      public interface PeriodAspectInterface

  This is the interface for all Period Aspect Resolver classes. During static checking of the formula, an instance of a class implementing this interface must be associated with the formula period aspect resolver.
  Author:
    Ignacio

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `XBRLPeriod` | `getPeriod(XPathHelper xph)` Gets the period.
    `XBRLItem.PeriodType` | `getPeriodType(XBRLItem item)` Returns a constant identifying either XBRLItem.DURATION or XBRLItem.INSTANT

- - ### Method Detail

    - #### getPeriodType

          XBRLItem.PeriodType getPeriodType(XBRLItem item)

      Returns a constant identifying either XBRLItem.DURATION or XBRLItem.INSTANT
      Parameters:
        `item` - the item
      Returns:
        the period type

    - #### getPeriod

          XBRLPeriod getPeriod(XPathHelper xph)
                               throws XFValidationException

      Gets the period.
      Parameters:
        `xph` - the xph
      Returns:
        the period
      Throws:
        `XFValidationException` - the XF validation exception