Boost documentation says the following : "Internally boost::gregorian::date is stored as a 32 bit integer type." . I found this from the link : http://www.boost.org/doc/libs/1_56_0/doc/html/date_time/gregorian.html .
How this 32 bit integer is computed? Is it the number of days since epoch (like the way Joda does in Java)?