def DayTimeStringsToUTCTimestamp(day, time):
 try:
  (hour, minute, second, _) = re.match(kTimeRe, time).groups()
  return util.ISO8601ToUTCTimestamp(day, hour=int(hour), minute=int(minute), second=int(second))
 except Exception as e:
  logging.warning(('Error parsing day and time strings: %s %s, error: %r' % (day, time, e)))
  return None

def DayTimeStringsToUTCTimestamp ( day , time ) : try : ( hour , minute , second , _ ) = re . match ( kTimeRe , time ) . groups ( ) return util . ISO8601ToUTCTimestamp ( day , hour = int ( hour ) , minute = int ( minute ) , second = int ( second ) ) except Exception as e : logging . warning ( ( 'Error parsing day and time strings: %s %s, error: %r' % ( day , time , e ) ) ) return None
given day and time strings .