canonicalDateTimeFormat property

bool get canonicalDateTimeFormat

If set, any submitted field values representing dates are converted to the standard format.

Implementation

bool get canonicalDateTimeFormat => _canonicalDateTimeFormat;
set canonicalDateTimeFormat (bool value)

Implementation

set canonicalDateTimeFormat(bool value) {
  if (_canonicalDateTimeFormat != value) {
    _canonicalDateTimeFormat = value;

    if (_canonicalDateTimeFormat) {
      _flags.add(PdfSubmitFormFlags.canonicalFormat);
    } else {
      _flags.remove(PdfSubmitFormFlags.canonicalFormat);
    }
  }
}