Hi Alan, > Speaking of cross-platform, it would be good if OS X and Windows developers > did an ordinary PLplot build to make sure that libqsastime gets built > automatically and without build errors as part of that process. If no build > errors occur for those platforms, further testing of example 29 (to > indirectly test strfMJD) and running lib/qsastime/qsastime_test in the build > tree is requested. > I compiled the latest svn version (9470) with Visual C++ 2008 and the qsastime library built fine, also example 29. I could run example 29 and it looked fine, no crashes or warnings (we had this before).
Running lib/qsastime/qsastime_test I get: ------------------------------------------------------------------------------------------------------ Start date/time components: 2004-1-23 13:39: 2.345678901 date/time components: 2004-1-23 13:39: 2.345678901 MJD = 53027, seconds = 49142.345678901 MJD = 53027.5687771491 JD = 2453028.0687771491 ISO string = '2004-01-23 13:39:02.3456789010' strfMJD:ISO equiv: '2004-01-23 13:39:02.345678901' strfMJD:ISO equiv: '2004-01-23T13:39:02.3456Z' difference MJD (month/day) - MJD(doy) '0' difference MJD (d-1, h+24) - MJD(d, h) '-8.42125e-017' CDF epoch sec 63242084342345.680 from CDF ISO string (CDF epoch is accurate to msec only) = '2004-01-23T13:39:02.3456802368Z' Day of week is/was Fri ISO string = '2004-01-23 13:39:02.3456789010' for 2004-01-23 13:39:02.3456789010, MJD = 53027, seconds = 49142.345679 ISO string = '2004-01-23T13:39:02.3456789010Z' for 2004-01-23T13:39:02.3456789010Z, MJD = 53027, seconds = 49142.345679 Gregorian = '1752-09-15 00:39:02.3456789010' 1752-09-26T00:39:02.3456789010Z Julian = '1752-09-15 00:39:02.3456789010' Gregorian, (give us back our 11 days) chars 154 for strfMJD(): -------- 'Fri Jan 23 13:39:02 UTC 2004' Fri Jan 23 13:39:02 2004 01/23/04 2004-01-23 023 01:39:02 PM 1074865142 23-Jan-2004 strftime(): (invalid before 1970) ------ 'Fri Jan 23 13:39:02 UTC 2004' 01/23/04 13:39:02 01/23/04 2004-01-23 023 01:39:02 PM %s not implemented 23-Jan-2004 ------------------------------------------------------------------------------------------------------ Great work, that it compiles and runs on Windows out of the box! Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel