static public void writeFormatSymbols()

in src/ParityTests.java [86:106]


	static public void writeFormatSymbols() throws IOException {
		DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US);
		String[] props = new String[8];

		props[0] = lazyJSONPair("currencySymbol", dfs.getCurrencySymbol());
		props[1] = lazyJSONPair("decimalSeparator", dfs.getDecimalSeparator());
		props[2] = lazyJSONPair("digit", dfs.getDigit());
		props[3] = lazyJSONPair("exponentSeparator", dfs.getExponentSeparator());
		props[4] = lazyJSONPair("groupingSeparator", dfs.getGroupingSeparator());
		props[5] = lazyJSONPair("minusSign", dfs.getMinusSign());
		props[6] = lazyJSONPair("percent", dfs.getPercent());
		props[7] = lazyJSONPair("perMill", dfs.getPerMill());

		String outputPath = Paths.get(TEST_PATH, "locale.json").toString();
		System.out.println("Writing locale JSON to: " + outputPath);

		FileWriter fileWriter = new FileWriter(outputPath);
		BufferedWriter writer = new BufferedWriter(fileWriter);
		writer.write("{" + String.join(", ", props) + "}");
		writer.close();
	}