MCPcopy Create free account
hub / github.com/HowardHinnant/date / get_info_impl

Method get_info_impl

src/tz.cpp:2338–2348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2336}
2337
2338sys_info
2339time_zone::get_info_impl(sys_seconds tp) const
2340{
2341 using namespace std;
2342 init();
2343 return load_sys_info(upper_bound(transitions_.begin(), transitions_.end(), tp,
2344 [](const sys_seconds& x, const transition& t)
2345 {
2346 return x < t.timepoint;
2347 }));
2348}
2349
2350local_info
2351time_zone::get_info_impl(local_seconds tp) const

Callers

nothing calls this directly

Calls 7

to_stringFunction · 0.85
find_ruleFunction · 0.85
format_abbrevFunction · 0.85
adjust_infosMethod · 0.80
year_month_dayClass · 0.50
MonthDayTimeFunction · 0.50
yearMethod · 0.45

Tested by

no test coverage detected