def _GetNumberOfDaysInCentury(self, year):
if year < <NUM_LIT:0>:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>year, _ = divmod(year, <NUM_LIT:100>)<EOL>if self._IsLeapYear(year):<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>return <NUM_LIT><EOL>
Retrieves the number of days in a century.

        Args:
          year (int): year in the century e.g. 1970.

        Returns:
          int: number of (remaining) days in the century.

        Raises:
          ValueError: if the year value is out of bounds.