Find block duration in years.
blockDuration(date)
A vector with class "Date"
or that can be
coerced to this class.
A duration in years.
This is simply a wrapper for the diff
method.
For most applications of Time Varying GEV models with
TVGEV
, the block duration will be one year. Yet it can be
sometimes needed to form blocks with longer duration (e.g. two
years, five years).