/pyjs/tests/test017.js
JavaScript | 12 lines | 12 code | 0 blank | 0 comment | 0 complexity | 1c1c43f9970ed35b9fe13b7cc09c8cd8 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
- __TimeSlot.prototype.__class__ = "TimeSlot";
- function TimeSlot() {
- return new __TimeSlot();
- }
- function __TimeSlot() {
- }
- __TimeSlot.DAYS = __TimeSlot.prototype.DAYS = new pyjslib_List(["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]);
- __TimeSlot.prototype.getDescription = function() {
- return ( ( ( ( this.DAYS.__getitem__(this.dayOfWeek) + " " ) + this.getHrsMins(this.startMinutes) ) + "-" ) + this.getHrsMins(this.endMinutes) ) ;
- };
- __TimeSlot.prototype.getHrsMins = function(mins) {
- };