#NEWLINE# def date( self ) : #NEWLINE# #INDENT# '\n        Return a built-in datetime.date for Dates falling in the years [datetime.MINYEAR, datetime.MAXYEAR]\n\n        ValueError is raised for Dates outside this range.\n        ' #NEWLINE# try : #NEWLINE# #INDENT# dt = datetime_from_timestamp ( self . seconds ) #NEWLINE# return datetime . date ( dt . year , dt . month , dt . day ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# raise ValueError ( ( '%r exceeds ranges for built-in datetime.date' % self ) )