def __init__(self, value: AutoMapperNumberInputType) -> None:
    '\n        Converts the value to a timestamp type in Spark\n\n\n        :param value: value\n        :param formats: (Optional) formats to use for trying to parse the value otherwise uses Spark defaults\n        '
    super().__init__()
    self.value: AutoMapperDataTypeBase = (value if isinstance(value, AutoMapperDataTypeBase) else AutoMapperValueParser.parse_value(value))
Converts the value to a timestamp type in Spark


:param value: value
:param formats: (Optional) formats to use for trying to parse the value otherwise uses Spark defaults
def __init__(self, value: AutoMapperNumberInputType) -> None:
    '\n        Converts the value to a timestamp type in Spark\n\n\n        :param value: value\n        :param formats: (Optional) formats to use for trying to parse the value otherwise uses Spark defaults\n        '
    super().__init__()
    self.value: AutoMapperDataTypeBase = (value if isinstance(value, AutoMapperDataTypeBase) else AutoMapperValueParser.parse_value(value))