For the spatial types which is used on our Earth (in WGS84, Pulkovo, etc. systems) the correct functions are: GetLon() and GetLat(). And I recommend using exactly these functions.
The behavior of GetX() and GetY() depend on the spatial system type and they are more intended for Cartesian system.