Specify time structure for HeathJarrowMorton interestrate tree
TimeSpec = hjmtimespec(ValuationDate,
Maturity, Compounding)
 Scalar date marking the pricing date and first observation in the tree. Specify as serial date number or date string. 
 Number of levels (depth) of the tree. A number of levels
( 
 (Optional) Scalar value representing the rate at which
the input zero rates were compounded when annualized. Default =

TimeSpec = hjmtimespec(ValuationDate,
Maturity, Compounding)
sets the number of levels and node
times for an HJM tree and determines the mapping between dates and
time for rate quoting.
TimeSpec
is a structure specifying the time
layout for hjmtree
. The state
observation dates are [Settle; Maturity(1:end1)]
.
Because a forward rate is stored at the last observation, the tree
can value cash flows out to Maturity
.