def get_fiscal_year_period(calendar_date):
    """Convert calendar date to a federal fiscal year and period."""
    if calendar_date.month in [10, 11, 12]:
        return calendar_date.year + 1, calendar_date.month - 9
    else:
        return calendar_date.year, calendar_date.month + 3