Skip to main content
Version: Canary 🚧

OffsetYears

The class to offset an input date by some number of years. See _OffsetUnits for more details.

Can be found in the classpath squirrels.dateutils.OffsetYears.

Constructor​

Creates an OffsetYears object.

Required Arguments:

  • offset: An integer for the number of years to add