From: <de...@us...> - 2003-01-20 18:27:02
|
Update of /cvsroot/csp/APPLICATIONS/SimData/Source In directory sc8-pr-cvs1:/tmp/cvs-serv1797 Modified Files: Tag: simdata Date.cpp Log Message: no message Index: Date.cpp =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/SimData/Source/Attic/Date.cpp,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** Date.cpp 20 Jan 2003 04:06:53 -0000 1.1.2.2 --- Date.cpp 20 Jan 2003 18:26:56 -0000 1.1.2.3 *************** *** 31,34 **** --- 31,35 ---- #ifdef _WIN32 #include <Windows.h> + #include <ctime> static LARGE_INTEGER _tstart, _tend; static LARGE_INTEGER freq; *************** *** 506,510 **** *this = SimDate(dy, dm, dd, th, tm, ts); } ! catch (InvalidDate &e) { throw ParseException("SYNTAX ERROR: invalid date string"); } --- 507,511 ---- *this = SimDate(dy, dm, dd, th, tm, ts); } ! catch (InvalidDate) { throw ParseException("SYNTAX ERROR: invalid date string"); } |