/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.time.*;
import java.time.format.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
LocalDate ld = LocalDate.parse( "19/05/2009" , DateTimeFormatter.ofPattern( "dd/MM/uuuu" ) );
DateTimeFormatter f =
DateTimeFormatter.ofLocalizedDate( FormatStyle.FULL )
.
withLocale( Locale.
CANADA_FRENCH ) ; String output
= ld.
format( f
);
System.
out.
println( "ld: " + ld
+ " | output: " + output
); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnRpbWUuKjsKaW1wb3J0IGphdmEudGltZS5mb3JtYXQuKjsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CiAgICAJTG9jYWxEYXRlIGxkID0gTG9jYWxEYXRlLnBhcnNlKCAiMTkvMDUvMjAwOSIgLCBEYXRlVGltZUZvcm1hdHRlci5vZlBhdHRlcm4oICJkZC9NTS91dXV1IiApICk7CiAgICAJRGF0ZVRpbWVGb3JtYXR0ZXIgZiA9IAogICAgICAgIAlEYXRlVGltZUZvcm1hdHRlci5vZkxvY2FsaXplZERhdGUoIEZvcm1hdFN0eWxlLkZVTEwgKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgIC53aXRoTG9jYWxlKCBMb2NhbGUuQ0FOQURBX0ZSRU5DSCApIDsKICAgIAlTdHJpbmcgb3V0cHV0ID0gbGQuZm9ybWF0KCBmICk7CiAgICAJCiAgICAJU3lzdGVtLm91dC5wcmludGxuKCAibGQ6ICIgKyBsZCArICIgfCBvdXRwdXQ6ICIgKyBvdXRwdXQgKTsKCX0KfQ==