I would like to initialize a gregorian date like this
boost::gregorian::date d = { 1, 1, 1 };
but year = 1 not allowed. How can I create the day before Jesus is born?
year = 1
The current implementation of the Gregorian date supports dates in the range 1400-Jan-01 to 9999-Dec-31. Therefore, date handling outside this range is not directly possible.