Home
last modified time | relevance | path

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

/third_party/boost/libs/date_time/test/local_time/
Dtestlocal_time.cpp254 local_date_time ny_time = az_time.local_time_in(ny_tz); in main() local
255 check("Zone abbreviation", ny_time.zone()->std_zone_abbrev() == std::string("EST")); in main()
256 check("base offset", ny_time.zone()->base_utc_offset() == hours(-5)); in main()
257 check("base offset", ny_time.zone()->has_dst() == true); in main()
258 check("to_string: " + ny_time.to_string(), in main()
259 ny_time.to_string() == "2003-Dec-20 07:00:00 EST"); in main()
260 ny_time += hours(3); in main()
261 check("to_string after add 3 hours: " + ny_time.to_string(), in main()
262 ny_time.to_string() == "2003-Dec-20 10:00:00 EST"); in main()
263 ny_time += days(3); in main()
[all …]
/third_party/boost/libs/date_time/example/local_time/
Dlocal_date_time.cpp24 local_date_time ny_time(date(2004, Aug, 30), hours(10), nyc, true); in main() local
30 std::cout << ny_time << std::endl; in main()
33 std::cout << ny_time << std::endl; in main()
/third_party/boost/libs/date_time/data/
DREADME.zone_spec_csv_file44 local_time ny_time(date(2004, Aug, 30), IS_DST, nyc);
45 cout << ny_time.to_long_string() << endl;
47 cout << ny_time.to_short_string() << endl;