summaryrefslogtreecommitdiff
path: root/boost/date_time/time_zone_base.hpp
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2014-12-11 18:55:56 +0900
committerChanho Park <chanho61.park@samsung.com>2014-12-11 18:55:56 +0900
commit08c1e93fa36a49f49325a07fe91ff92c964c2b6c (patch)
tree7a7053ceb8874b28ec4b868d4c49b500008a102e /boost/date_time/time_zone_base.hpp
parentbb4dd8289b351fae6b55e303f189127a394a1edd (diff)
downloadboost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.gz
boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.bz2
boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.zip
Imported Upstream version 1.57.0upstream/1.57.0
Diffstat (limited to 'boost/date_time/time_zone_base.hpp')
-rw-r--r--boost/date_time/time_zone_base.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/boost/date_time/time_zone_base.hpp b/boost/date_time/time_zone_base.hpp
index 6ad7f70af5..576c77a223 100644
--- a/boost/date_time/time_zone_base.hpp
+++ b/boost/date_time/time_zone_base.hpp
@@ -2,10 +2,10 @@
#define _DATE_TIME_TIME_ZONE_BASE__
/* Copyright (c) 2003-2005 CrystalClear Software, Inc.
- * Subject to the Boost Software License, Version 1.0.
+ * 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 12:00:24 -0800 (Wed, 27 Feb 2008) $
+ * $Date$
*/
@@ -26,9 +26,9 @@ namespace date_time {
* would be to convert from POSIX timezone strings. Regardless of
* the construction technique, this is the interface that these
* time zone types must provide.
- *
+ *
* Note that this class is intended to be used as a shared
- * resource (hence the derivation from boost::counted_base.
+ * resource (hence the derivation from boost::counted_base.
*/
template<typename time_type, typename CharT>
class time_zone_base {
@@ -39,8 +39,8 @@ namespace date_time {
typedef typename time_type::date_type::year_type year_type;
typedef typename time_type::time_duration_type time_duration_type;
- time_zone_base() {};
- virtual ~time_zone_base() {};
+ time_zone_base() {}
+ virtual ~time_zone_base() {}
//!String for the timezone when in daylight savings (eg: EDT)
virtual string_type dst_zone_abbrev() const=0;
//!String for the zone when not in daylight savings (eg: EST)
@@ -61,9 +61,9 @@ namespace date_time {
virtual time_duration_type dst_offset() const=0;
//! Returns a POSIX time_zone string for this object
virtual string_type to_posix_string() const =0;
-
+
private:
-
+
};
@@ -82,7 +82,7 @@ namespace date_time {
dst_start_offset_(dst_start_offset),
dst_end_offset_(dst_end_offset)
{}
-
+
//! Amount DST adjusts the clock eg: plus one hour
time_duration_type dst_adjust_;
//! Time past midnight on start transition day that dst starts