PrayerTimes.utc constructor

PrayerTimes.utc(
  1. Coordinates coordinates,
  2. DateComponents dateComponents,
  3. CalculationParameters calculationParameters
)

Calculate PrayerTimes and Output UTC Times.

coordinates the coordinates of the location dateComponents the date components for that location calculationParameters the parameters for the calculation

Implementation

factory PrayerTimes.utc(
    Coordinates coordinates,
    DateComponents dateComponents,
    CalculationParameters calculationParameters) {
  return PrayerTimes._(
      coordinates,
      CalendarUtil.resolveTimeByDateComponents(dateComponents),
      calculationParameters,
      utcOffset: Duration());
}