registerDateFormats static method

dynamic registerDateFormats(
  1. List<DateFormat> formats
)

date formats used to convert string into dates

Implementation

static registerDateFormats(List<DateFormat> formats) {
  dateFormats.insertAll(0, formats);
}