
Hi Jeff, I was just reading through the date-time docs. Very impressive documentation, I must say. One thing tripped me up, though: your use of the word "weekend" in your first example http://boost.org/doc/html/date_time/examples/general_usage_examples.html You're not really referring to the weekend (Saturday and Sunday), but the delimiter for the first 7 days of February, i.e., Feb 8. IMO a well-placed underscore could improve things a lot: week_end or better, week_finish since you're using "weekstart" and not "weekbegin." -- Dave Abrahams Boost Consulting www.boost-consulting.com

David Abrahams wrote:
Hi Jeff,
I was just reading through the date-time docs. Very impressive documentation, I must say.
I'm going to take this as a high complement as I know you have highly refined taste in documentation :-)
One thing tripped me up, though: your use of the word "weekend" in your first example
http://boost.org/doc/html/date_time/examples/general_usage_examples.html
You're not really referring to the weekend (Saturday and Sunday), but the delimiter for the first 7 days of February, i.e., Feb 8. IMO a well-placed underscore could improve things a lot:
week_end
or better,
week_finish
since you're using "weekstart" and not "weekbegin."
I like it. On my todo list to fix. Jeff

Jeff Garland wrote:
David Abrahams wrote:
One thing tripped me up, though: your use of the word "weekend" in your first example
http://boost.org/doc/html/date_time/examples/general_usage_examples.html
You're not really referring to the weekend (Saturday and Sunday), but the delimiter for the first 7 days of February, i.e., Feb 8. IMO a well-placed underscore could improve things a lot:
week_end
or better,
week_finish
since you're using "weekstart" and not "weekbegin."
I like it. On my todo list to fix.
Now changed to week_finish on 1.34 RC and head. Jeff
participants (2)
-
David Abrahams
-
Jeff Garland