Use the method getDayOfWeek(). Refund will be as follows. To get only weekly days .. you just need to check if less or less than 5.
public static final int MONDAY = 1;
public static final int TUESDAY = 2;
public static final int WEDNESDAY = 3;
public static final int THURSDAY = 4;
public static final int FRIDAY = 5;
public static final int SATURDAY = 6;
public static final int SUNDAY = 7;
source
share