@staticmethod
def _getGeneralizedTime(timeComponent):
    """Return time from Time component in YYYYMMDDHHMMSSZ format"""
    name = ''
    try:
        name = timeComponent.getName()
    except AttributeError:
        pass
    if name == 'generalTime':
        return timeComponent.getComponent()
    else:
        try:
            timeValue = timeComponent.getComponent()
        except AttributeError:
            timeValue = str(timeComponent[1][0])
        shortyear = int(timeValue[:2])
        return (shortyear >= 50 and '19' or '20') + timeValue
