added new data time api exercise with test case