Cast functions from IntervalDay, IntervalYear to Interval and vice versa