Private Sub CouponDaysVerify() 'Verify some cases of the CouponDaysBeforeSettlement, CouponDaysAfterSettlement, ' and CouponDays functions. ' Benchmark 1 CouponDaysVerifyOne #3/1/1993#, #3/1/2007#, Actual_Actual, 0, 184, 184 CouponDaysVerifyOne #3/1/1993#, #3/1/2007#, US_NASD_30_360, 0, 180, 180 ' Benchmark 2 CouponDaysVerifyOne #3/1/1993#, #1/1/2007#, Actual_Actual, 59, 122, 181 CouponDaysVerifyOne #3/1/1993#, #1/1/2007#, US_NASD_30_360, 60, 120, 180 ' Benchmark 3 CouponDaysVerifyOne #2/28/1993#, #1/1/2007#, Actual_Actual, 58, 123, 181 CouponDaysVerifyOne #2/28/1993#, #1/1/2007#, US_NASD_30_360, 57, 123, 180 ' Benchmark 4 CouponDaysVerifyOne #1/30/1993#, #1/31/2007#, Actual_Actual, 183, 1, 184 CouponDaysVerifyOne #1/30/1993#, #1/31/2007#, US_NASD_30_360, 180, 0, 180 ' Benchmark 5 CouponDaysVerifyOne #3/1/1993#, #1/31/2007#, Actual_Actual, 29, 152, 181 CouponDaysVerifyOne #3/1/1993#, #1/31/2007#, US_NASD_30_360, 31, 149, 180 ' Benchmark 6 CouponDaysVerifyOne #12/4/1993#, #3/1/2007#, Actual_Actual, 94, 87, 181 CouponDaysVerifyOne #12/4/1993#, #3/1/2007#, US_NASD_30_360, 93, 87, 180 ' Benchmark 7 CouponDaysVerifyOne #5/31/1993#, #3/1/2007#, US_NASD_30_360, 90, 90, 180 End Sub
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.