def get_first_of_week(self):
if self.first_of_week is None:<EOL><INDENT>raise ImproperlyConfigured("<STR_LIT>" % self.__class__.__name__)<EOL><DEDENT>if self.first_of_week not in range(<NUM_LIT:7>):<EOL><INDENT>raise ImproperlyConfigured("<STR_LIT>" % self.__class__.__name__)<EOL><DEDENT>return self.first_of_week<EOL>
Returns an integer representing the first day of the week.

0 represents Monday, 6 represents Sunday.