durationPattern top-level property

String durationPattern
final

Implementation

final durationPattern =
    "([-+]?)P${dateUnits.map(_unitRegex).join()}(?:T${timeUnits.map(_unitRegex).join()})?";