String format([String pattern = 'dd/MM/yyyy', String? locale]) { return DateFormat(pattern, locale).format(this); }