'Convert input value to a Time object and validate by running through
the Time constructor.  Also check that the input was a scalar.
Parameters
value : object
Input value to be converted.
Returns
out, converted : correctly-typed object, boolean
Tuple consisting of the correctly-typed object and a boolean which
indicates if conversion was actually performed.
Raises
ValueError
If the input is not valid for this attribute.'

def convert_input(self, value):

    from ..time import Time
    if (value is None):
        return (None, False)
    if isinstance(value, Time):
        out = value
        converted = False
    else:
        try:
            out = Time(value)
        except Exception as err:
            raise ValueError(u'Invalid    time    input    {0}={1!r}\n{2}'.format(self.name, value, err))
        converted = True
    return (out, converted)
