- Timestamp:
- Oct 11, 2024, 3:48:52 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnctime.cpp
r8718 r10566 199 199 long gpsw; 200 200 jdgp(_mjd, gsec, gpsw); 201 if( gsec <=14.0)201 if(_sec < 14.0) 202 202 gpsw -= 1; 203 203 return (int)gpsw-1356; … … 210 210 long gpsw; 211 211 jdgp(_mjd, gsec, gpsw); 212 if(gsec <= 14.0) 213 gsec += 7.0*24.0*60.0*60.0-14.0; 214 else 215 gsec -= 14.0; 212 if(_sec < 14.0) 213 gsec += 7.0*24.0*60.0*60.0; 214 gsec -= 14.0; 216 215 return gsec + _sec; 217 216 }
Note:
See TracChangeset
for help on using the changeset viewer.