def get_uphill_downhill(self):
        if not self.points:
            return UphillDownhill(0, 0)

        elevations = list(map(lambda point: point.elevation, self.points))
        uphill, downhill = mod_geo.calculate_uphill_downhill(elevations)

        return UphillDownhill(uphill, downhill)
Handles a daytime command. This could either be a command to set
dataset/ETHPy150Open tkrajina/gpxpy/gpxpy/gpx.py/GPXTrackSegment.get_uphill_downhill--crossover with--dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/util/network_communication.py/NetworkCommunication._handle_daytime_command