mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
16 lines
447 B
C
16 lines
447 B
C
//------------------------------------------------------------------------------
|
|
/*
|
|
Copyright (c) 2011-2013, OpenCoin, Inc.
|
|
*/
|
|
//==============================================================================
|
|
|
|
#ifndef RIPPLE_TIME_H
|
|
#define RIPPLE_TIME_H
|
|
|
|
boost::posix_time::ptime ptEpoch ();
|
|
int iToSeconds (boost::posix_time::ptime ptWhen);
|
|
boost::posix_time::ptime ptFromSeconds (int iSeconds);
|
|
uint64_t utFromSeconds (int iSeconds);
|
|
|
|
#endif
|