def longitude(self, value):
        """Set longitude value in degrees."""
        self._longitude = math.radians(float(value))

        # update time_zone
        if abs((value / 15.0) - self.time_zone) > 1:
            # if time_zone doesn't match the longitude update the time_zone
            self.time_zone = value / 15.0
def longitude ( self , value ) : self . _longitude = math . radians ( float ( value ) ) if abs ( ( value / 15.0 ) - self . time_zone ) > 1 : self . time_zone = value / 15.0
Set longitude value in degrees.