(:*******************************************************:) | |
(:Test: fn years-from-duration-1 :) | |
(:Written By: Carmelo Montanez :) | |
(:Date: June 10, 2005 :) | |
(:Purpose: Evaluates The "years-from-duration" function :) | |
(:As per example 1 (for this function)of the F&O specs :) | |
(:*******************************************************:) | |
fn:years-from-duration(xs:yearMonthDuration("P20Y15M")) |