ets-berkeley-edu/calcentral — pull request #2461 by raydavis (2014-05-02 22:08:32+00:00)
Title: CLC-3466 Data-driven Financial Aid years

https://jira.ets.berkeley.edu/jira/browse/CLC-3466

The rules sound a little complicated as described in the JIRA comments, but they come down to:

- An "academic year" (e.g., 2013-2014) starts immediately after the summer term ends & extends to the end of the next summer term.
- We identify the "academic year" by the starting year. "2013" means the academic year Fall 2013 through Summer 2014.
- We always ask FinAid for the current "academic year". Starting at the end of spring break, we also ask FinAid for the next "academic year."

At the end of the Summer term, CalCentral makes Fall the "current" term.

Our Oracle views don't include the end of the spring break and so we have to enter that from the UC Berkeley academic calendar: http://registrar.berkeley.edu/CalendarDisp.aspx?terms=2016B,2015B
The PR stores the dates in a Rails-admin-editable DB table, and starts issuing error log messages when we're getting close to the end of our data.