def _get_year_end_last(self, dt): current_year = datetime( dt.year, self.startingMonth, 1, tzinfo=dt.tzinfo) return current_year + self._offset_lwom