summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-02-11 12:14:00 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-02-11 12:14:00 (GMT)
commit0efa7c32aaf21a29b42b5926cc116007056843be (patch)
tree882f663a5dd0e65694bf6077b71086dd77fd7ff8 /3rdParty/Boost/libs/date_time/src/gregorian/date_generators.cpp
parent1d20eabbc32274b491b4c2bedf73d19933d97bfd (diff)
downloadswift-0efa7c32aaf21a29b42b5926cc116007056843be.zip
swift-0efa7c32aaf21a29b42b5926cc116007056843be.tar.bz2
Moved some modules into separate git modules.
Diffstat (limited to '3rdParty/Boost/libs/date_time/src/gregorian/date_generators.cpp')
m---------3rdParty/Boost0
-rw-r--r--3rdParty/Boost/libs/date_time/src/gregorian/date_generators.cpp38
2 files changed, 0 insertions, 38 deletions
diff --git a/3rdParty/Boost b/3rdParty/Boost
new file mode 160000
+Subproject 3bbdbc8cf1996f23d9a366da8bac0f97be6ad79
diff --git a/3rdParty/Boost/libs/date_time/src/gregorian/date_generators.cpp b/3rdParty/Boost/libs/date_time/src/gregorian/date_generators.cpp
deleted file mode 100644
index bbef7f6..0000000
--- a/3rdParty/Boost/libs/date_time/src/gregorian/date_generators.cpp
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
- * Use, modification and distribution is subject to the
- * Boost Software License, Version 1.0. (See accompanying
- * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
- * Author: Jeff Garland, Bart Garst
- * $Date: 2008-02-27 15:00:24 -0500 (Wed, 27 Feb 2008) $
- */
-
-
-
-#ifndef BOOST_DATE_TIME_SOURCE
-#define BOOST_DATE_TIME_SOURCE
-#endif
-#include "boost/date_time/date_generators.hpp"
-
-namespace boost {
-namespace date_time {
-
- const char* const _nth_as_str[] = {"out of range", "first", "second",
- "third", "fourth", "fifth"};
-
- //! Returns nth arg as string. 1 -> "first", 2 -> "second", max is 5.
- BOOST_DATE_TIME_DECL const char* nth_as_str(int ele)
- {
- if(ele >= 1 || ele <= 5) {
- return _nth_as_str[ele];
- }
- else {
- return _nth_as_str[0];
- }
- }
-
-} } //namespace date_time
-
-
-
-
-