def value(self, td):
if self.package == '<STR_LIT>':<EOL><INDENT>return td.value<EOL><DEDENT>else:<EOL><INDENT>return td.total_seconds()<EOL><DEDENT>
Return the numeric value representation on a timedelta