摘要:
#include#include"common.h"#include#include#include"Calendar.h"#include#include#includeusingnamespaceboost::posix_time;usingnamespaceboost::gregorian;usingnamespacestd; structtagPerson{ stringname; intage;}Person; voidChangeContentBySP(tagPerson*person);intmain(intargc){ boost::sh 阅读全文
摘要:
date myDate; myDate = from_undelimited_string("20131202"); cout << to_iso_string(myDate) << endl; time_duration myTime; myTime = duration_from_string("09:58"); time_duration myOtherTime; myOtherTime = duration_from_string("09:10"); cout << myTime.minut 阅读全文
摘要:
#include#include "common.h"#include#include #includeusing namespace boost::posix_time;using namespace boost::gregorian;using namespace std;int main(int argc){ // 构造 ptime myPTime1(date(2013,6,1), hours(12)); ptime myPTime2 = from_iso_string("20130601T120000"); ptime myPTime3 = se 阅读全文
摘要:
#include#include "common.h"#include#include #include#include "Dictionary.h"using namespace std;using namespace boost::gregorian;using namespace boost;void GetShortInstrument(SWInstrumentIDDataType InstrumentID, SWShortInstrumentIDDataType szShortInstrumentID);void main(){ SWShort 阅读全文