Namespace

api/academic-term

api/academic-term

Classes

AcademicTermCollection

Members

api/academicTerm.AcademicTermCollection

# static constant exports.AcademicTerms

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

View Source api/academic-term/AcademicTermCollection.ts, line 352

# static constant exports.getRandomTerm

Returns a random term.

View Source api/academic-term/SampleAcademicTerms.ts, line 10

Methods

# static exports.defineAcademicTerms()

Defines default academicTerms from 2014 till 2020.

View Source api/academic-term/AcademicTermUtilities.ts, line 10

# static exports.nextAcademicTerm(termDoc)

Returns the next AcademicTerm document given an AcademicTerm document.

Parameters:
Name Type Description
termDoc

the AcademicTerm doc.

View Source api/academic-term/AcademicTermUtilities.ts, line 30

The next AcademicTerm doc.

# static exports.nextNonSummerTerm(term)

Returns the next Fall, Winter or Spring academic term doc. Skips over Summer academic terms.

Parameters:
Name Type Description
term

the academic term doc.

View Source api/academic-term/AcademicTermUtilities.ts, line 61

The next academic term doc (excluding summer).

# static exports.upComingTerms() → {array}

Returns an array of the upcoming academicTerms.

View Source api/academic-term/AcademicTermUtilities.ts, line 73

of the upcoming academicTerms.

array