Boost logo

Boost Users :

Subject: Re: [Boost-users] [date_time] greg_day_of_week as numeric type
From: Norbert Wenzel (norbert.wenzel.lists_at_[hidden])
Date: 2012-02-12 06:04:58


On 02/12/2012 10:58 AM, Claude wrote:
> It is possible transform or use the greg_day_of_week (day_of_week() method)
> as a numeric type?

static short day_of_week(ymd_type) ... Return the day of the week
(0==Sunday, 1==Monday, etc)

http://www.boost.org/doc/libs/1_48_0/doc/html/date_time/gregorian.html#date_time.gregorian.date_class

> Also seems to me that there is no day_of_month() method. Why?

Because .day() already gives you the day of the month. Or did you mean
that differently?

Norbert


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net