code: public int getTimeWindowLayoutType() {
  
          int layoutstyle = CmsResourceUtil.LAYOUTSTYLE_INRANGE;
          if (!m_resource.isReleased(getCms().getRequestContext().getRequestTime())) {
              layoutstyle = CmsResourceUtil.LAYOUTSTYLE_BEFORERELEASE;
          } else if (m_resource.isExpired(getCms().getRequestContext().getRequestTime())) {
              layoutstyle = CmsResourceUtil.LAYOUTSTYLE_AFTEREXPIRE;
          }
          return layoutstyle;
      }
docs: Returns the layout style for the current time window state.<p>
  
  <ul>
  <li><code>{@link CmsResourceUtil#LAYOUTSTYLE_INRANGE}</code>: The time window is in range
  <li><code>{@link CmsResourceUtil#LAYOUTSTYLE_BEFORERELEASE}</code>: The resource is not yet released
  <li><code>{@link CmsResourceUtil#LAYOUTSTYLE_AFTEREXPIRE}</code>: The resource has already expired
  </ul>
  
  @return the layout style for the current time window state
  
  @see #getTimeWindowLayoutStyle()