Gregorian.addYears

Overridden. Add the specified number of years to the given Time.

Note that the Gregorian calendar takes into account that BC time is negative, and supports crossing from BC to AD.

class Gregorian
override const
Time
addYears
(
const(Time) t
,
int nYears
)

Return Value

Type: Time

A Time that represents the provided time with the number of years added.

Meta