(cls, t: float, tz: datetime.tzinfo | None = None)
| 1251 | |
| 1252 | @classmethod |
| 1253 | def fromtimestamp(cls, t: float, tz: datetime.tzinfo | None = None) -> Self: |
| 1254 | tzinfo = pendulum._safe_timezone(tz) |
| 1255 | |
| 1256 | return cls.instance(datetime.datetime.fromtimestamp(t, tz=tzinfo), tz=tzinfo) |
| 1257 | |
| 1258 | @classmethod |
| 1259 | def utcfromtimestamp(cls, t: float) -> Self: |