summaryrefslogtreecommitdiff
path: root/boost/date_time/period_formatter.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:12:59 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:12:59 +0900
commitb8cf34c691623e4ec329053cbbf68522a855882d (patch)
tree34da08632a99677f6b79ecb65e5b655a5b69a67f /boost/date_time/period_formatter.hpp
parent3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff)
downloadboost-upstream/1.67.0.tar.gz
boost-upstream/1.67.0.tar.bz2
boost-upstream/1.67.0.zip
Imported Upstream version 1.67.0upstream/1.67.0
Diffstat (limited to 'boost/date_time/period_formatter.hpp')
-rw-r--r--boost/date_time/period_formatter.hpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/boost/date_time/period_formatter.hpp b/boost/date_time/period_formatter.hpp
index 0cce32a68a..9610612834 100644
--- a/boost/date_time/period_formatter.hpp
+++ b/boost/date_time/period_formatter.hpp
@@ -114,18 +114,19 @@ namespace boost { namespace date_time {
{
m_range_option = option;
}
- void delimiter_strings(const string_type& ,
- const string_type& ,
- const string_type& ,
- const string_type& )
+
+ //! Change the delimiter strings
+ void delimiter_strings(const string_type& separator,
+ const string_type& start_delim,
+ const string_type& open_end_delim,
+ const string_type& closed_end_delim)
{
- m_period_separator;
- m_period_start_delimeter;
- m_open_range_end_delimeter;
- m_closed_range_end_delimeter;
+ m_period_separator = separator;
+ m_period_start_delimeter = start_delim;
+ m_open_range_end_delimeter = open_end_delim;
+ m_closed_range_end_delimeter = closed_end_delim;
}
-
//! Generic code to output a period -- no matter the period type.
/*! This generic code will output any period using a facet to
* to output the 'elements'. For example, in the case of a date_period