Changeset 11019 in ntrip for trunk/BNC/src/bncutils.cpp
- Timestamp:
- Sep 10, 2026, 3:45:13 PM (2 hours ago)
- File:
-
- 1 edited
-
trunk/BNC/src/bncutils.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncutils.cpp
r10791 r11019 203 203 // 204 204 //////////////////////////////////////////////////////////////////////////// 205 double decimalYear(const bncTime& time) { 206 207 unsigned int year, month, day; 208 time.civil_date(year, month, day); 209 210 bncTime jan1; 211 jan1.set(int(year), 1, 1, 0, 0, 0.0); 212 213 return year + (time.mjddec() - jan1.mjddec()) / 365.25; 214 } 215 216 // 217 //////////////////////////////////////////////////////////////////////////// 205 218 void currentGPSWeeks(int& week, double& sec) { 206 219
Note:
See TracChangeset
for help on using the changeset viewer.
