get Sof Zman Kidush Levana Between Moldos
Returns the latest time of Kidush Levana according to the Maharil's opinion that it is calculated as halfway between molad and molad. This adds half the 29 days, 12 hours and 793 chalakim time between molad and molad (14 days, 18 hours, 22 minutes and 666 milliseconds) to the month's molad. If the time of sof zman Kiddush Levana occurs during the day (between the alos and tzais passed in as parameters), it returns the alos passed in. If a null alos or tzais are passed to this method, the non-daytime adjusted time will be returned.
Return
null if the jewish day of the month is < 11 or 16. Otherwise, the Date representing the moment halfway between molad and molad. If the time occurs between alos and tzais, alos will be returned.
Parameters
the beginning of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at tzais), the time returned will be alos. If either the alos or tzais parameters are null, no daytime adjustment will be made.
the end of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at tzais), the time returned will be alos. If either the alos or tzais parameter are null, no daytime adjustment will be made.