Example #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 )
Example #2
0
 def testFormat4(self):
     assertEquals('Day', datelib.get_day(ticks4), day4)
Example #3
0
 def testFormat3(self):
     assertEquals('Day', datelib.get_day(ticks3), day3)
Example #4
0
 def testFormat1(self):
     assertEquals('Day', datelib.get_day(ticks1), day1)
Example #5
0
 def testFormat4( self ):
     assertEquals( 'Day',
                   datelib.get_day( ticks4 ),
                   day4 )
Example #6
0
 def testFormat3( self ):
     assertEquals( 'Day',
                   datelib.get_day( ticks3 ),
                   day3 )
Example #7
0
 def testFormat1( self ):
     assertEquals( 'Day',
                   datelib.get_day( ticks1 ),
                   day1 )