summaryrefslogtreecommitdiff
path: root/src/mongo/util/time_support.h
diff options
context:
space:
mode:
authorShaun Verch <shaun.verch@10gen.com>2013-10-18 15:05:04 -0400
committerShaun Verch <shaun.verch@10gen.com>2013-10-21 17:59:43 -0400
commita4e7a4f5068c96faaffec93e0b2e86d084f27e92 (patch)
treeebf07b5ca6a1b6b3a65ecf4740d17da4a1be72d6 /src/mongo/util/time_support.h
parent4e5bb06c7156a2a6e7bf878f3cf2c90a94771b2d (diff)
downloadmongo-a4e7a4f5068c96faaffec93e0b2e86d084f27e92.tar.gz
SERVER-11203 Reverting changes to time support code to work with negative time_t
Doing this correctly depends on SERVER-11273 Revert "SERVER-11174 Reference db of tool test rather than global db object" This reverts commit d1c2ae72c4829ed77cb6b7fe42e486910483caff. Revert "SERVER-11174 Skip tests of negative dates on windows" This reverts commit 9fcdfeb195c42e91a49e37212a65fea624d71c13. Revert "SERVER-11174 Skip test for date that cannot be stored on 32 bit systems" This reverts commit fc3b552e788e027af40523173790a20f49b27ec5. Revert "SERVER-6058 Fix time_support_test on systems with small time_t" This reverts commit c1a09966ff05c42c184870715e7a7383d02c477d. Revert "SERVER-6058 Factor out date to UTC handling code and use in mongoexport" This reverts commit 0b19be208f91e70c683d60c22011cad14a9fa78c.
Diffstat (limited to 'src/mongo/util/time_support.h')
-rw-r--r--src/mongo/util/time_support.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/util/time_support.h b/src/mongo/util/time_support.h
index 1043a658142..46cee85e97a 100644
--- a/src/mongo/util/time_support.h
+++ b/src/mongo/util/time_support.h
@@ -78,18 +78,6 @@ namespace mongo {
*/
std::string dateToCtimeString(Date_t date);
- /**
- * Converts millis to time_t, doing correct division for negative millis, and uasserting that
- * the result falls within the valid range of a time_t.
- */
- time_t millisToTimeT(long long millis);
-
- /**
- * Returns the millis since the last whole second of the given millis since epoch, and correctly
- * handles dates before epoch.
- */
- int extractMillisPortion(long long millisSinceEpoch);
-
boost::gregorian::date currentDate();
// parses time of day in "hh:mm" format assuming 'hh' is 00-23