Home
last modified time | relevance | path

Searched refs:nyc_test (Results 1 – 1 of 1) sorted by relevance

/third_party/boost/libs/date_time/test/local_time/
Dtesttz_database.cpp53 time_zone_ptr nyc_test = tz_db.time_zone_from_region("America/New_York"); in main() local
54 check("nyc Valid pointer", nyc_test != time_zone_ptr() ); in main()
55 check("nyc Abbreviations",nyc_test->std_zone_abbrev() == std::string("EST")); in main()
56 check("nyc Full Name", nyc_test->std_zone_name() == std::string("Eastern Standard Time")); in main()
57 check("nyc Abbreviations",nyc_test->dst_zone_abbrev() == std::string("EDT")); in main()
59 check("nyc Full Name", nyc_test->dst_zone_name() == std::string("Eastern Daylight Time")); in main()
60 check("nyc GMT Offset", nyc_test->base_utc_offset() == hours(-5)); in main()
61 check("nyc DST Offset", nyc_test->dst_offset() == hours(1)); in main()
63 …check("nyc dst start", nyc_test->dst_local_start_time(2007) == ptime(date(2007, Mar, 11), hours(2… in main()
64 check("nyc dst end", nyc_test->dst_local_end_time(2007) == ptime(date(2007, Nov, 4), hours(2))); in main()
[all …]