test_class.file: jtss/src/test/java/ec/tss/tsproviders/utils/DataFormatTest.java
test_class.identifier: DataFormatTest
test_case.body: @Test
      public void testNewNumberFormat() throws ParseException {
          assertThatIllegalArgumentException().isThrownBy(() -> of(FRENCH, null, ",.,.,.").newNumberFormat());
          assertThatIllegalArgumentException().isThrownBy(() -> of(null, null, ",.,.,.").newNumberFormat());
  
          double value = 1234.5d;
  
          NumberFormat f1 = of(FRANCE, null, null).newNumberFormat();
          assertThat(f1.parse("1234,5")).isEqualTo(value);
          assertThat(f1.format(value)).isEqualTo("1" + getGroupingSeparator(f1) + "234,5");
  
          NumberFormat f2 = of(US, null, null).newNumberFormat();
          assertThat(f2.parse("1,234.5")).isEqualTo(value);
          assertThat(f2.format(value)).isEqualTo("1,234.5");
  
          NumberFormat f3 = of(FRANCE, null, "#0.00").newNumberFormat();
          assertThat(f3.parse("1234,50")).isEqualTo(value);
          assertThat(f3.format(value)).isEqualTo("1234,50");
  
          NumberFormat f4 = of(US, null, "#0.00 €").newNumberFormat();
          assertThat(f4.parse("1234.50 €")).isEqualTo(value);
          assertThat(f4.format(value)).isEqualTo("1234.50 €");
      }
