Refactored getPrayerTimesForDate