MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / seconds

Function seconds

extern/boost/boost/date_time/time_duration.hpp:95–98  ·  view source on GitHub ↗

Returns normalized number of seconds (0..60)

Source from the content-addressed store, hash-verified

93 }
94 //! Returns normalized number of seconds (0..60)
95 BOOST_CXX14_CONSTEXPR sec_type seconds() const
96 {
97 return static_cast<sec_type>((ticks()/ticks_per_second()) % 60);
98 }
99 //! Returns total number of seconds truncating any fractional seconds
100 BOOST_CXX14_CONSTEXPR sec_type total_seconds() const
101 {

Callers 7

do_testMethod · 0.85
do_testMethod · 0.85
from_time_tFunction · 0.85
nowMethod · 0.85
from_time_tMethod · 0.85
time_point_io.hppFile · 0.85
xtimeClass · 0.85

Calls 2

ticksFunction · 0.85
ticks_per_secondFunction · 0.85

Tested by 2

do_testMethod · 0.68
do_testMethod · 0.68