Formats the DateTime object using the Hms format and optional locale.
String formatAsHms([String? locale]) => DateFormat.Hms(locale).format(this);