public static DayOfWeek firstDayOfWeekInMonth ( int year , int month ) { int result = fixedFromGregorian ( year , month , 1 ) % 7 ; if ( result < 0 ) { result += 7 ; } return DAYS_OF_WEEK [ result ] ; }
Gets the day of the week of the first day in the given month .