import java.time.LocalDate;
import java.time.chrono.Chronology;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeFormatterBuilder;
import java.time.format.FormatStyle;
import java.util.Locale;

public class JI9057349 {
	public static void main (String[] arguments) throws Exception 
	{ 
		Locale locale = Locale.forLanguageTag ("ksh-DE"); 
		String pattern = DateTimeFormatterBuilder.getLocalizedDateTimePattern (FormatStyle.MEDIUM, null, Chronology.ofLocale (locale), locale); 
		DateTimeFormatter formatter = new DateTimeFormatterBuilder ().parseLenient ().appendPattern (pattern).toFormatter (locale); 

		System.out.println (pattern); 
		System.out.println (formatter.format (LocalDate.ofEpochDay (0))); 
		System.out.println (formatter.parse (formatter.format (LocalDate.ofEpochDay (0)))); 
	} 
}
