Exemple #1
0
 /// <summary>
 ///     Create a new instance of <see cref="CalculationMethod" /> object.
 /// </summary>
 public CalculationMethod()
 {
     FajrParameter    = new PrayerCalculationParameter(0.0, PrayerCalculationParameterType.MinutesAdjust);
     MaghribParameter = new PrayerCalculationParameter(0.0, PrayerCalculationParameterType.MinutesAdjust);
     IshaParameter    = new PrayerCalculationParameter(0.0, PrayerCalculationParameterType.MinutesAdjust);
     SetCalculationMethodPreset(SystemClock.Instance.GetCurrentInstant(), CalculationMethodPreset.UmmAlQuraUniversity);
 }
 /// <summary>
 ///     Create a new instance of <see cref="PrayerCalculationSettings" /> object.
 /// </summary>
 public PrayerCalculationSettings()
 {
     ImsakParameter         = new PrayerCalculationParameter(-10.0, PrayerCalculationParameterType.MinutesAdjust);
     CalculationMethod      = new CalculationMethod();
     JuristicMethod         = new JuristicMethod();
     HighLatitudeAdjustment = HighLatitudeAdjustment.None;
 }