api/semester

api/semester

Classes

SemesterCollection

Members

(static, constant) exports.Semesters :api/semester.SemesterCollection

Source:

Provides the singleton instance of this class to all other entities.

Type:

Methods

(static) exports.defineSemesters()

Source:

Defines default semesters from 2014 till 2020.

(static) exports.nextFallSpringSemester(semester)

Source:

Returns the next Fall or Spring semester doc. Skips over Summer semesters.

Parameters:
Name Type Description
semester

the semester doc.

Returns:

The next semester doc (excluding summer).

(static) exports.nextSemester(semesterDoc)

Source:

Returns the next semester document given a semester document.

Parameters:
Name Type Description
semesterDoc

the semester doc.

Returns:

The next semester doc.