src/edu/kit/informatik/calendar_sample/Date.java
/**
     * Returns the index of the day of the week of this date.
     *
     * @return the day of the week
     * 
     * @see    DayOfWeek#ofIndex(int)
     */
Returns the index of the day of the week of this date.
@return the day of the week


Returns the index of the day of the week of this date . @return the day of the week
private int dayOfWeek() {
        final int modDays = DateUtil.mod(totalDays(), 7);
        return modDays <= 2 ? modDays + 5 : modDays - 2; 
    }
private int dayOfWeek ( ) { final int modDays = DateUtil . mod ( totalDays ( ) , 7 ) ; return modDays <= 2 ? modDays + 5 : modDays - 2 ; }
Returns the index of the day of the week of this date.
Returns the index of the day of the week of this date .
//// // 0000/01/01==SATURDAY==D1==6