code: public static WeekDay getWeekDay(final Calendar cal) {
          return new WeekDay(getDay(cal.get(Calendar.DAY_OF_WEEK)), 0);
      }
docs: Returns a weekday representation of the specified calendar.
  @param cal a calendar (java.util)
  @return a weekday instance representing the specified calendar