def sh_ela(cls, gregorian_year): """Return the list of fixed dates of Sh'ela occurring in Gregorian year 'gregorian_year'.""" return CopticDate.in_gregorian(3, 26, gregorian_year)
def birkath_ha_hama(cls, gregorian_year): """Return the list of fixed date of Birkath ha_Hama occurring in Gregorian year 'gregorian_year', if it occurs.""" dates = CopticDate.in_gregorian(7, 30, gregorian_year) return dates if not (dates == []) and mod(CopticDate.from_fixed(dates[0]).year, 28) == 17 else []