String? stringFormatDmy(DateTime? date, [String? stringLocale]) { return date == null ? null : DateFormat("dd-MM-yyyy", stringLocale).format(date); }