Beispiel #1
0
 def __getDay( self , ticks ):
     """__getDay(t) --> integer
     
     Returns the integer correpsonding to the day of the month represented 
     by ticks t.
     """
     return datelib.get_day( ticks )
Beispiel #2
0
 def testFormat4(self):
     assertEquals('Day', datelib.get_day(ticks4), day4)
Beispiel #3
0
 def testFormat3(self):
     assertEquals('Day', datelib.get_day(ticks3), day3)
Beispiel #4
0
 def testFormat1(self):
     assertEquals('Day', datelib.get_day(ticks1), day1)
Beispiel #5
0
 def testFormat4( self ):
     assertEquals( 'Day',
                   datelib.get_day( ticks4 ),
                   day4 )
Beispiel #6
0
 def testFormat3( self ):
     assertEquals( 'Day',
                   datelib.get_day( ticks3 ),
                   day3 )
Beispiel #7
0
 def testFormat1( self ):
     assertEquals( 'Day',
                   datelib.get_day( ticks1 ),
                   day1 )