private bool AbnormalNumberOfPayments(int paymentsInMonthCount)
{
switch (Frequency)
{
case WeeklyOrFortnightly.Weekly:
return paymentsInMonthCount > WeeklyPaymentsInOneNormalMonth;
case WeeklyOrFortnightly.Fortnightly:
return paymentsInMonthCount > FortnightlyPaymentsInOneNormalMonth;
default:
throw new NotSupportedException("Unexpected frequency enumeration value found: " + Frequency);
}
}