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