def merch_year_from_date(date)
      if end_of_year(date.year) >= date
        return date.year
      else
        return date.year + 1
      end
    end
def merch_year_from_date(date)
      if end_of_year(date.year) >= date
        return date.year
      else
        return date.year + 1
      end
    end
Given any julian date it will return what Fiscal Year it belongs to

 @param date [Date] the julian date to convert to its Fiscal Year
 @return [Integer] the fiscal year that the julian date falls into