'Constructs an :class:`Arrow <arrow.arrow.Arrow>` object from a timestamp.
:param timestamp: an ``int`` or ``float`` timestamp, or a ``str`` that converts to either.
:param tzinfo: (optional) a ``tzinfo`` object.  Defaults to local time.'

@classmethod
def fromtimestamp(cls, timestamp, tzinfo=None):

    tzinfo = (tzinfo or dateutil_tz.tzlocal())
    timestamp = cls._get_timestamp_from_input(timestamp)
    dt = datetime.fromtimestamp(timestamp, tzinfo)
    return cls(dt.year, dt.month, dt.day, dt.hour, dt.minute, dt.second, dt.microsecond, tzinfo)
