Java Week Day getWeekDayCN()

Here you can find the source of getWeekDayCN()

Description

get Week Day CN

License

Apache License

Declaration

public static String getWeekDayCN() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.text.SimpleDateFormat;

import java.util.Date;

public class Main {
    public final static SimpleDateFormat sdf = new SimpleDateFormat();

    public static String getWeekDayCN() {
        sdf.applyPattern("EEEE");
        return sdf.format(new Date());
    }//w w w .  j  av  a 2 s . c om
}

Related

  1. getWeekDay(String date)
  2. getWeekday(String date)
  3. getWeekDay(String dateString, int weekDay)
  4. getWeekDay(String str)
  5. getWeekDayByDate(Date date)
  6. getWeekdayForInt(int value)
  7. getWeekdayName(Date date)
  8. getWeekdayNames()
  9. getWeekdayNames(Locale locale)