mirror of
https://github.com/HowardHinnant/date.git
synced 2025-01-16 20:41:20 +08:00
Add format and parse to tai_time, gps_time, year_month_day
This commit is contained in:
parent
4f89141e56
commit
5263c7b54c
167
tz.html
167
tz.html
@ -26,7 +26,7 @@
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="mailto:howard.hinnant@gmail.com">Howard E. Hinnant</a><br/>
|
||||
2017-02-25<br/>
|
||||
2017-02-26<br/>
|
||||
</address>
|
||||
<hr/>
|
||||
<h1 align=center>Time Zone Database Parser</h1>
|
||||
@ -2082,6 +2082,18 @@ template <class CharT, class Traits, class Duration>
|
||||
std::basic_string<class CharT, class Traits>
|
||||
format(const std::basic_string<class CharT, class Traits>& format, const utc_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Traits, class Duration>
|
||||
std::basic_string<class CharT, class Traits>
|
||||
format(const std::basic_string<class CharT, class Traits>& format, const tai_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Traits, class Duration>
|
||||
std::basic_string<class CharT, class Traits>
|
||||
format(const std::basic_string<class CharT, class Traits>& format, const gps_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Traits>
|
||||
std::basic_string<class CharT, class Traits>
|
||||
format(const std::basic_string<class CharT, class Traits>& format, const year_month_day& ymd);
|
||||
|
||||
template <class CharT, class Traits, class Rep, class Period>
|
||||
std::basic_string<CharT>
|
||||
format(const std::basic_string<CharT, Traits>& fmt, const std::chrono::duration<Rep, Period>& d);
|
||||
@ -2120,6 +2132,18 @@ template <class CharT, class Duration>
|
||||
std::basic_string<class CharT>
|
||||
format(const CharT* format, const utc_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Duration>
|
||||
std::basic_string<class CharT>
|
||||
format(const CharT* format, const tai_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Duration>
|
||||
std::basic_string<class CharT>
|
||||
format(const CharT* format, const gps_time<Duration>& tp);
|
||||
|
||||
template <class CharT>
|
||||
std::basic_string<class CharT>
|
||||
format(const CharT* format, const year_month_day& ymd);
|
||||
|
||||
template <class CharT, class Rep, class Period>
|
||||
std::basic_string<CharT>
|
||||
format(const CharT* fmt, const std::chrono::duration<Rep, Period>& d)
|
||||
@ -2297,6 +2321,78 @@ template <class Duration, class CharT, class Traits>
|
||||
parse(const std::basic_string<CharT, Traits>& format, utc_time<Duration>& tp,
|
||||
std::chrono::minutes& offset, std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, tai_time<Duration>& tp);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, tai_time<Duration>& tp,
|
||||
std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, tai_time<Duration>& tp,
|
||||
std::chrono::minutes& offset);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, tai_time<Duration>& tp,
|
||||
std::basic_string<CharT, Traits>& abbrev, std::chrono::minutes& offset);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, tai_time<Duration>& tp,
|
||||
std::chrono::minutes& offset, std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, gps_time<Duration>& tp);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, gps_time<Duration>& tp,
|
||||
std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, gps_time<Duration>& tp,
|
||||
std::chrono::minutes& offset);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, gps_time<Duration>& tp,
|
||||
std::basic_string<CharT, Traits>& abbrev, std::chrono::minutes& offset);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, gps_time<Duration>& tp,
|
||||
std::chrono::minutes& offset, std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, year_month_day& ymd);
|
||||
|
||||
template <class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, year_month_day& ymd,
|
||||
std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, year_month_day& ymd,
|
||||
std::chrono::minutes& offset);
|
||||
|
||||
template <class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, year_month_day& ymd,
|
||||
std::basic_string<CharT, Traits>& abbrev, std::chrono::minutes& offset);
|
||||
|
||||
template <class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format, year_month_day& ymd,
|
||||
std::chrono::minutes& offset, std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class Rep, class Period, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const std::basic_string<CharT, Traits>& format,
|
||||
@ -2373,6 +2469,75 @@ template <class Duration, class CharT, class Traits>
|
||||
parse(const CharT* format, utc_time<Duration>& tp,
|
||||
std::chrono::minutes& offset, std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class Duration, class CharT>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, tai_time<Duration>& tp);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, tai_time<Duration>& tp,
|
||||
std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class Duration, class CharT>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, tai_time<Duration>& tp, std::chrono::minutes& offset);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, tai_time<Duration>& tp,
|
||||
std::basic_string<CharT, Traits>& abbrev, std::chrono::minutes& offset);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, tai_time<Duration>& tp,
|
||||
std::chrono::minutes& offset, std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class Duration, class CharT>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, gps_time<Duration>& tp);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, gps_time<Duration>& tp,
|
||||
std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class Duration, class CharT>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, gps_time<Duration>& tp, std::chrono::minutes& offset);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, gps_time<Duration>& tp,
|
||||
std::basic_string<CharT, Traits>& abbrev, std::chrono::minutes& offset);
|
||||
|
||||
template <class Duration, class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, gps_time<Duration>& tp,
|
||||
std::chrono::minutes& offset, std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class CharT>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, year_month_day& ymd);
|
||||
|
||||
template <class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, year_month_day& ymd,
|
||||
std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class CharT>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, year_month_day& ymd, std::chrono::minutes& offset);
|
||||
|
||||
template <class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, year_month_day& ymd,
|
||||
std::basic_string<CharT, Traits>& abbrev, std::chrono::minutes& offset);
|
||||
|
||||
template <class CharT, class Traits>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, year_month_day& ymd,
|
||||
std::chrono::minutes& offset, std::basic_string<CharT, Traits>& abbrev);
|
||||
|
||||
template <class Rep, class Period, class CharT>
|
||||
<i>unspecified istream manipulator</i>
|
||||
parse(const CharT* format, std::chrono::duration<Rep, Period>& d);
|
||||
|
Loading…
x
Reference in New Issue
Block a user