tryParseFormat static method

Hora? tryParseFormat(
  1. String input,
  2. String format, {
  3. HoraLocale? locale,
  4. bool strict = false,
})

Tries to parse a string using a custom format.

Implementation

static Hora? tryParseFormat(
  String input,
  String format, {
  HoraLocale? locale,
  bool strict = false,
}) =>
    HoraParser.tryParse(input, format, locale: locale, strict: strict);