FormatYearDateRange extension

Returns 2021 - 2022

on

Methods

getRangeYearText(DateTimeRange dateRange) String

Available on MaterialLocalizations, provided by the FormatYearDateRange extension

extension method for formatting date range