46 """Initialize a Timestamp object.
49 Number of seconds since the UNIX epoch (00:00:00 UTC Jan 1 1970, minus leap seconds).
52 :param int nanoseconds:
53 Number of nanoseconds to add to `seconds` to get fractional time.
54 Maximum is 999_999_999. Default is 0.
56 Note: Negative times (before the UNIX epoch) are represented as negative seconds + positive ns.
59 raise TypeError(
"seconds must be an integer")
61 raise TypeError(
"nanoseconds must be an integer")
62 if not (0 <= nanoseconds < 10**9):
64 "nanoseconds must be a non-negative integer less than 999999999."