format method

  1. @override
String format(
  1. Period value
)
override

Formats the given period as text according to the rules of this pattern.

  • value: The period to format.

Returns: The period formatted according to this pattern.

Implementation

@override
String format(Period value) => _pattern.format(value);