Fix bug in TimeSpan comparison; Make GenGeoJSON private.