HIVE-10044: Allow interval params for year/month/day/hour/minute/second functions (Jason Dere, reviewed by Thejas Nair)