Add Z to AbsoluteDate.toString() for UTC
Now the toString methods of AbsoluteDate include an indication of the UTC offset where the UTC time scale is clearly specified. The toString(TimeScale) method does not append a UTC offset indicator since that method can generate strings for any time scale and it is not clear from within the method if the time scale is intended to be UTC. Updated some TimeSpanDragForceTest to use toString(TimeScale) because that is what is used in the production code. Updated other tests to include "Z". Fix #637
Showing
- src/changes/changes.xml 4 additions, 0 deletionssrc/changes/changes.xml
- src/main/java/org/orekit/time/AbsoluteDate.java 1 addition, 1 deletionsrc/main/java/org/orekit/time/AbsoluteDate.java
- src/test/java/org/orekit/errors/TimeStampedCacheExceptionTest.java 2 additions, 2 deletions...java/org/orekit/errors/TimeStampedCacheExceptionTest.java
- src/test/java/org/orekit/estimation/measurements/gnss/MeasurementCombinationFactoryTest.java 1 addition, 1 deletion.../measurements/gnss/MeasurementCombinationFactoryTest.java
- src/test/java/org/orekit/forces/drag/TimeSpanDragForceTest.java 15 additions, 10 deletions...st/java/org/orekit/forces/drag/TimeSpanDragForceTest.java
- src/test/java/org/orekit/time/AbsoluteDateTest.java 6 additions, 6 deletionssrc/test/java/org/orekit/time/AbsoluteDateTest.java
- src/test/java/org/orekit/time/UTCScaleTest.java 1 addition, 1 deletionsrc/test/java/org/orekit/time/UTCScaleTest.java
Loading
Please register or sign in to comment