PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/pyjs/tests/test017.js

http://pyjamas.googlecode.com/
JavaScript | 12 lines | 12 code | 0 blank | 0 comment | 0 complexity | 1c1c43f9970ed35b9fe13b7cc09c8cd8 MD5 | raw file
 1__TimeSlot.prototype.__class__ = "TimeSlot";
 2function TimeSlot() {
 3    return new __TimeSlot();
 4}
 5function __TimeSlot() {
 6}
 7__TimeSlot.DAYS = __TimeSlot.prototype.DAYS = new pyjslib_List(["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]);
 8__TimeSlot.prototype.getDescription = function() {
 9    return  (  (  (  ( this.DAYS.__getitem__(this.dayOfWeek) + " " )  + this.getHrsMins(this.startMinutes) )  + "-" )  + this.getHrsMins(this.endMinutes) ) ;
10};
11__TimeSlot.prototype.getHrsMins = function(mins) {
12};