class Tenor implements Comparable<Tenor>, Serializable {

  public Period getPeriod() {
    if (_period == null) {
      throw new IllegalStateException("Could not get period for " + toString());
    }
    return _period;
  }

  @Deprecated public  Tenor(final Period period);
  private  Tenor(final BusinessDayTenor businessDayTenor);

}