PageRenderTime 27ms CodeModel.GetById 12ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1, Apache-2.0
  1. __TimeSlot.prototype.__class__ = "TimeSlot";
  2. function TimeSlot() {
  3. return new __TimeSlot();
  4. }
  5. function __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. };