Readonly
entriesStatic
htmlParse the TimeTable
from HTML in a custom way
a new TimeTable
instance
// use custom html-handler
TimeTable.htmlHandler = (html) => {
var div = html("my-div")
var data = div.text()
return new TimeTable(...)
}
// reset html-handler to default
TimeTable.htmlHandler = undefined
The html object from where the data is to be extracted
Find a certain subject by its long subject name.
For e.g Englisch
for E
.
If you want to find a subject based on its subject short, then please
use the TimeTable.findBySubjectShort
function
an Array of Entries that match the subject
The full subject name
Find a certain subject by its subject short.
For e.g the short for Englisch
would be E
.
If you want to find a subject based on its long name,
use the TimeTable.findBySubjectLong
function
an Array of Entries that match the subject
The subject short you want to search for
Update the subject shorts for all entries in this timetable instance
timetable.registerSubjectShorts(new Map([["D", "Deutsch"]]))
The subject shorts mapped to their long name
Static
cleanedStatic
fromStatic
fromJSONGenerated using TypeDoc
The time table resource