PageRenderTime 101ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 59ms app.codeStats 0ms

/pyjs/tests/test017.py

http://pyjamas.googlecode.com/
Python | 9 lines | 6 code | 3 blank | 0 comment | 0 complexity | 4348e22e8de653ef262e64eaa3e4fffa MD5 | raw file
1class TimeSlot:
2
3    DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
4
5    def getDescription(self):
6        return self.DAYS[self.dayOfWeek] + " " + self.getHrsMins(self.startMinutes) + "-" + self.getHrsMins(self.endMinutes)
7
8    def getHrsMins(self, mins):
9        pass