test_case.class_method_signature: DataFormatTest.testNewNumberFormat()
test_case.full_signature: @Test public void testNewNumberFormat()
test_case.identifier: testNewNumberFormat
test_case.invocations: isThrownBy assertThatIllegalArgumentException newNumberFormat of isThrownBy assertThatIllegalArgumentException newNumberFormat of newNumberFormat of isEqualTo assertThat parse isEqualTo assertThat format getGroupingSeparator newNumberFormat of isEqualTo assertThat parse isEqualTo assertThat format newNumberFormat of isEqualTo assertThat parse isEqualTo assertThat format wNumberFormat() of EqualTo(v assertThat parse isEqualTo assertThat format
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNewNumberFormat()
focal_class.declarator: DEFAULT = of(null, null, null)
focal_class.modifier: public static final
focal_class.original_string: public static final DataFormat DEFAULT = of(null, null, null);
focal_class.type: DataFormat
focal_class.var_name: DEFAULT
focal_class.declarator: ROOT = of(Locale.ROOT, null, null)
focal_class.modifier: public static final
focal_class.original_string: public static final DataFormat ROOT = of(Locale.ROOT, null, null);
focal_class.type: DataFormat
focal_class.var_name: ROOT
focal_class.declarator: SEP = " ~ "
focal_class.modifier: public static final
focal_class.original_string: public static final String SEP = " ~ ";
focal_class.type: String
focal_class.var_name: SEP
focal_class.declarator: locale
focal_class.modifier: @Nullable
      private final
focal_class.original_string: @Nullable
      private final Locale locale;
focal_class.type: Locale
focal_class.var_name: locale
focal_class.declarator: datePattern
focal_class.modifier: @NonNull
      private final
focal_class.original_string: @NonNull
      private final String datePattern;
focal_class.type: String
focal_class.var_name: datePattern
focal_class.declarator: numberPattern
focal_class.modifier: @NonNull
      private final
focal_class.original_string: @NonNull
      private final String numberPattern;
focal_class.type: String
focal_class.var_name: numberPattern
focal_class.file: jtss/src/main/java/ec/tss/tsproviders/utils/DataFormat.java
focal_class.identifier: DataFormat
focal_class.class_method_signature: DataFormat.of(@Nullable Locale locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.full_signature: @NonNull public static DataFormat of(@Nullable Locale locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.identifier: of
focal_class.modifiers: @NonNull public static
focal_class.parameters: (@Nullable Locale locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.return: DataFormat
focal_class.signature: DataFormat of(@Nullable Locale locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.class_method_signature: DataFormat.DataFormat(Locale locale, String datePattern, String numberPattern, Void fake)
focal_class.full_signature: private  DataFormat(Locale locale, String datePattern, String numberPattern, Void fake)
focal_class.identifier: DataFormat
focal_class.modifiers: private
focal_class.parameters: (Locale locale, String datePattern, String numberPattern, Void fake)
focal_class.signature:  DataFormat(Locale locale, String datePattern, String numberPattern, Void fake)
focal_class.class_method_signature: DataFormat.getNumberPattern()
focal_class.full_signature: @NonNull public String getNumberPattern()
focal_class.identifier: getNumberPattern
focal_class.modifiers: @NonNull public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getNumberPattern()
focal_class.class_method_signature: DataFormat.getDatePattern()
focal_class.full_signature: @NonNull public String getDatePattern()
focal_class.identifier: getDatePattern
focal_class.modifiers: @NonNull public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDatePattern()
focal_class.class_method_signature: DataFormat.getLocale()
focal_class.full_signature: @Nullable public Locale getLocale()
focal_class.identifier: getLocale
focal_class.modifiers: @Nullable public
focal_class.parameters: ()
focal_class.return: Locale
focal_class.signature: Locale getLocale()
focal_class.class_method_signature: DataFormat.getLocaleString()
focal_class.full_signature: @NonNull public String getLocaleString()
focal_class.identifier: getLocaleString
focal_class.modifiers: @NonNull public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLocaleString()
focal_class.class_method_signature: DataFormat.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: DataFormat.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: DataFormat.equals(DataFormat that)
focal_class.full_signature: private boolean equals(DataFormat that)
focal_class.identifier: equals
focal_class.modifiers: private
focal_class.parameters: (DataFormat that)
focal_class.return: boolean
focal_class.signature: boolean equals(DataFormat that)
focal_class.class_method_signature: DataFormat.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: DataFormat.dateFormatter()
focal_class.full_signature: public Formatters.@NonNull Formatter<Date> dateFormatter()
focal_class.identifier: dateFormatter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Formatters.@NonNull Formatter<Date>
focal_class.signature: Formatters.@NonNull Formatter<Date> dateFormatter()
focal_class.class_method_signature: DataFormat.dateParser()
focal_class.full_signature: public Parsers.@NonNull Parser<Date> dateParser()
focal_class.identifier: dateParser
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Parsers.@NonNull Parser<Date>
focal_class.signature: Parsers.@NonNull Parser<Date> dateParser()
focal_class.class_method_signature: DataFormat.numberFormatter()
focal_class.full_signature: public Formatters.@NonNull Formatter<Number> numberFormatter()
focal_class.identifier: numberFormatter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Formatters.@NonNull Formatter<Number>
focal_class.signature: Formatters.@NonNull Formatter<Number> numberFormatter()
focal_class.class_method_signature: DataFormat.numberParser()
focal_class.full_signature: public Parsers.@NonNull Parser<Number> numberParser()
focal_class.identifier: numberParser
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Parsers.@NonNull Parser<Number>
focal_class.signature: Parsers.@NonNull Parser<Number> numberParser()
focal_class.class_method_signature: DataFormat.newDateFormat()
focal_class.full_signature: @NonNull public DateFormat newDateFormat()
focal_class.identifier: newDateFormat
focal_class.modifiers: @NonNull public
focal_class.parameters: ()
focal_class.return: DateFormat
focal_class.signature: DateFormat newDateFormat()
focal_class.class_method_signature: DataFormat.newNumberFormat()
focal_class.full_signature: @NonNull public NumberFormat newNumberFormat()
focal_class.identifier: newNumberFormat
focal_class.modifiers: @NonNull public
focal_class.parameters: ()
focal_class.return: NumberFormat
focal_class.signature: NumberFormat newNumberFormat()
focal_class.class_method_signature: DataFormat.getLocaleOrDefault()
focal_class.full_signature: private Locale getLocaleOrDefault()
focal_class.identifier: getLocaleOrDefault
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Locale
focal_class.signature: Locale getLocaleOrDefault()
focal_class.class_method_signature: DataFormat.DataFormat(@Nullable Locale locale, @Nullable String datePattern)
focal_class.full_signature: @Deprecated public  DataFormat(@Nullable Locale locale, @Nullable String datePattern)
focal_class.identifier: DataFormat
focal_class.modifiers: @Deprecated public
focal_class.parameters: (@Nullable Locale locale, @Nullable String datePattern)
focal_class.signature:  DataFormat(@Nullable Locale locale, @Nullable String datePattern)
focal_class.class_method_signature: DataFormat.DataFormat(@Nullable Locale locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.full_signature: @Deprecated public  DataFormat(@Nullable Locale locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.identifier: DataFormat
focal_class.modifiers: @Deprecated public
focal_class.parameters: (@Nullable Locale locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.signature:  DataFormat(@Nullable Locale locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.class_method_signature: DataFormat.create(@Nullable String locale, @Nullable String datePattern)
focal_class.full_signature: @Deprecated @NonNull public static DataFormat create(@Nullable String locale, @Nullable String datePattern)
focal_class.identifier: create
focal_class.modifiers: @Deprecated @NonNull public static
focal_class.parameters: (@Nullable String locale, @Nullable String datePattern)
focal_class.return: DataFormat
focal_class.signature: DataFormat create(@Nullable String locale, @Nullable String datePattern)
focal_class.class_method_signature: DataFormat.create(@Nullable String locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.full_signature: @Deprecated @NonNull public static DataFormat create(@Nullable String locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.identifier: create
focal_class.modifiers: @Deprecated @NonNull public static
focal_class.parameters: (@Nullable String locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.return: DataFormat
focal_class.signature: DataFormat create(@Nullable String locale, @Nullable String datePattern, @Nullable String numberPattern)
focal_class.class_method_signature: DataFormat.localeParser()
focal_class.full_signature: @Deprecated @NonNull public static Parser<Locale> localeParser()
focal_class.identifier: localeParser
focal_class.modifiers: @Deprecated @NonNull public static
focal_class.parameters: ()
focal_class.return: Parser<Locale>
focal_class.signature: Parser<Locale> localeParser()
focal_class.class_method_signature: DataFormat.toLocale(@NonNull String str)
focal_class.full_signature: @Deprecated @NonNull public static Locale toLocale(@NonNull String str)
focal_class.identifier: toLocale
focal_class.modifiers: @Deprecated @NonNull public static
focal_class.parameters: (@NonNull String str)
focal_class.return: Locale
focal_class.signature: Locale toLocale(@NonNull String str)
focal_class.class_method_signature: DataFormat.previewDate()
focal_class.full_signature: @Deprecated @Nullable public String previewDate()
focal_class.identifier: previewDate
focal_class.modifiers: @Deprecated @Nullable public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String previewDate()
focal_class.class_method_signature: DataFormat.newDateFormat(@Nullable String datePattern, @Nullable Locale locale)
focal_class.full_signature: @Deprecated @NonNull public static DateFormat newDateFormat(@Nullable String datePattern, @Nullable Locale locale)
focal_class.identifier: newDateFormat
focal_class.modifiers: @Deprecated @NonNull public static
focal_class.parameters: (@Nullable String datePattern, @Nullable Locale locale)
focal_class.return: DateFormat
focal_class.signature: DateFormat newDateFormat(@Nullable String datePattern, @Nullable Locale locale)
focal_class.class_method_signature: DataFormat.newNumberFormat(@Nullable Locale locale)
focal_class.full_signature: @Deprecated @NonNull public static NumberFormat newNumberFormat(@Nullable Locale locale)
focal_class.identifier: newNumberFormat
focal_class.modifiers: @Deprecated @NonNull public static
focal_class.parameters: (@Nullable Locale locale)
focal_class.return: NumberFormat
focal_class.signature: NumberFormat newNumberFormat(@Nullable Locale locale)
focal_method.body: @NonNull
      public NumberFormat newNumberFormat() throws IllegalArgumentException {
          NumberFormat result = !numberPattern.isEmpty()
                  ? new DecimalFormat(numberPattern, DecimalFormatSymbols.getInstance(getLocaleOrDefault()))
                  : NumberFormat.getInstance(getLocaleOrDefault());
          return result;
      }
focal_method.class_method_signature: DataFormat.newNumberFormat()
focal_method.full_signature: @NonNull public NumberFormat newNumberFormat()
focal_method.identifier: newNumberFormat
focal_method.invocations: isEmpty getInstance getLocaleOrDefault getInstance getLocaleOrDefault
focal_method.modifiers: @NonNull public
focal_method.parameters: ()
focal_method.return: NumberFormat
focal_method.signature: NumberFormat newNumberFormat()