@property<EOL><INDENT>def havdalah(self):<DEDENT>
today = HDate(gdate=self.date, diaspora=self.location.diaspora)<EOL>tomorrow = HDate(gdate=self.date + dt.timedelta(days=<NUM_LIT:1>),<EOL>diaspora=self.location.diaspora)<EOL>if today.is_shabbat or today.is_yom_tov:<EOL><INDENT>if tomorrow.is_shabbat or tomorrow.is_yom_tov:<EOL><INDENT>return None<EOL><DEDENT>return self._havdalah_datetime<EOL><DEDENT>return None<EOL>
Return the time for havdalah, or None if not applicable.

        If havdalah_offset is 0, uses the time for three_stars. Otherwise,
        adds the offset to the time of sunset and uses that.
        If it's currently a multi-day YomTov, and the end of the stretch is
        after today, the havdalah value is defined to be None (to avoid
        misleading the user that melacha is permitted).