]>
Commit | Line | Data |
---|---|---|
ad49c256 | 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto |
f914f1a7 | 2 | // Copyright (c) 2009-2014 The Bitcoin Core developers |
c63a73d1 | 3 | // Distributed under the MIT software license, see the accompanying |
ad49c256 WL |
4 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. |
5 | ||
6 | #ifndef BITCOIN_UTILTIME_H | |
7 | #define BITCOIN_UTILTIME_H | |
8 | ||
9 | #include <stdint.h> | |
10 | #include <string> | |
11 | ||
12 | int64_t GetTime(); | |
13 | int64_t GetTimeMillis(); | |
14 | int64_t GetTimeMicros(); | |
15 | void SetMockTime(int64_t nMockTimeIn); | |
16 | void MilliSleep(int64_t n); | |
17 | ||
18 | std::string DateTimeStrFormat(const char* pszFormat, int64_t nTime); | |
19 | ||
093303a8 | 20 | #endif // BITCOIN_UTILTIME_H |