INNER CODE UNIT · Dart

getSupportedLocales

jama5262/jiffy · lib/src/jiffy.dart:89

  static List<String> getSupportedLocales() => getSupportedIntlLocales();

  /// Constructs a new [Jiffy] instance by parsing a [String].
  ///
  /// If [pattern] is not provided, [string] must be in one of the following
  /// formats:
  ///
  /// * `'1997-09-23'`
  /// * `'1997/09/23'`
  /// * `'1997-09-23 11:18:12.946621'`
  /// * `'1997-09-23T11:18:12.947031'`
  ///
  /// If [pattern] is provided, [string] should match the
  /// specified pattern format.
  ///
  /// This method also includes an optional [isUtc] parameter:
  /// - If [isUtc] is `true`, the parsed date-time will be treated as UTC.
  /// - If [isUtc] is `false` (default), the parsed date-time will be

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…