27 Commits

Author SHA1 Message Date
Howard Hinnant
7957b976bc Removed remote_download and remote_install.
* The implementation is now responsible for supplying
  run-time time zone database updates.
2017-10-15 14:26:27 -04:00
Howard Hinnant
3370dab0ed to_stream sets failbit if required to supply a bad name:
* for an invalid month
* for an invalid weekday
2017-10-15 13:55:01 -04:00
Howard Hinnant
f00a77882b Update "Changes since" 2017-10-14 20:51:20 -04:00
Howard Hinnant
78c120f74a Have format set exceptions(failbit | badbit)
*  Be sure if something bad happens under the hood it is not silently
   swallowed.
2017-10-14 20:44:16 -04:00
Howard Hinnant
264fd7c62a Add reference to fmt proposal (P0645) 2017-10-14 12:56:21 -04:00
Howard Hinnant
ed7ed4534d Document get_tzdb_list() 2017-09-30 15:58:29 -04:00
Howard Hinnant
2f8d22b5a0 Fix minor typeos 2017-09-16 14:12:13 -04:00
Howard Hinnant
444fa15aa7 Minor clarifications and updates 2017-08-13 22:27:21 -04:00
Howard Hinnant
28fa15c0ae Template zoned_time on TimeZonePtr 2017-08-12 22:32:35 -04:00
Howard Hinnant
4ef96efa94 Make the database list a singly linked list with an atomic head 2017-08-12 19:05:21 -04:00
Howard Hinnant
5a82cda0a5 Merge branch 'gh-pages' of github.com:HowardHinnant/date into gh-pages 2017-08-03 18:12:58 -04:00
Howard Hinnant
597b6e03ce Give weekday_indexed a defaulted default constructor. 2017-07-27 21:31:19 -04:00
Howard Hinnant
f8c3c1ae04 Make from_stream and to_stream customization points 2017-07-27 21:27:14 -04:00
Tony Van Eerd
9fcf01e9cc TZ_DB -> tzdb, and fix html bracket 2017-07-18 16:38:03 -04:00
Howard Hinnant
c110f40e76 Expose a list<tzdb>
* Existing API always accesses the front of the list.
* Add locate_zone and current_zone member functions to tzdb.
* reload_tzdb() pushes a new database to the front of the list.
* get_tzdb_list() exposes the list<tzdb>&.
2017-07-17 23:05:16 -04:00
Howard Hinnant
0f7fd4a04e Remove errant -> from zoned_time(const time_zone* z) spec 2017-07-07 10:10:05 -04:00
Howard Hinnant
4477981840 Update revision history 2017-07-06 21:08:31 -04:00
Howard Hinnant
161cc2b7fe Add deduction guides to zoned_time
* Encourage seconds precision or finer.
2017-07-06 21:05:19 -04:00
Howard Hinnant
d5951c5476 Pass string_view by value 2017-06-30 12:02:30 -04:00
Howard Hinnant
2b100280c0 Improve spec for year_month - year_month 2017-06-29 21:33:43 -04:00
Howard Hinnant
2b55bdb2e4 Rewrite in terms of string_view 2017-06-29 21:19:50 -04:00
Howard Hinnant
cd888b2928 Tighten up year_month_weekday and year_month_weekday_last:
* conversions to sys_days.
2017-06-29 21:06:53 -04:00
Howard Hinnant
609dd49934 Add zoned_time default constructor and,
refine conversion from calendar types to sys_days and local_days.
2017-06-27 22:15:45 -04:00
Howard Hinnant
241551dd6c Allow day overflow in year_month_day to sys_days conversion 2017-06-27 14:08:02 -04:00
Howard Hinnant
8591ae062c Tighten up year spec:
* Define exactly how leap years are computed to avoid ambiguity.

* Define precise values for year::min and year::max which correspond
  to the C minimal limits for short.

* Rewrite year::ok() in terms of min and max.
2017-06-27 13:40:38 -04:00
Howard Hinnant
b8c749227a Added issue concerning zoned_time default constructor. 2017-06-19 20:36:41 -04:00
Howard Hinnant
0f4737aeaa Initial commit of d0355r4.html 2017-06-19 20:32:31 -04:00