16 Commits

Author SHA1 Message Date
Howard Hinnant
27964fa642 Fix C++11 constexpr bug in year_lastweek_weekday::weeknum() 2016-11-02 14:21:26 -04:00
Sascha Zelzer
69ec0bb134 Clang on Fedora needs <climits> for the CHAR_BIT definition. 2016-09-16 07:31:04 +02:00
Howard Hinnant
6fe8b4b7f3 Update copyright to 2016 2016-05-30 22:21:08 -04:00
Howard Hinnant
ea2d0d3357 constexpr more stuff and clean up whitespace 2016-05-30 22:09:21 -04:00
Howard Hinnant
76bef1fe01 Support wide streams 2016-05-29 00:15:33 -04:00
Howard Hinnant
6dd3c0f15d Workaround some gcc bugs and silence some warnings.
*  Thanks to Laszlo Papp
2016-05-21 13:07:04 -04:00
Howard Hinnant
008178eee1 Make construction from local_days explicit 2016-05-21 12:46:11 -04:00
Howard Hinnant
9fba53aa52 Work around gcc bug 2016-05-21 11:39:22 -04:00
Howard Hinnant
76c906d779 Get off of day_point 2016-05-21 10:24:25 -04:00
Howard Hinnant
183b7a82f2 Teach iso_week about local_days 2016-05-06 22:49:17 -04:00
Howard Hinnant
1e5d2fa8dd Create local and system time types for timezone functions.
* Add sys_time.
* Add sys_days.
* Add sys_seconds.
* Add local_time.
* Add local_days.
* Add local_seconds.
* Rename day_point to sys_days.
* Rename Zone to time_zone.
2016-05-03 23:19:09 -04:00
Howard Hinnant
57b2686d52 Add missing date composition operator 2015-12-23 13:19:36 -05:00
Howard Hinnant
323e2fa5fd Remove is_leap from iso_week::year 2015-12-21 21:52:31 -05:00
Howard Hinnant
862c7d43d6 Tweak to operator-(const weeknum& x, const weeknum& y) 2015-12-21 21:35:31 -05:00
Howard Hinnant
e8ff47f110 Rename lastweek to last_week 2015-12-20 20:23:02 -05:00
Howard Hinnant
7d78934999 First commit for iso_week.h 2015-12-05 19:14:15 -05:00