(self)
Parses the time passed and checks
        with the current time.

        Args:
            None

        Raises:
            None

        Returns:
            bool
Parses the time passed and checks
        with the current time.
Parses the time passed and checks with the current time .
def parse_time(self):
        """
        Parses the time passed and checks
        with the current time.

        Args:
            None

        Raises:
            None

        Returns:
            bool
        """
        try:
            current_time = datetime.datetime.now()
            time_lb = self.cred['time']['time_lb']
            time_ub = self.cred['time']['time_ub']

            datetime_lb = current_time.replace(hour=int((time_lb).split(':')[0]),
                                               minute=int((time_lb).split(':')[1]))
            datetime_ub = current_time.replace(hour=int((time_ub).split(':')[0]),
                                               minute=int((time_ub).split(':')[1]))

            return (current_time > datetime_lb and
                current_time < datetime_ub)
        except Exception as e:
            self.logger.log('Error: ' + str(e), logtype='error')
def parse_time ( self ) : try : current_time = datetime . datetime . now ( ) time_lb = self . cred [ 'time' ] [ 'time_lb' ] time_ub = self . cred [ 'time' ] [ 'time_ub' ] datetime_lb = current_time . replace ( hour = int ( ( time_lb ) . split ( ':' ) [ 0 ] ) , minute = int ( ( time_lb ) . split ( ':' ) [ 1 ] ) ) datetime_ub = current_time . replace ( hour = int ( ( time_ub ) . split ( ':' ) [ 0 ] ) , minute = int ( ( time_ub ) . split ( ':' ) [ 1 ] ) ) return ( current_time > datetime_lb and current_time < datetime_ub ) except Exception as e : self . logger . log ( 'Error: ' + str ( e ) , logtype = 'error' )