add title

This commit is contained in:
Rob 2019-09-20 17:32:36 +02:00
parent 1223910d5e
commit 568c51e8eb
1 changed files with 11 additions and 4 deletions

View File

@ -61,10 +61,11 @@ var Schedule = class {
constructor(scheduleXml){
this.schedule = scheduleXml.children("schedule");
this.conf.title = this.schedule.children("conference").children("title").text();
this.conf.start = this.schedule.children("conference").children("start").text();
this.conf.end = this.schedule.children("conference").children("end").text();
this.events = this.getEvents();
this.conf.version = this.schedule.children("version").text();
this.conf.title = this.schedule.children("conference").children("title").text();
this.conf.start = this.schedule.children("conference").children("start").text();
this.conf.end = this.schedule.children("conference").children("end").text();
this.events = this.getEvents();
}
/**
@ -74,6 +75,12 @@ var Schedule = class {
this.now = time;
}
/**
* @return String the schedule version
*/
getScheduleVersion(){
return this.conf.version ;
}
/**
* @return String the schedule title
*/