adapter functions for hour, day, week and month start dates.  adapter functions for timezone conversion.  unit tests.