private void SetSecularDate() { this._displayingSecularDate = this._displayingJewishDate.GregorianDate; /*------------------------------------------------------------------------------------------------------------------------------- * The zmanim shown will always be for the Gregorian Date that starts at midnight of the current Jewish Date. * We use the JewishDateCalculations.GetGregorianDateFromJewishDate function * which gets the Gregorian Date that will be at midnight of the given Jewish day. * ----------------------------------------------------------------------------------------------------------------------------------*/ this._secularDateAtMidnight = JewishDateCalculations.GetGregorianDateFromJewishDate(this._displayingJewishDate); }