The name of the week day differs per locale. So you have to use a DateFormat
with the proper locale. For example:
SimpleDateFormat format = new SimpleDateFormat("EEEE");
System.out.println(format.format(date));
The Date
object can be obtained in multiple ways, including the deprecated Date(..)
constructor, the Calendar.set(..)
methods or joda-time DateTime
. (for the latter you can use joda-time's own DateTimeFormat
)