Course

Course

new Course(data)

You'll never need to build your own courses, they will be created automatically by EDT

Source:
Parameters:
Name Type Description
data JSON

Data given by EDT when parsing iCalendar file

Methods

getEndDate() → {Date}

Get end date

Source:
Returns:
Type:
Date

getFormattedEndDate() → {string}

Get end date in a prettyfied way

Source:
Returns:
Type:
string

getFormattedStartDate() → {string}

Get start date in a prettyfied way

Source:
Returns:
Type:
string

getLocation() → {string}

Where the course takes place

Source:
Returns:
Type:
string

getProfessor() → {string}

Get professor of course

Source:
Returns:
Type:
string

getRaw() → {JSONObject}

get raw data from iCalendar file

Source:
Returns:
Type:
JSONObject

raw data

getStartDate() → {Date}

Get start date

Source:
Returns:
Type:
Date

getStudGroup() → {string}

Get student group of course

Source:
Returns:
Type:
string

getSubject() → {string}

Get subject of course

Source:
Returns:
Type:
string

getType() → {string}

Get which type of course is it

Source:
Returns:
Type:
string