I fail to understand how DecimalStyle influences my formatting/parsing with DateTimeFormatter. If I try:
date = LocalDateTime.now();
DecimalStyle ds = DecimalStyle.of(Locale.GERMAN);
formatter = DateTimeFormatter.ofPattern("yyyy").withDecimalStyle(ds.withDecimalSeparator('?'));
text = formatter.format(date);
System.out.println("DecimalStyle: " + text);
Shouldn't I get something like: 2.016 in my Output?
What I actually see is that whatever parameters I set to my ds, it will never influence the actual formatted String.
This is java 8 API, so there's not much to find on the Internet, unfortunately.