/* package whatever; // don't place package name! */
import java.util.* ;
import java.lang.* ;
import java.io.* ;
import java.time.* ;
import java.time.temporal.* ;
import java.time.format.* ;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
LocalDate.parse ( // Generate `LocalDate` object from String input.
"23/2/2010" ,
DateTimeFormatter.ofPattern ( "d/M/uuuu" )
)
.getDayOfWeek ( ) // Get `DayOfWeek` enum object.
.getDisplayName ( // Localize. Generate a String to represent this day-of-week.
TextStyle.SHORT_STANDALONE , // How long or abbreviated. Some languages have an alternate spelling for "standalone" use (not so in English).
Locale .
US // Or Locale.CANADA_FRENCH and such. Specify a `Locale` to determine (1) human language for translation, and (2) cultural norms for abbreviation, punctuation, etc. ) ;
System .
out .
println ( "output: " + output
) ;
// NOTE: This IdeOne.com site’s JVM overrides any specified `Locale` with `Locale.US`.
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgppbXBvcnQgamF2YS50aW1lLio7CmltcG9ydCBqYXZhLnRpbWUudGVtcG9yYWwuKjsKaW1wb3J0IGphdmEudGltZS5mb3JtYXQuKjsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgpTdHJpbmcgb3V0cHV0ID0gCkxvY2FsRGF0ZS5wYXJzZSggICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gR2VuZXJhdGUgYExvY2FsRGF0ZWAgb2JqZWN0IGZyb20gU3RyaW5nIGlucHV0LgogICAgICAgICAgICAgIjIzLzIvMjAxMCIgLAogICAgICAgICAgICAgRGF0ZVRpbWVGb3JtYXR0ZXIub2ZQYXR0ZXJuKCAiZC9NL3V1dXUiICkgCiAgICAgICAgICkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgLmdldERheU9mV2VlaygpICAgICAgICAgICAgICAgICAgICAgICAvLyBHZXQgYERheU9mV2Vla2AgZW51bSBvYmplY3QuCiAgICAgICAgIC5nZXREaXNwbGF5TmFtZSggICAgICAgICAgICAgICAgICAgICAgLy8gTG9jYWxpemUuIEdlbmVyYXRlIGEgU3RyaW5nIHRvIHJlcHJlc2VudCB0aGlzIGRheS1vZi13ZWVrLgogICAgICAgICAgICAgVGV4dFN0eWxlLlNIT1JUX1NUQU5EQUxPTkUgLCAgICAgIC8vIEhvdyBsb25nIG9yIGFiYnJldmlhdGVkLiBTb21lIGxhbmd1YWdlcyBoYXZlIGFuIGFsdGVybmF0ZSBzcGVsbGluZyBmb3IgInN0YW5kYWxvbmUiIHVzZSAobm90IHNvIGluIEVuZ2xpc2gpLgogICAgICAgICAgICAgTG9jYWxlLlVTICAgICAgICAgICAgICAgICAgICAgICAgIC8vIE9yIExvY2FsZS5DQU5BREFfRlJFTkNIIGFuZCBzdWNoLiBTcGVjaWZ5IGEgYExvY2FsZWAgdG8gZGV0ZXJtaW5lICgxKSBodW1hbiBsYW5ndWFnZSBmb3IgdHJhbnNsYXRpb24sIGFuZCAoMikgY3VsdHVyYWwgbm9ybXMgZm9yIGFiYnJldmlhdGlvbiwgcHVuY3R1YXRpb24sIGV0Yy4KICAgICAgICAgKSAgOwogICAgICAgICAKU3lzdGVtLm91dC5wcmludGxuKCAib3V0cHV0OiAiICsgb3V0cHV0ICkgOwoKLy8gTk9URTogVGhpcyBJZGVPbmUuY29tIHNpdGXigJlzIEpWTSBvdmVycmlkZXMgYW55IHNwZWNpZmllZCBgTG9jYWxlYCB3aXRoIGBMb2NhbGUuVVNgLgogICAgICAgICAKCX0KfQ==