modify hsql to parse some extract timestamp field function, and add test...

... case to these functions
Why you use Stored procedure to test YEAR, MONTH, DAY, HOUR, MINUTE, SECOND and QUATER, but AdHoc for the others? Any reason not consistent or cover both ?