Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想像这样初始化一个公历日期
boost::gregorian::date d = { 1, 1, 1 };
但year = 1不允许。我怎样才能在耶稣出生之前创造一天?
year = 1
当前的公历日期实现支持 1400-Jan-01 到 9999-Dec-31 范围内的日期。所以处理这个范围之外的日期是不可能的。