DRILL-549: Implement functions for date and interval data types

Jira, DRILL-549 has the complete list of functions implemented.