def set_majorversion(self, value):
        self.assertWriteMode()
        self.writer.set_header_property("version_major", value)
        return
If the field template is a :class:`DateField` or a :class:`DateTimeField`, this will convert the default return value to a datetime instance.
dataset/ETHPy150Open grantbrown/laspy/laspy/header.py/HeaderManager.set_majorversion--crossover with--dataset/ETHPy150Open ithinksw/philo/philo/models/fields/entities.py/JSONAttribute.value_from_object