'Convert into datetime.time'

@staticmethod
def _time(b):

    if isinstance(b, datetime.time):
        return b
    elif isinstance(b, basestring):
        validator = IS_TIME()
        (value, error) = validator(v)
        if error:
            raise ValueError
        return value
    else:
        raise TypeError
