/pyjs/tests/test016.js

http://pyjamas.googlecode.com/ · JavaScript · 9 lines · 9 code · 0 blank · 0 comment · 0 complexity · d93c2fc18cf69b41967d5a95f7ece721 MD5 · raw file

  1. __TimeSlot.prototype.__class__ = "TimeSlot";
  2. function TimeSlot() {
  3. return new __TimeSlot();
  4. }
  5. function __TimeSlot() {
  6. }
  7. __TimeSlot.prototype.getDescription = function() {
  8. return ( ( this.getHrsMins(this.startMinutes) + "-" ) + this.getHrsMins(this.endMinutes) ) ;
  9. };