(self, at)
return ' '.join(processed_ats)
Do preprocess for at value, just modify "12:12" style moment into
        "hour.12 minute.12" style moment value.

        :param at: The at value you want to do preprocess.
Do preprocess for at value, just modify "12:12" style moment into
        "hour.12 minute.12" style moment value.
Do preprocess for at value just modify 12 : 12 style moment into hour . 12 minute . 12 style moment value .
def preprocess_at(self, at):
        """Do preprocess for at value, just modify "12:12" style moment into
        "hour.12 minute.12" style moment value.

        :param at: The at value you want to do preprocess.
        """
        ats = at.split(' ')
        processed_ats = []
        for at in ats:
            if ':' in at:
                hour, minute = at.split(':')[:2]
                if minute.startswith('0') and len(minute) >= 2:
                    minute = minute[1]
                hour = 'hour.' + hour
                minute = 'minute.' + minute
                processed_ats.append(hour)
                processed_ats.append(minute)
            else:
                processed_ats.append(at)
        return ' '.join(processed_ats)
def preprocess_at ( self , at ) : ats = at . split ( ' ' ) processed_ats = [ ] for at in ats : if ':' in at : hour , minute = at . split ( ':' ) [ : 2 ] if minute . startswith ( '0' ) and len ( minute ) >= 2 : minute = minute [ 1 ] hour = 'hour.' + hour minute = 'minute.' + minute processed_ats . append ( hour ) processed_ats . append ( minute ) else : processed_ats . append ( at ) return ' ' . join ( processed_ats )