DateTimeException if isAD is true.short yearBC() @property const @safe pureYear B.C. of the Gregorian Calendar counting year 0 as 1 B.C.
DateTimeException if isAD is true.void yearBC(int year) @property @safe pureYear B.C. of the Gregorian Calendar counting year 0 as 1 B.C.
year | The year B.C. to set this DateTime's year to. |
DateTimeException if a non-positive value
is given.