ndn::time::UnitTestClockTraits< system_clock > Class Reference

Specialization of UnitTestClockTraits for system_clock. More...

#include <ndn-cxx/util/time-unit-test-clock.hpp>

Static Public Member Functions

static nanoseconds getDefaultStartTime ()
 

Detailed Description

Specialization of UnitTestClockTraits for system_clock.

This specialization sets the default start time to 1415684132 seconds (equivalent to Tue 11 Nov 2014 05:35:32 UTC, if Unix epoch is assumed).

Definition at line 54 of file time-unit-test-clock.hpp.

Member Function Documentation

◆ getDefaultStartTime()

static nanoseconds ndn::time::UnitTestClockTraits< system_clock >::getDefaultStartTime ( )
inlinestatic

Definition at line 58 of file time-unit-test-clock.hpp.