def _get_volume_creation_time(volume):
    try:
        # AWS
        return volume.extra['create_time']
    except KeyError:
        # Rackspace.  Timestamps have no timezone indicated.  Manual
        # experimentation indicates timestamps are in UTC (which of course
        # is the only reasonable thing).
        return parse_date(
            volume.extra['created_at']
        ).replace(tzinfo=tzutc())
Internal method used by the scheduler.
dataset/ETHPy150Open ClusterHQ/flocker/admin/cleanup.py/_get_volume_creation_time--crossover with--dataset/ETHPy150Open spotify/luigi/luigi/task.py/Task.deps