return (period.getYears() * 12 + period.getMonths()) * 4 + period.getWeeks();
return (period.getYears() * 12 + period.getMonths()) * 4 + period.getWeeks() + (Double.valueOf(StrictMath.ceil((period.getDays() / 7.0))).intValue());
    public int calculateCurrentWeekOffset() {        final DateMidnight beginningOfLessonPeriod = new DateMidnight(getBegginingOfLessonPeriod());        final DateMidnight firstMonday = beginningOfLessonPeriod.withField(                DateTimeFieldType.dayOfWeek(), 1);        final DateMidnight thisMonday = new DateMidnight().withField(DateTimeFieldType.dayOfWeek(), 1);        final Period period = new Period(firstMonday, thisMonday);        return (period.getYears() * 12 + period.getMonths()) * 4 + period.getWeeks();    }