Changeset 3855 in ntrip
- Timestamp:
- Apr 12, 2012, 4:45:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/rnxobsfile.cpp
r3854 r3855 633 633 //////////////////////////////////////////////////////////////////////////// 634 634 void t_rnxObsFile::writeEpoch(const t_rnxEpo* epo) { 635 *_stream << "Epoch " << epo->tt.datestr().c_str() << " " 636 << epo->tt.timestr().c_str() << endl; 637 } 635 636 unsigned year, month, day, hour, min; 637 double sec; 638 epo->tt.civil_date(year, month, day); 639 epo->tt.civil_time(hour, min, sec); 640 641 QString dateStr; 642 QTextStream(&dateStr) << QString("%1%2%3%4%5%6") 643 .arg(year / 100, 3, 2) 644 .arg(month, 3) 645 .arg(day, 3) 646 .arg(hour, 3) 647 .arg(min, 3) 648 .arg(sec, 11, 'f', 7); 649 650 *_stream << dateStr << endl; 651 }
Note:
See TracChangeset
for help on using the changeset viewer.