'Set both the UTC and TZO fields given a time object.
Arguments:
value -- A datetime object or properly formatted
string equivalent.'

def set_time(self, value):

    date = value
    if (not isinstance(value, dt.datetime)):
        date = xep_0082.parse(value)
    self['utc'] = date
    self['tzo'] = date.tzinfo
