blob: 46e0a885dae24d21ccd1a731ced5aa7b9c57b338 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include <util/datetime/base.h>
class ITimeProvider: public TThrRefBase {
public:
virtual TInstant Now() = 0;
};
TIntrusivePtr<ITimeProvider> CreateDefaultTimeProvider();
TIntrusivePtr<ITimeProvider> CreateDeterministicTimeProvider(ui64 seed);
|