I need to output the current date in the format week-based-year-week-of-week-based-year, i.e. using the ISO week date where the week always starts
week-based-year
week-of-week-based-year
The documentation of DateTimeFormatterBuilder specifies that "Y" appends the localized week-based year. Thus, the meaning of the week-based year and week fields will depend on the locale set in the formatter.