(self)
return every_type
Parse every value.

        :return: every_type.
Parse every value.
Parse every value .
def parse_every(self):
        """Parse every value.

        :return: every_type.
        """
        every = self.every

        if '.minute' in every:
            every_type, frequency = MINUTE, get_frequency(every)
            if frequency not in range(1, 61):
                raise ParseError("Your every value %s is invalid, out of"
                                 " minute range[1-60]" % every)
        elif '.hour' in every:
            every_type, frequency = HOUR, get_frequency(every)
            if frequency not in range(1, 25):
                raise ParseError("Your every value %s is invalid, out of"
                                 " hour range[1-24]" % every)
        elif '.day' in every:
            every_type, frequency = DAY, get_frequency(every)
            if frequency not in range(1, 32):
                raise ParseError("Your every value %s is invalid, out of"
                                 " month day range[1-31]" % every)
        elif '.month' in every or is_month(every):
            every_type = MONTH
            if '.' in every:
                frequency = get_frequency(every)
                if frequency not in range(1, 13):
                    raise ParseError("Your every value %s is invalid, out of"
                                     " month range[1-12]" % every)
        elif '.year' in every:
            every_type, frequency = MONTH, get_frequency(every)
            if frequency not in range(1, 2):
                raise ParseError("Your every value %s is invalid, out of"
                                 " year range[1]" % every)
            # Just handle months internally
            self.every = "12.months"
        elif is_week(every):
            every_type = WEEK
        else:
            raise ParseError("Your every value %s is invalid" % every)

        return every_type
def parse_every ( self ) : every = self . every if '.minute' in every : every_type , frequency = MINUTE , get_frequency ( every ) if frequency not in range ( 1 , 61 ) : raise ParseError ( "Your every value %s is invalid, out of" " minute range[1-60]" % every ) elif '.hour' in every : every_type , frequency = HOUR , get_frequency ( every ) if frequency not in range ( 1 , 25 ) : raise ParseError ( "Your every value %s is invalid, out of" " hour range[1-24]" % every ) elif '.day' in every : every_type , frequency = DAY , get_frequency ( every ) if frequency not in range ( 1 , 32 ) : raise ParseError ( "Your every value %s is invalid, out of" " month day range[1-31]" % every ) elif '.month' in every or is_month ( every ) : every_type = MONTH if '.' in every : frequency = get_frequency ( every ) if frequency not in range ( 1 , 13 ) : raise ParseError ( "Your every value %s is invalid, out of" " month range[1-12]" % every ) elif '.year' in every : every_type , frequency = MONTH , get_frequency ( every ) if frequency not in range ( 1 , 2 ) : raise ParseError ( "Your every value %s is invalid, out of" " year range[1]" % every ) # Just handle months internally self . every = "12.months" elif is_week ( every ) : every_type = WEEK else : raise ParseError ( "Your every value %s is invalid" % every ) return every_type