def build_previous_month_condition(
        self,
        current_datetime: datetime,
        offset: int,
        period: int = 1