class InterestRate {

public abstract PeriodicInterestRate toPeriodic(int periodsPerYear)public abstract PeriodicInterestRate toPeriodic(int periodsPerYear);

public abstract PeriodicInterestRate toPeriodic(int periodsPerYear)public  InterestRate(final double rate);

}