A year carrying an FY label, e.g. FY2019, FY19, FY 2020, or a
crossover span FY2019-20 / FY2019/2020. Only the labelled form is
detected: a bare four-digit year is intentionally excluded because it is
indistinguishable by value from a count, an ID, or an ordinary integer.
See also
Other datetime detectors:
is_abbr_month_date(),
is_clock_time(),
is_date(),
is_date_range(),
is_day_of_week(),
is_hijri_date(),
is_iso_date(),
is_iso_datetime(),
is_long_date(),
is_month_day(),
is_month_of_year(),
is_month_year(),
is_quarter(),
is_rfc2822_datetime(),
is_us_date(),
is_us_datetime(),
is_yyyymm()
Examples
is_fiscal_year(c("FY2019", "FY19", "FY2019-20", "2019", NA))
#> [1] TRUE TRUE TRUE FALSE NA