def hottestmonth(self, value=None):
        """Corresponds to IDD Field `hottestmonth`

        Args:
            value (int): value for IDD Field `hottestmonth`
                value >= 1
                value <= 12
                if `value` is None it will not be checked against the
                specification and is assumed to be a missing value

        Raises:
            ValueError: if `value` is not a valid value

        """
        if value is not None:
            try:
                value = int(value)
            except ValueError:
                raise ValueError('value {} need to be of type int '
                                 'for field `hottestmonth`'.format(value))
            if value < 1:
                raise ValueError('value need to be greater or equal 1 '
                                 'for field `hottestmonth`')
            if value > 12:
                raise ValueError('value need to be smaller 12 '
                                 'for field `hottestmonth`')

        self._hottestmonth = value
def hottestmonth ( self , value = None ) : if value is not None : try : value = int ( value ) except ValueError : raise ValueError ( 'value {} need to be of type int ' 'for field `hottestmonth`' . format ( value ) ) if value < 1 : raise ValueError ( 'value need to be greater or equal 1 ' 'for field `hottestmonth`' ) if value > 12 : raise ValueError ( 'value need to be smaller 12 ' 'for field `hottestmonth`' ) self . _hottestmonth = value
Corresponds to IDD Field `hottestmonth`

        Args:
            value (int): value for IDD Field `hottestmonth`
                value >= 1
                value <= 12
                if `value` is None it will not be checked against the
                specification and is assumed to be a missing value

        Raises:
            ValueError: if `value` is not a valid value