예제 #1
0
 def uid(self):
     return Base36.to36(self.index)
예제 #2
0
 def getNowTimecode36(cls, baseTime=0):
     return Base36.to36(cls.getNowSeconds() - baseTime)
예제 #3
0
 def i36(self):
     return Base36.to36(self.i)
예제 #4
0
파일: TimeUtils.py 프로젝트: sernst/PyAid
 def getNowTimecode36(cls, baseTime=0):
     return Base36.to36(cls.getNowSeconds() - baseTime)
예제 #5
0
 def to36(cls, value):
     """Doc..."""
     return Base36.to36(int(value))
예제 #6
0
 def from36(cls, value):
     """Doc..."""
     return Base36.from36(value, True)
예제 #7
0
 def to36(cls, value):
     """Doc..."""
     return Base36.to36(int(value))
예제 #8
0
 def from36(cls, value):
     """Doc..."""
     return Base36.from36(value, True)