Update of /cvsroot/boost/boost/libs/date_time/test/local_time
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7913

Modified Files:
        testtz_database.cpp 
Log Message:
test update to coorespond to new 2007 DST rules in US and new tz database.csv 
file

Index: testtz_database.cpp
===================================================================
RCS file: 
/cvsroot/boost/boost/libs/date_time/test/local_time/testtz_database.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- testtz_database.cpp 3 May 2005 14:27:05 -0000       1.6
+++ testtz_database.cpp 20 Feb 2007 03:01:31 -0000      1.7
@@ -74,8 +74,8 @@
   check("nyc GMT Offset", nyc_test->base_utc_offset() == hours(-5));
   check("nyc DST Offset", nyc_test->dst_offset() == hours(1));
   //std::cout << nyc_test->dst_local_start_time(2004) << std::endl;
-  check("nyc dst start",  nyc_test->dst_local_start_time(2004) == 
ptime(date(2004, Apr, 4), hours(2)));
-  check("nyc dst end", nyc_test->dst_local_end_time(2004) == ptime(date(2004, 
Oct, 31), hours(2)));
+  check("nyc dst start",  nyc_test->dst_local_start_time(2007) == 
ptime(date(2007, Mar, 11), hours(2)));
+  check("nyc dst end", nyc_test->dst_local_end_time(2007) == ptime(date(2007, 
Nov, 4), hours(2)));
   check("nyc has dst", nyc_test->has_dst());
   
   time_zone_ptr phx_test = tz_db.time_zone_from_region("America/Phoenix");


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to