// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.util.*;
import java.text.*;

public class Day {
   public static void main(String[] args) {
      Calendar c = new GregorianCalendar();
      DateFormat df = new SimpleDateFormat("EEEEEEEE");
      System.out.println(df.format(c.getTime()));
      DateFormat dfge = new SimpleDateFormat("EEEEEEEE", Locale.GERMAN);
      System.out.println(dfge.format(c.getTime()));
      DateFormat dfda = new SimpleDateFormat("EEEEEEEE", new Locale("da", "dk"));
      System.out.println(dfda.format(c.getTime()));
   }
}
