SysTime.yearBC

ushort yearBC() @property @safe const scope

Year B.C. of the Gregorian Calendar counting year 0 as 1 B.C.

Throws

DateTimeException if isAD is true.
void yearBC(int year) @property @safe scope

Year B.C. of the Gregorian Calendar counting year 0 as 1 B.C.

Parameters

yearThe year B.C. to set this SysTime's year to.

Throws

DateTimeException if a non-positive value

is given.